I get this error a lot "Connection reset by peer"

KamalChhirang
KamalChhirang edited June 27 in General
Hello,

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
  • Sravanthi_bh
    You may check out the similar discussion here.
  • KamalChhirang
    I'm using WebSockets, but in an entirely separate program.

    This discussion doesn't seem helpful in my case, @Sravanthi_bh
  • Sravanthi_bh
    Which API call has thrown this error? Can you please private message the complete error stack trace?
  • sujith
    Websockets are long standing connections which may disconnect because of network, Cloudflare, our data center. Have you enabled the reconnection?
  • KamalChhirang
    @sujith I did not get the error while using websockets. I got the error while fetching quote using http request.
  • sujith
    Is this hosted somewhere or this is a local setup? Can you switch to some other network and try?
Sign In or Register to comment.