Remote end closed connection without response (uncaught!)

mdalvi
mdalvi edited February 2019 in Python client
Yesterday I received an error log as follows,
15:23:31,166 __main__ CRITICAL ConnectionError(ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')))

My code for the error handling can be found here

Clearly, the error was not caught by kiteconnect.exceptions import NetworkException or by requests.exceptions import ConnectionError

I am using,
requests v2.21.0
kiteconnect v3.7.6

Please assist on how to handle this error?
  • rakeshr
    @mdalvi
    __main__ CRITICAL ConnectionError(ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')))
    It's timeout error, in which API request you got above error.Also, can you log complete error traceback and paste the same here.
    Complete traceback will include exception type , something like below:
    kiteconnect.exceptions.NetworkException: Gateway is busy
  • mdalvi
    mdalvi edited March 2019
    @rakeshr
    I do not have the trace right now, nor the error has occurred after the latest incident on 26th Feb.

    I will post it as soon as I have one soon...
Sign In or Register to comment.