IBM Support

PQ82903: A socket application is getting ECONNRESET (errno 54) to a receive socket call.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as unreproducible.

Error description

  • The application that is receiving the data received the data
    then did a close.  This caused an ack and a fin to be sent to
    the end of the connection that sent the data.  The fin was
    acked.  The application that sent the data did a shutdown for
    write.  This caused a fin to be sent to the end of the
    connection that is receiving the data.  This fin was acked.
    The connection is now in a closed state.  The application that
    sent the data now did a receive.  Tcpip returned  the receive
    with an errno ECONNRESET.  The connection was never reset.
    VERIFICATION STEPS:
     Get a ctrace with options socket, pfs, engine, tcp.
     Look for this in a pfs trace entry
       RetValue Errno ErrnoJr ScbFlags
       C5D9D9D5  FFFFFFFF  00000461  76650446
     Look at the state of the connection.  It will be KLOSED 01.
     The previous socket call will be a shutdown for write.
    KEYWORDS:
     Module: EZBTCFRD  ErrnoJr: 1094 JRSOCKETCONDROPPED
     ECONNRESET 1121
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of the IBM Communications Server   *
    *                 for OS/390 Release 10 IP and z/OS Version 1  *
    *                 Release 2 IP                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: A socket application is getting         *
    *                      ECONNRESET (errno 54) to a receive call *
    *                      after shutdown for write                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The reported problem begins with the remote side sending
    the stack a FIN to close its side of the connection. The
    local socket application gets ECONNRESET (errno 54) to a
    receive call after it successfully issues a shutdown for write
    only on the socket. In this case the application should get
    a successful receive call because the remote side closed
    its connection with a FIN instead of a RST.
    +-------------------------------------------------------------+
    + Please check our Communications Server for OS/390 homepages +
    + for common networking tips and fixes.  The URL for these    +
    + homepages can be found in Informational APAR II11334.       +
    +-------------------------------------------------------------+
    

Problem conclusion

Temporary fix

Comments

  • Code was amended in the TCP/IP stack to allow a receive call
    to complete successfully when the reported problem occurs.
    
    Additional Keywords: PTR MV24190 PTR MV28108 APAR PQ78674
    

APAR Information

  • APAR number

    PQ82903

  • Reported component name

    TCP/IP V3 MVS

  • Reported component ID

    5655HAL00

  • Reported release

    50A

  • Status

    CLOSED UR3

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2004-01-07

  • Closed date

    2004-01-30

  • Last modified date

    2004-09-01

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    UQ84644 UQ84645

Modules/Macros

  • EZBTCFRD EZBTCFSH EZBTCICT EZBTCPTM EZBTCSTR
    EZBTCUTL TOTCPDS
    

Fix information

  • Fixed component name

    TCP/IP V3 MVS

  • Fixed component ID

    5655HAL00

Applicable component levels

  • R120 PSY UQ84644

       UP04/02/17 P F402

  • R50A PSY UQ84645

       UP04/02/17 P F402

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"50A","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSCY4DZ","label":"DO NOT USE"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"50A","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
01 September 2004