What does Windows error code 1236 (ERROR_CONNECTION_ABORTED) mean?

 
Previous Next
ERROR_REQUEST_ABORTED ERROR_RETRY

ERROR_CONNECTION_ABORTED

What ERROR_CONNECTION_ABORTED means

ERROR_CONNECTION_ABORTED (1236) means the network connection was aborted by the local system. It does not by itself prove that the remote peer closed the connection, that an application forgot to close a stream, or that one particular protocol is at fault.

Evidence to capture

  • Record the socket or connection operation that first returned 1236, together with the local and remote endpoints.
  • Correlate the failure with local process shutdown, interface changes, cancellation, timeout handling, security software, and transport events.
  • Preserve the first native network error. A higher-level client may translate several different transport failures into a similar user-visible message.

How to act

Find the local component that terminated the connection and correct that lifecycle or transport condition before retrying. If the peer actually reset or closed the connection, diagnose that separately rather than treating every disconnect as ERROR_CONNECTION_ABORTED.

References


Looking for a different code? Search another status or error code.