[Qt/C++] Unable to connect Websocket Endpoint V3

Pavan
Hi,
When i am trying to via websocket connect its getting disconnected immediately. I am tying to connect to end point "wss://ws.kite.trade?api_key=ABC&access_token=XYZ" as mentioned in document. api_key & access_tokens are right as i am able fetch funds/margin & historical data.
I am using Qt/C++ framework for app developement. Below error i am getting in my debug Log:
ERROR CODE : QAbstractSocket::RemoteHostClosedError
ERROR STRING : Invalid statusline in response:
Unable to understand this weird error..
PLs help on this
Tagged:
Sign In or Register to comment.