'Connection aborted.', ConnectionResetError(10054)

What does this message mean: ('Connection aborted.', ConnectionResetError(10054, 'An
existing connection was forcibly closed by the remote host', None, 10054,
None)).

It's with regards to DSS REST API.

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @lukasz.ossowski

    10054 should be a Windows socket error code.

    WSAECONNRESET
    10054
    Connection reset by peer.
    An existing connection was forcibly closed by the remote host. This normally results if the peer application on the remote host is suddenly stopped, the host is rebooted, the host or remote network interface is disabled, or the remote host uses a hard close (see setsockopt for more information on the SO_LINGER option on the remote socket). This error may also result if a connection was broken due to keep-alive activity detecting a failure while one or more operations are in progress. Operations that were in progress fail with WSAENETRESET. Subsequent operations fail with WSAECONNRESET.

    It is from the Windows Sockets Error Codes. It seems that the server forcibly closed the connection.

Answers