cannot connect to valkey/redis

My app is unable to connect to a separate valkey instance.

DNSException:
[info] syscall: “getaddrinfo”,
[info] errno: 4,
[info] code: “ENOTFOUND”

I can nslookup the .internal domain, no problem. I can also fly proxy without issue.

This used to work, and then it stopped working after a fresh deploy.

My apps have now stopped working as a result.

Region is AMS.

Please help.

Reference: fly machine cannot find upstash redis server

So Upstash also has this problem?

That older post mentions IORedis, which has an IPv6 gotcha:

That doesn’t sound the same as your own situation, though, since yours would have been failing all along. (Unless you did just modify that section of the code.)

I mentioned Upstash as the OP did.

I hadn’t changed anything. Most recent deployment was three months ago. I made a minor adjustment to something unrelated, and then this issue surfaced.

I’ll try play with the config.

Thanks, above worked. Very strange if it’s an old issue (previous deployment wasn’t too long ago).

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.