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.

Adobe Employee
July 12, 2021

hey @gokul_agiwal - I will check with our team about this CLI enhancement. Can you now use the AIO CLI outside of the corp proxy? Or are you completely blocked?

Also, could you please share the output of `aio info` on your machine?

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