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?

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions