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-ru...
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..
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
one more catch: node 14 is currently not the official supported version of aio-cli. Can you try running with node 12?
Views
Replies
Total Likes
Hi @duypnguyen, @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…
Views
Replies
Total Likes
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?
Views
Replies
Total Likes
@duypnguyen- Thank you for quick reply. Yes I'm completely bound to proxy setup and can't go above that. as requested below is the screenshot of aio-info.
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Like
Replies