We cannot see any problems with the connection at the moment. Can you try to connect using Telnet and let us know the outcome?
Best regards,
Panagiotis
Running telnet demo.ctraderapi.com 5036 gives
Trying 15.197.239.248...
Connected to demo.ctraderapi.com.
Escape character is '^]'.
But then further inputting GET /index.html gives no response at all, until Connection closed by foreign host. is printed.
I believe when my C++ code used to be able to connect back then, sending any HTTP request will get a HTTP response back, be it either an error ( the expected response in this test) or an websocket upgrade.
Doing telnet google.com 80 and then GET /index.html gives me the HTTP response and an html.
popular_jitters056
13 Nov 2023, 18:05 ( Updated at: 14 Nov 2023, 06:55 )
RE: Cannot connect to wss://live.ctraderapi.com:5036 or wss://demo.ctraderaip.com:5036
PanagiotisCharalampous said:
Running
telnet demo.ctraderapi.com 5036
givesBut then further inputting
GET /index.html
gives no response at all, untilConnection closed by foreign host.
is printed.I believe when my C++ code used to be able to connect back then, sending any HTTP request will get a HTTP response back, be it either an error ( the expected response in this test) or an websocket upgrade.
Doing
telnet google.com 80
and thenGET /index.html
gives me the HTTP response and an html.@popular_jitters056