For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 1 1 1

Websocket with https site

I am using WebSocket for my application.

It is working fine when I run the server on IP address / HTTP URL

but now we set up our project on the HTTPS URL. Now WebSocket is not working.

What configurations I have to do (and in which file) to resolve this.

treprdp-apiwebsocketsrrto
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
Accepted
11.5k 16 7 10

Hello @bhargav.vaghasiya

The Elektron WebSocket API is based on the WebSocket standard specification. It supports both the standard WebSocket "ws" and WebSocket Secure "wss" protocols such as following:

  • basic connection: "ws://TREP:15000/WebSocket"
  • secure connection: "wss://your_TREP:443/WebSocket"
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
13k 32 12 18

Hi @bhargav.vaghasiya,

Which endpoint are you connecting to - local ADS or ERT Cloud? Which application/sample are you using to get data?

ADS do not support secure socket out of the box, and you will have to install additional network components in front of ADS to take care of securing the channel.

Please see these additional questions in this regard:

https://community.developers.refinitiv.com/questions/22125/we-need-to-use-the-secure-protocol-only-does-elekt.html

https://developers.refinitiv.com/article/quick-steps-set-encrypted-connection-ads

The ERT Cloud infrastructure however, only delivers data on the secure sockets i.e. wss protocol.

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