Am using Java KIte Connect API. Version : "kiteconnect - 1.4.4" while connecting to Ticker am getting Connection Timed out. This was working till yesterday.
StackTrace:
java.net.ConnectException: Connection timed out: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673) at sun.security.ssl.SSLSocketImpl.(SSLSocketImpl.java:432) at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:88) at com.neovisionaries.ws.client.WebSocketFactory.createDirectRawSocket(WebSocketFactory.java:449) at com.neovisionaries.ws.client.WebSocketFactory.createRawSocket(WebSocketFactory.java:380) at com.neovisionaries.ws.client.WebSocketFactory.createSocket(WebSocketFactory.java:312) at com.neovisionaries.ws.client.WebSocketFactory.createSocket(WebSocketFactory.java:292) at com.neovisionaries.ws.client.WebSocketFactory.createSocket(WebSocketFactory.java:182) at com.rainmatter.ticker.KiteTicker.connect(KiteTicker.java:158) ......
Thanks Sujith for the swift response. From today am not at all connected, though i can connect to KiteConnect and get the instruments etc.. only problem is when connecting to KiteTicker.
@sujith , Please let me know if you need more details to troubleshoot. on the side note, am also trying to understand, how many Tokens can Kite Connect handle at the same time ?
You are not able to connect at all or is it intermittent?
on the side note, am also trying to understand, how many Tokens can Kite Connect handle at the same time ?
WIth one connection, you can subscribe ticks for up to 200 instruments.
Can you try with some other network?