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?

Sem respostas

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas