I am trying to run the CSharp example from the below github page :
Can you please help me from where to get the hostname, port, username, appId information?
Are you trying to connect to an internal RTDS server at your organisation? If so, your Market Data team can provide these details.
If you are trying to connect to our Real-Time Optimized service, then you should try this example instead websocket-api/Applications/Examples/RDP/CSharp at master · Refinitiv/websocket-api (github.com)
For Real-Time Optimised, you should have received a Welcome email containing a MachineID (which is the username), with a link to set a long password. The clientID can be set using the AppKey generator as described at QuickStart | Refinitiv Developers
If you do not have a MachineID, please discuss with your Market Data team or your Refinitiv account representative.
Hello @umer.nalla ,
I am running the below github sample code but I am getting below error when trying to connect to the internal RTDS.
8/19/2021 8:56:28 AM - Received Log Event (Level: Debug): A request to the server:
GET /WebSocket HTTP/1.1
8/19/2021 8:56:28 AM - Received Log Event (Level: Debug): A response to this request:
HTTP/1.1 400 Bad Request
Content-Type: text/html; charset=UTF-8
If I try to connect to the using WebSocket API Try it Now Documentation:
I am getting Error during WebSocket handshake: Unexpected response code: 503.
Any idea or suggestion on the above errors? Thanks.
The fact that you are getting errors with both the C# example and the TryIt Now document would suggest your RTDS connection details are wrong.
For one thing, the Websocket Port is normally on 15000 - but I can see you are using 14002 above.
Please try again with 15000 and if that does not work, check with your market data team they have definitely enabled the Websocket interface on the RTDS and which port they are using.