Hi, i am getting below exeption from last 2/3 days. same app it used to work fine before. strange is when i start the its starts fine and started getting tokens for some time (may be an hour) and later it will fails with below exception. just to clarify i have already enabled reconnect and i am recently migrated to kite3 apis .
com.neovisionaries.ws.client.WebSocketException: Failed to connect to 'ws.kite.trade:443': ws.kite.trade at com.neovisionaries.ws.client.SocketConnector.doConnect(SocketConnector.java:136) at com.neovisionaries.ws.client.SocketConnector.connect(SocketConnector.java:83) at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2152) at com.zerodhatech.ticker.KiteTicker.connect(KiteTicker.java:195) at com.zerodhatech.ticker.KiteTicker.reconnect(KiteTicker.java:625) at com.zerodhatech.ticker.KiteTicker.access$2(KiteTicker.java:613) at com.zerodhatech.ticker.KiteTicker$2.run(KiteTicker.java:126) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) Caused by: java.net.UnknownHostException: ws.kite.trade at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668) at com.neovisionaries.ws.client.SocketConnector.doConnect(SocketConnector.java:120)
@swamy_12, The error java.net.UnknownHostException usually happens when the system can't connect to an endpoint also. Can you try on some other network? Please add more details about your current internet setup as well.
The error java.net.UnknownHostException usually happens when the system can't connect to an endpoint also.
Can you try on some other network?
Please add more details about your current internet setup as well.