ENOTFOUND error only in one subnet

0

I'm getting a ENOTFOUND error when running a node.js process that calls an external API. The process is running in a Fargate service within a VPC with 2 public subnets, one for each AZ. The process runs fine in 1 subnet, but fails in the other one. Both subnets use the same IGW.

Public subnet 1: 10.0.0.0/17 Public subnet 2: 10.0.128.0/17

The Fargate service has public IP enabled and uses both subnets.

  • Hi - Are you using the Amazon provided DNS in each of your subnets? This would be the .2 offset in each CIDR. Have you noted any differences with name resolution between subnets?

Aucune réponse

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions