I’m getting this error in my there-nur which tries to connect to noor-nats service.
2021-10-08T14:29:04.478460531Z app[75a2dffa] lhr [info] Failed to connect to Nats Error: getaddrinfo ENOTFOUND noor-nats.internal
Opening via WireGaurd works:
I tried restarting both a couple times. Could you make sure it’s all good from your side? I don’t know what else to try without knowing that. This is a critical production node
Seems like lhr region has the issue. Update: No doesn’t relate to the region. Seems like a private networking issue Update 2: I had to scale to 1 and run the app in iad region so it’s working. lhr and nrt have issues with private networking. lhr connects once, then after restart doesn’t. It’s really weird.
Yes. noor-nats has been running for months, but I did a scale count change a couple of hours earlier to this issue.
I’m connecting from Node.js to it. It’s been fine. It’s also fine in some regions, sometimes. For example now in iad it’s fine. But it was having issues in nrt, and then lhr. I kept restarting, changing scale, regions, etc, and it worked for example for 2 regions, but one was failing, etc.
We’ve seen this error from node apps somewhat frequently, even when DNS resolution is working fine (dig from the vm works, node is unhappy). I think there’s some strange bug or conflict with node and IPv6 DNS lookups like this.