Regular short getaddrinfo EAI_AGAIN outages
-
To conclude what @nebulon said, for Uptime Kuma this means that it uses the system DNS (and not unbound).
-
I've used Uptime Kuna without any problem since April. But for the last 24+ hours I suddenly have started to receive tons of these:
The affected hosts are on .se, and one .social. Some of them are hosted at the same box I run Cloudron on, some on others.
I see that it's not the same error message as in the OP, but similar enough to be related?
According to my logs, my Cloudron was updated to 8.0.4 on August 28, and 8.0.6 yesterday morning. I don't know for sure, but from the graphs it looks like the problem started as soon as that update had been installed. This is what the week graph looks like for or the monitored services with problems:
-
@thoresson usually, ENOTFOUND is a problem with the DNS. Is the DNS working on the server? You can try
host www.cloudron.io
from the host (via ssh) and also viw the Web Terminal of the Uptime Kuma app. Do they work? -
I'm on 8.0.6 since Tuesday morning, which incidentally also is when those problem started.
Should I use
resolvectl
from Uptime Kuma's web terminal? -
I recently enabled email notifications on my Uptime Kuma and I've noticed there are regular short outages. Something to do with getaddrinfo EAI_AGAIN
Any idea what's causing this and how to resolve it?
Apparently
EAI_AGAIN is a DNS lookup timed out error, means it is a network connectivity error or proxy related error.
According to https://stackoverflow.com/questions/40182121/whats-the-cause-of-the-error-getaddrinfo-eai-again
Oh, and here it says:
EAI_AGAIN means the DNS server replied that it cannot currently fulfill the request. (If you want the hairy details, the RCODE field in the response is set to 2, SERVFAIL.)
There is no single solution because it entirely depends on why the DNS server sends that back. Maybe it's overloaded, maybe the network is down, maybe it got the same reply from its upstream server.
In general, the best you can do is wait a while and try again. Hope that helps.
I wonder what the specific issue is in my case (perhaps just network issues with Netcup?)
@jdaviescoates said in Regular short getaddrinfo EAI_AGAIN outages:
I recently enabled email notifications on my Uptime Kuma and I've noticed there are regular short outages. Something to do with getaddrinfo EAI_AGAIN
Any idea what's causing this and how to resolve it?
Apparently
EAI_AGAIN is a DNS lookup timed out error, means it is a network connectivity error or proxy related error.
According to https://stackoverflow.com/questions/40182121/whats-the-cause-of-the-error-getaddrinfo-eai-again
Oh, and here it says:
EAI_AGAIN means the DNS server replied that it cannot currently fulfill the request. (If you want the hairy details, the RCODE field in the response is set to 2, SERVFAIL.)
There is no single solution because it entirely depends on why the DNS server sends that back. Maybe it's overloaded, maybe the network is down, maybe it got the same reply from its upstream server. Learn more
In general, the best you can do is wait a while and try again. Hope that helps.
I wonder what the specific issue is in my case (perhaps just network issues with Netcup?)
Same thoughts. I t has been addressed in the beautiful manner.