IBM Support

AMQ9206 or AMQ9208 ECONNRESET from TCP/IP, Linux 104 (x68), Windows 10054 (x2746), on an IBM MQ client channel connection to a local server

Troubleshooting


Problem

You are receiving an error ECONNRESET intermittently from TCP/IP on an IBM MQ server-connection channel to a local queue manager.
.
Note:
TCP/IP error ECONNRESET -- Connection reset by peer. This occurs when an established connection is shut down for some reason by the remote computer. 

 

Symptom

The most common scenario shows the MQ error:

AMQ9208I: Error on receive from host <host>.
EXPLANATION: An error occurred receiving data from <host> over TCP/IP. This may be due to a communications failure.
ACTION: The return code from the TCP/IP recv() call was <xxxxx>.
Record these values and tell the systems administrator.


Other scenarios show error:
AMQ9209I: Connection to host <host> for channel <channel> closed.

The following table shows the return codes for various operating systems for the error ECONNRESET Connection Reset by Peer:

ECONNRESET return codes
Operating system Decimal code Hexadecimal code
AIX 73 x49
IBM i (iSeries) 3426 xD62
Linux 104 x68
Solaris 131 x83
Windows 10054 x2746
z/OS 1121 x461

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"ARM Category":[{"code":"a8m0z00000008N4AAI","label":"Connectivity"}],"ARM Case Number":"TS012531502","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"},{"Product":{"code":"SSKM59","label":"IBM MQ for HPE NonStop"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}},{"Product":{"code":"SS5K6E","label":"IBM MQ Appliance"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
28 April 2025

UID

swg21106218