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?

websocketserrorrkd-apirkdupgrading
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.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 512.0 KiB each and 1.0 MiB total.

Upvote
16.8k 31 9 12

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 512.0 KiB each and 1.0 MiB total.