I think you guys are not taking this seriously, i was good with old version but with new api below issues are not resolved:
failed: HTTPSConnectionPool(host='api.kite.trade', port=443): Max retries exceeded with url: /orders (Caused by SSLError(SSLError("bad handshake: SysCallError(104, 'ECONNRESET')",),))
and
Connection error: 1006 - connection was closed uncleanly (None)
Not sure why you guys always give a generic answer, you need to spend more time to analyse individual issue here.
@TUSH123 We tried multiple methods of reproducing above error, it came in case of,if i try to insert each WebSocket tick to Database and DB is blocked at particular instance or if program terminates WebSocket loop. Are any of these case with you?
Hi @TUSH123, This can happen when you are blocking the thread which is receiving the ticks. Basically, the idea is to not block the thread which is receiving the ticks. The right solution here would be to offload all your tasks to another thread and not do it on the thread which is listening to the ticks.
We will check this from our side and let you know.
We tried multiple methods of reproducing above error, it came in case of,if i try to insert each WebSocket tick to Database and DB is blocked at particular instance or if program terminates WebSocket loop.
Are any of these case with you?
This can happen when you are blocking the thread which is receiving the ticks. Basically, the idea is to not block the thread which is receiving the ticks.
The right solution here would be to offload all your tasks to another thread and not do it on the thread which is listening to the ticks.
Please dont close this