In the past 26 days, I've encountered this error 112 times. I'm unsure why this issue is occurring or how to resolve it, as it seems to happen randomly. Could you please look into this and address it please? @Matti
ConnectionResetError: [Errno 104] Connection reset by peer
I talked to Sravanthi_bh, he told me to enable http debug logs. I will do that, and get back to you. So far I have not faced this error again, but it happens from time to time. And If it happens once in a day, it is more likely to happen again on that day.
@sujith@Sravanthi_bh Using pykiteconnect, I'm also facing random "Error: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))". I'm not using websockets.
It happened when historical_data() and order_history() were called at the exact same time from two different threads of the same app. But when this action was performed again, the ConnectionResetError 104 didn't come.
Can you try on an alternate network? Are you sure your firewall or anti virus is not blocking requests? It could be also because of the block from Cloudflare, it might be thinking you are doing DDOS, may be increase the time between the requests.
This discussion doesn't seem helpful in my case, @Sravanthi_bh
I talked to Sravanthi_bh, he told me to enable http debug logs. I will do that, and get back to you. So far I have not faced this error again, but it happens from time to time. And If it happens once in a day, it is more likely to happen again on that day.
Using pykiteconnect, I'm also facing random "Error: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))". I'm not using websockets.
It happened when historical_data() and order_history() were called at the exact same time from two different threads of the same app. But when this action was performed again, the ConnectionResetError 104 didn't come.
It could be also because of the block from Cloudflare, it might be thinking you are doing DDOS, may be increase the time between the requests.
Time between requests from one thread of an app is a random number of 1 to 60 seconds, which should be enough. The issue happened thrice today.
The issue is currently a non-blocker for me.