It looks like you're new here. If you want to get involved, click one of these buttons!
Node JS client
.Net API client
.Net / VBA / Excel (3rd party)
Algorithms and Strategies
Mobile and Desktop apps
Market data (WebSockets)
In this Discussion
getting exception while connecting to websocket
I am trying to connect to websocket using java client.
TickerProvider object is getting initialized properly but when I call connect() method on tickerProvider object it gives me below error:
i am creating tickerProvider object as below:
tickerProvider = new KiteTicker(kiteConnect.getUserId(), kiteConnect.getAccessToken(), kiteConnect.getApiKey(), "wss://websocket.kite.trade/v3");
below is the error log:
com.neovisionaries.ws.client.OpeningHandshakeException: The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 400 Bad Request
The URL wss://websocket.kite.trade/v3 is a temporary endpoint. You need to use new endpoint. You just need to pull the latest version of javakiteconnect and use it.
Please wait for a day or two, we are making some final changes.
I have downloaded the kite3 java jar yesterday from
Do I need to re download the jar again to get correct endpoint? If not then could you please give correct end point here?
Is there any problem with above endpoint? which endpoint i should use till you make the final changes? This is blocking my program.
I was not facing this issue when i was using kite2 java client.
I upgraded to kite3 yesterday and since then not able to coonect websocket
Please help on this
Yes, we changed the binary file. You can get new binary file
This discussion has been closed.