IBM Support

IT37035: API CONNECT GATEWAY SERVICE MIGHT RESTART UNEXPECTEDLY WHEN CLI 'SHOW CONNECTIONS' IS RUN

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

  • The API Connect Gateway Service might restart unexpectedly, with
    an exception and stack trace similar to the below written to the
    DataPower default log in the API Connect domain:
    
    Tue May 25 2021 14:17:14 [0x88e000d0][apic-gw-service][error]
    apic-gw-service(default): tid(2386): API Connect Gateway Service
    caught unhandled exception: TypeError [ERR_INVALID_ARG_TYPE]:
    The "chunk" argument must be of type string or an instance of
    Buffer or Uint8Array. Received undefined
    Tue May 25 2021 14:17:14 [0x88e00127][apic-gw-service][error]
    apic-gw-service(default): tid(2386): Stack trace for previous
    error:
       at Socket.Writable.write
    (internal/streams/writable.js:285:13)
       at kGetConnectedPorts
    (/root/gateway-director/utils/sidecar.js:270:10)
       at Socket.<anonymous>
    (/root/gateway-director/utils/sidecar.js:358:19)
       at Socket.emit (events.js:315:20)
       at addChunk (internal/streams/readable.js:309:12)
       at readableAddChunk (internal/streams/readable.js:284:9)
       at Socket.Readable.push (internal/streams/readable.js:223:10)
    
       at Pipe.onStreamRead (internal/stream_base_commons.js:188:23)
    
    
    It is possible that the exception and API Connect Gateway
    Service restart could occur repeatedly under certain conditions.
    

Local fix

  • Restart DataPower
    

Problem summary

  • Sometimes when the user executes the CLI command "show
    connections" in Diagnostics mode,  the API Connect Gateway
    Service gets exception and is restarted unexpectedly.
    

Problem conclusion

Temporary fix

  • Restart Datapower.
    

Comments

APAR Information

  • APAR number

    IT37035

  • Reported component name

    DATAPOWER

  • Reported component ID

    DP1234567

  • Reported release

    A0X

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-05-26

  • Closed date

    2021-08-04

  • Last modified date

    2021-08-04

  • 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

    DATAPOWER

  • Fixed component ID

    DP1234567

Applicable component levels

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateways"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A0X"}]

Document Information

Modified date:
05 August 2021