It's unfortunate that you perceive my queries as a disguise to fix my code or request for coding support.
Believe me it isn't.
Btw the same code works with sharekhan as my code is broker generic.
My intention was to investigate constant …
Hi @sujith
Can you respond to my query above?
Even today I am seeing constant connection and disconnection happening across my accounts at random times.
I request you to atleast treat this as a case for investigation from your side as w…
Sure @sujith
Of course KiteConnnect is working well for hundreds of customers. I am one of them as well.
Since I am following all the steps recommended in the documentation, I am requesting you to take a look at the issue faced here.
…
Hi @sujith
I am calling "subscribe" inside the OnConnectedListener like in the code below.
I understand this is the same flow that is mentioned in the examples as well.
=====
My analysis on the code flow
=====
1/ Call m_tickerProvider.connect();
2…
Yes @sujith, I have added the same in the log below
"Error after onConnected is invoked with msg : ticker is not connected and code 504"
The piece of code having the try-catch block which printed that log msg is below
try{
…
Hi @sujith
Here is the stack trace having the message of the exception.
I see it says ticker is disconnected when we are trying to subscribe.
This is the real problem as to why the ticker is toggling so heavily between connected and …
I will print the msg attribute in my code and share it here again tomorrow.
But @sujith can you please clarify the second question
"Are you doing any other API call, in secondary thread?"
After I add the tick to a queue, another thread will read …
Hi @sujith
Thanks for responding!
And Yes, I have already taken care of not doing any work in the ticker thread.
My code snippet is below to show the approach
protected BlockingQueue m_tickQueue= new LinkedBlockingDeque();
m_tickerProvider.set…