Error: getaddrinfo EAI_AGAIN developers.adobe.io | Community
Skip to main content
Gokul_Agiwal
Community Advisor
Community Advisor
April 14, 2021
Question

Error: getaddrinfo EAI_AGAIN developers.adobe.io

  • April 14, 2021
  • 3 replies
  • 6750 views

Hello Team, 

 

I'm trying to work on Adobe launch API and following this guide to develop notification service https://medium.com/adobetech/adobe-experience-platform-launch-notification-service-with-adobe-i-o-runtime-343acc8ac1d 

 

As per Implementation steps mentioned in above guide, I've started with project firefly which allows all the operations to set runtime actions. 

 

Now when I initialize my project using following command in terminal 

aio app init <app_name>

 

getting the below error. Can someone please let me know what's the issue. 

 

You are about to initialize the project 'launch_notification'

Error while generating the configuration from the Adobe Developer Console: CoreConsoleAPIError: [CoreConsoleAPISDK:ERROR_GET_ORGANIZATIONS] FetchError: request to https://developers.adobe.io/console/organizations failed, reason: getaddrinfo EAI_AGAIN developers.adobe.io
at ClientRequest.<anonymous> (C:\Users\agiwalg\AppData\Roaming\npm\node_modules\@adobe\aio-cli\node_modules\node-fetch\lib\index.js:1461:11)
at ClientRequest.emit (events.js:315:20)
at TLSSocket.socketErrorListener (_http_client.js:469:9)
at TLSSocket.emit (events.js:315:20)
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
type: 'system',
errno: 'EAI_AGAIN',
code: 'EAI_AGAIN'
}
Skipping configuration setup..

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

Adobe Employee
April 14, 2021

Hi @gokul_agiwal - could you try updating your CLI to the latest version with this command:

npm install -g @adobe/aio-cli

Make sure that all the plugins are "core" in the output of this command:

aio plugins --core

Then run the "aio app init <app_name>" command again.

Gokul_Agiwal
Community Advisor
Community Advisor
July 12, 2021

Hi @duynguyen_adobe, @tmj - Apologies for not replying earlier. Yes, this error seems related to DNS lookup timed out error that either network connectivity or proxy related error and it's still coming and I can't proceed without this ahead. I’ve done some research into this and it looks like it might require Adobe to add proxy support to the aio-cli package. I found the following open issue: https://github.com/adobe/aio-cli/issues/224

 

If this is the issue It might be worth seeing when Adobe push this to progress as its bit stuck for me until add proxy support…

Adobe Employee
April 14, 2021
in the blog post did you do step 3 "Create a new project on Adobe I/O Console to access Adobe Experience Platform Launch APIs"
Adobe Employee
April 14, 2021
to find out more about setting up a project you can see this recording https://www.youtube.com/watch?v=AwL0QRxH9JQ&t=51s