IBM Support

IT26790: .NET client incorrectly reports MQRC_Q_MGR_NOT_AVAILABLE (2059) if an SSL/TLS error is encountered when connecting to a qmgr

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • While testing TLS with the .NET SimplePut sample program,
    whatever the problem with setup of TLS, the application  returns
    error 2059.
    
    While in case of  amqsputc sample program is used to test a
    similar setup
    and if there is an error during TLS negotiation, the error 2393
    (MQRC_SSL_INITIALIZATION_ERROR) is returned.
    

Local fix

  • When diagnosing an MQRC_Q_MGR_NOT_AVAILABLE (2059) error
    reported by the .NET client, ensure that the SSL/TLS
    configuration is correct, in addition to the usual
    troubleshooting for MQRC 2059.
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All the Users of MQ .NET Client connecting to QM using a SSL/TLS
    configured channel.
    
    
    Platforms affected:
    Windows
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    A logic error meant that .NET Client applications incorrectly
    returned MQRC_Q_MGR_NOT_AVAILABLE error for SSL/TLS related
    issues instead of MQRC_SSL_INITIALIZATION_ERROR.
    

Problem conclusion

  • The MQ .NET client logic has been modified so that the client
    will return MQRC_SSL_INITIALIZATION_ERROR if there are any
    SSL/TLS related errors when connecting to a queue manager.
    Additional information may also be available in the queue
    manager error logs.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v8.0       8.0.0.12
    v9.0 LTS   9.0.0.6
    v9.1 CD    9.1.2
    v9.1 LTS   9.1.0.2
    
    The latest available maintenance can be obtained from
    'WebSphere MQ Recommended Fixes'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006037
    
    If the maintenance level is not yet available information on
    its planned availability can be found in 'WebSphere MQ
    Planned Maintenance Release Dates'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006309
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT26790

  • Reported component name

    IBM MQ BASE MP

  • Reported component ID

    5724H7251

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-10-29

  • Closed date

    2019-01-03

  • Last modified date

    2019-01-03

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

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

Fix information

  • Fixed component name

    IBM MQ BASE MP

  • Fixed component ID

    5724H7251

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.0.0","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
03 January 2019