IBM Support

IT47243: RACE CONDITION ON TIMEOUT OF AN ADMIN REQUEST CAN CAUSE INTEGRATION NODE TO ABEND ON SHUTDOWN

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

  • If there is an in flight admin request when an Integration Node
    shuts down and this times out then there is a race condition
    which can cause an unhandled javascript exception with the
    following stack:
    
    Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are
    sent to the client
    at new NodeError (node:internal/errors:405:5)
    at ServerResponse.setHeader (node:_http_outgoing:648:11)
    at ServerResponse.header (/opt/IBM/ace-12.0.12.6/server/nodejs_
    all/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/opt/IBM/ace-12.0.12.6/server/nodejs_al
    l/node_modules/express/lib/response.js:174:12)
    at l.restartServerHandler (file:///opt/IBM/ace-12.0.12.6/server
    /nodejs_all/node_modules/@ibm-app-connect/ace-admin-server/src/
    lib/integrationNodeAdminApi.js:1:17865)
    at runNextTicks (node:internal/process/task_queues:60:5) {
    code: 'ERR_HTTP_HEADERS_SENT'
    }
    
    This is similar to the error reported in APAR IT46354 however
    this APAR was incomplete and there were other code branches
    affected by the same race condition.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users of App Connect Enterprise version 12 or higher
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    If there is an in flight admin request when an Integration Node
    shuts down and this times out then there is a race condition
    which can cause an unhandled javascript exception with the
    following stack:
    
    Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are
    sent to the client
    at new NodeError (node:internal/errors:405:5)
    at ServerResponse.setHeader (node:_http_outgoing:648:11)
    at ServerResponse.header
    (/opt/IBM/ace-12.0.12.6/server/nodejs_all/node_modules/express/l
    ib/response.js:794:10)
    at ServerResponse.send
    (/opt/IBM/ace-12.0.12.6/server/nodejs_all/node_modules/express/l
    ib/response.js:174:12)
    at l.restartServerHandler
    (file:///opt/IBM/ace-12.0.12.6/server/nodejs_all/node_modules/@i
    bm-app-connect/ace-admin-server/src/lib/integrationNodeAdminApi.
    js:1:17865)
    at runNextTicks (node:internal/process/task_queues:60:5) {
    code: 'ERR_HTTP_HEADERS_SENT'
    }
    
    This is similar to the error reported in APAR IT46354 however
    this APAR was incomplete and there were other code branches
    affected by the same race condition.
    

Problem conclusion

  • The ace-admin-server component no longer tries to send a
    response if it as already sent a timeout response.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v12.0      12.0.12.9
    v13.0      13.0.2.0
    
    The latest available maintenance can be obtained from:
    http://www-01.ibm.com/support/docview.wss?rs=849&uid=swg27006041
    
    If the maintenance level is not yet available,information on
    its planned availability can be found on:
    http://www-1.ibm.com/support/docview.wss?rs=849&uid=swg27006308
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT47243

  • Reported component name

    APP CONNECT ENT

  • Reported component ID

    5724J0560

  • Reported release

    C00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-11-13

  • Closed date

    2024-11-18

  • Last modified date

    2024-11-18

  • 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

    APP CONNECT ENT

  • Fixed component ID

    5724J0560

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSDR5J","label":"IBM App Connect Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"C00","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}}]

Document Information

Modified date:
18 November 2024