API Connect

API Connect

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#API Connect
#Applicationintegration
#APIConnect
 View Only
Expand all | Collapse all

APIC 2018.x using API gateway socket timeout Excception

  • 1.  APIC 2018.x using API gateway socket timeout Excception

    Posted Tue August 31, 2021 01:10 AM

    Hi,

    We are running APIC 2018.x using API gateway.

    When registering IBM DataPower API gateway into IBM API Connect, we are getting socket timeout exception with the following

    “error when registering the gatewaway: ""Error in POST post:/api/orgs/:org/availability-zones/:availabilityzone/ gateway-services (gateway_service.js:create) - status : 500"

    GW logs also show this error:

    “20210707T053052.040Z [apiconnect][0x88e000de][apic-gw-service][error] apic-gw-service(default): tid(209): Unable to obtain access token…

    20210707T053052.041Z [apiconnect][0x88e000b3][apic-gw-service][error] apic-gw-service(default): tid(209): Unable to perform initial registration for API Management. Error: RequestError: Error: getaddrinfo ENOTFOUND”



    #APIConnect
    #Support
    #SupportMigration


  • 2.  RE: APIC 2018.x using API gateway socket timeout Excception
    Best Answer

    Posted Tue August 31, 2021 01:13 AM

    Error shown on the GW logs indicates its not able to resolve FQDN on the IP address listed.

    To resolve the issue do the following:

    1) exec into the gateway-service pod :

    kuebctl exec -it <gw-pod> -- bash, then

    2) run nslookup for the ipaddress. You will see an error

    with the resolution.

    DNS Resolution has to happen correctly in order for the communication between APIM and GW along with the service registration to work.



    #APIConnect
    #Support
    #SupportMigration