[issue27682] Windows Error 10053, ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine

Kristján Valur Jónsson report at bugs.python.org
Tue Aug 9 05:45:18 EDT 2016


Kristján Valur Jónsson added the comment:

This error is a protocol error.  It is the analog to WSAECONNRESET.
ECONNRESET occurs when the local host receives a RST packet from the peer, usually because the peer closed the connection.
WSAECONNABORT occurs when the local tcp layer decides that the connection is dead, (it may have sent RST to the peer itself).  This can occur for various reasons.  Often because the client has cone away, closed the connection or other things.  It is best to treat WSACONNRESET as WSACONNABORT, i.e., there was a TCP protocol error and the transaction (http request) probably wasn't completed completely by both parties.  See also here:
https://www.chilkatsoft.com/p/p_299.asp

In your case, I would expect a problem with the client uploading the file.  It probably closes the connection after sending the data without waiting for the http response.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27682>
_______________________________________


More information about the Python-bugs-list mailing list