gedaddrinfo EAI_AGAIN

Kathleen Anne Vergonia 1 Reputation point
2021-10-29T08:29:18.747+00:00

We trying to publish the changes to the source code of a bot but encounters this error which causes the publishing to retry to install the needed NPM packages infinitely. Take note that we are deploying in the client's environment which has a very strict firewall. I have seen that this error concerns the DNS, can anyone help me out? 144895-microsoftteams-image-6.png

When tested in our own machines, the deployment went smoothly and didn't encounter the issue.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,976 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 30,281 Reputation points Microsoft Employee Moderator
    2021-11-01T21:00:50.613+00:00

    Hi @Kathleen Anne Vergonia ,

    In looking at your image, it seems that like your local machine is failing to reach npmjs.org. It doesn't on the surface seem Azure deployment related but one suggestion I would try is zip the bot up and deploy manually. Unfortunately, I don't think we have any tags related to on-premises network troubleshooting but I'll try to help the best I can.

    Does it build and run fine locally and is able to get the dependent packages? Does a tracert to registry.npmjs.org successfully run when running behind the client's firewall? Do these errors persist when you're not on the client's network?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.