Troubleshooting
Problem
To register a new Gateway service in IBM API Connect, the cloud cannot complete the service registration if DataPower cannot resolve the hostname of the Platform REST API endpoint.
Symptom
In the DataPower logs users might see a log like:
20240821T085450.443Z [0x88e0038c][apic-gw-service][error] apic-gw-service(default): Cannot get access token for https://PLATFORM_ENDPOINT/path/api/token. Error: Error: getaddrinfo ENOTFOUND PLATFORM_ENDPOINT
20240821T085450.443Z [0x88e00127][apic-gw-service][error] apic-gw-service(default): Stack trace for previous error:
at AxiosError.from (/root/gateway-director/node_modules/axios/dist/node/axios.cjs:837:14)
at RedirectableRequest.handleRequestError (/root/gateway-director/node_modules/axios/dist/node/axios.cjs:3029:25)
at RedirectableRequest.emit (node:events:517:28)
at eventHandlers.<computed> (/root/gateway-director/node_modules/axios/node_modules/follow-redirects/index.js:38:24)
at ClientRequest.emit (node:events:517:28)
at TLSSocket.socketErrorListener (node:_http_client:501:9)
at TLSSocket.emit (node:events:517:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"ARM Category":[{"code":"a8m0z0000001it3AAA","label":"API Connect-\u003EManagement and Monitoring (MM)-\u003EGateway Service"}],"ARM Case Number":"TS017025160","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
03 September 2024
UID
ibm17166677