Websocket connection failed

Hi Team,

I asked this question on behalf of one of our customers in Hong Kong, who is testing RTMDS. They tried to connect to

ws://159.220.108.207:8101/WebSocket

ws://159.220.108.207:8101/hEDD

but they encountered an error during handshake: 'connection was forcibly closed by the remote host'.

They are now asking whether RTMDS server has restrictions on client's IPs?

And could you also advise how to resolve this?

Thanks,

Leo

Tagged:

Best Answer

  • umer.nalla
    Answer ✓

    Hi @leo.wu01

    As my colleague pointed out, port 8101 is not the normal Websocket Port - certainly on RTMDS I would expect it to be configured as 15000.

    Can you confirm if they are seeing the above error using a working Websocket API example such as websocket-api/market_price.py at master · Refinitiv/websocket-api (github.com) - with the correct port 15000?

    If so, this question is best directed to the RTMDS team - as they would know best about restrictions etc or why the connection is forcibly closed.


Answers