Hi, I downloaded the latest version of Kite Connect library and was running the provided sample project when I got the following error:
This error comes in the WebSockets.cs class in the Close function. I had not modified the code and am running it as it is. Though rest of the Kite functions works well even after this error.
Thank you for reporting. Can you recall the events just before this happened? Was the ticker connected? Was it ticking? Did you experience any network disconnection before this?
I am getting this error after token is initialized and accesstoken is set with the new request token. It is happening when ever a request is being made to the Kite e.g this time I get the error while downloading instruments.
I think you are calling Close function of ticker multiple times or calling it without initializing the connection. Please check if this is the scenario.
And it seems you running the sample program as it is. It is given as an example library usage. Please try a simple program like one in the read me file.
Thank you for reporting. Can you recall the events just before this happened? Was the ticker connected? Was it ticking? Did you experience any network disconnection before this?
I think you are calling Close function of ticker multiple times or calling it without initializing the connection. Please check if this is the scenario.
And it seems you running the sample program as it is. It is given as an example library usage. Please try a simple program like one in the read me file.