IBM Support

AMQ9206 or AMQ9208 10054 (X'2746') econnreset from TCP/IP on a WMQ client channel connection to a local server

Technote (troubleshooting)


Problem(Abstract)

You are receiving an error 10054 (X'2746') econnreset intermittently from TCP/IP on a WebSphere MQ (WMQ) client channel connection to a local server.

Symptom

AMQ9208: 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 10054 (X'2746'). Record these values and tell the systems administrator.


For WMQ 7.1.0, the same scenario results in:
AMQ9209: Connection to host <host> for channel <channel> closed.

The return codes for various operating systems for ECONNRESET Connection reset by peer:


ECONNRESET return codes
Operating system Decimal code Hexadecimal code
AIX 73 x49
HP-UX 232 xE8
iSeries 3426 xD62
Linux 104 x68
OpenVMS 54 x36
Solaris 131 x83
Windows 10054 x2746
z/OS 1121 x461

Cause

Any client connection, local or remote, will fail with econnreset if the queue manager is ended while the client has an active CLNTCONN channel connected to the queue manager.

Resolving the problem

This is working as designed. WebSphere MQ can not prevent users from ending their queue manager.


If the application receives a reason code such as MQRC_CONNECTION_BROKEN (MQRC 2009), it can periodically attempt to reconnect again with MQCONN or MQCONNX.

WebSphere MQ 7.0.1 introduced a function called Automatic Client Reconnection that you can implement.

For other possible causes of ECONNRESET see technote 1237211.


Cross reference information
Segment Product Component Platform Version Edition
Business Integration IBM MQ

Product Alias/Synonym

WMQ WebSphere MQ IBMMQ

Document information

More support for: WebSphere MQ
Channels LU62 / TCP

Software version: 5.3, 6.0, 7.0, 7.0.1, 7.1, 7.5, 8.0, 9.0

Operating system(s): AIX, HP-UX, IBM i, Linux, OpenVMS, Solaris, Windows, z/OS

Reference #: 1106218

Modified date: 07 October 2016


Translate this page: