I have recently purchased the paid subscription for KITE Connect and I am using the JAVA Client for KITE Connect from Rainmatter Tech.I am testing the API Calls from com.rainmatter.test.Test.java. I am running this client in my local machine using my local JVM.
I tried calling the web-sockets and I am able to make a successful connection but there are not bytes being returned, the size of the packet being returned is zero, I am trying with Tokens(12485 , 14006), mode is LTP. Can anyone please provide some inputs on this.
it used to work before.... has there been anything changed?
i am not getting any data at all
guys please help
@sujith @Kailash @vivek
Obviously I am sending correct token because on 4th or 5th manual try connection gets established. Something has definiitely changed at your end. Pls look into it asap.
Chart issue has nothing to do with websockets. We have fixed chart issue, we will re populate data soon.
Kite Ticker keeps sending heartbeat ticks. So it is fine if you are getting ticks with zero bytes.
Can you confirm, if you are still getting the exception that you posted on other thread?
If that exception exists then you will not be getting heartbeat ticks.
Agreed that Kite Ticker is sending ticks with zero bytes but how do I get the data, shouldn't the websocket's be sending data during market Hours ? I have tried calling the websockets with different Symbol tokens, for Example HINDALCO(3184897), MARUTI(2815745).
I am not facing the SSL Handshake issue anymore, I fixed it by replacing the following two JARS for my JRE :
Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 8 Downloaded from :
I am sorry but the Handshake Exception still keeps Occurring, I have to execute the above 2 Jars every time to fix that exception ? What could be the reason for that exception and is it because of this that I am getting zero bytes from websockets even during market hours ?
com.neovisionaries.ws.client.WebSocketException: Failed to send an opening handshake request to the server.
in case if you still have this issue, please check the below items
Also in the instrument List how can I find Futures Contracts for the current month, I am not able to see them in the NSE Instrument List.
Instruments file is updated everyday, instrument token might not change everyday but it might change overnight. So I would suggest you to download instruments everyday once and store that file.
For F&O contracts, you can fetch instruments by passing exchange as NFO.