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
  • 6739 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
April 14, 2021
Thanks you @duynguyen_adobe for reply. I'm using the latest aio cli version @61380/aio-cli/6.0.0 win32-x64 node-v14.15.2 with node v14.15.2. all plugins updated but still facing the same error.
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