This website uses cookies to enhance site navigation, analyze site usage, and assist in our marketing efforts. By clicking “Accept All” you are providing your consent to our use of all cookies. Alternatively, please provide your choice by pressing “Customize Cookies”. For more information, please read our Privacy policy
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