question

Upvotes
Accepted

Receiving Updade "101 Switching protocols" in WebSocket API

The flow is as follows

1) Open connection

2) Receives an Upgrade event with "101 Switching protocols" code and message

3) Receives a Message event with Login in successful

4) Receives a Close event


One day stopped working. How can I fix this?

websocketsrkd-apierrorrkdupgrading
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted

I just fixed it.

I was subscribing to too much instruments.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvote
11.5k 16 7 10

Hello @chapter.backend.ninetynine

I did a quick test with TRKD "wss://streaming.trkd.thomsonreuters.com/WebSocket/" WebSocket host and I can connect and consume data from it successfully.

Could you please try with the TRKD API catalog page? Please also give me the following information:

  • The WebSocket host that the application connect to.
  • How do you open a WebSocket connection?
  • Your JSON login request message
  • Can you replicate the issue on demand?
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea