uptime-kuma: Simple Domains Like Google.com are Getting `getaddrinfo EAI_AGAIN` Errors

Describe the bug I have about 10 domains I am watching, 7 of my own domains and 3 common domains, I recently installed piHole and I noticed 3 of my domains, 2 common and 1 of mine, started failing all the time. I looked into it and seems as these all are getting getaddrinfo EAI_AGAIN errors. I would understand if it was only my own domains but the common ones like Google and Reddit are weird. I looked at the logs within Portainer and I am not seeing any errors being thrown only Heartbeat <number>. The two common domains that are failing are www.google.com and www.reddit.com. If I click on the links within Uptime-Kuma I successfully get to the sites.

Expected behavior Better Logging?

Desktop (please complete the following information):

  • Uptime Kuma Version: 1.0.6
  • Using Docker?: Yes
  • OS: Ubuntu 20.04 LTS
  • Browser: Firefox/Chrome

Additional context Uptime-Kuma is in same Docker-Compose as piHole and have house router running through piHole now.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 32 (14 by maintainers)

Most upvoted comments

Yes sure ! It could be network related.

Anyway, with the “retries” I setup, I can avoid theses kind of errors 👌

Well just wanted to add that uptime Kuma is running on a dedicated hosted server (which I pay for) It’s strange that a server hoster can have that type of network issue…

Your server hoster is not responsible for your servers network setup. Especially not on a dedicated server.

You most likely have several (virtual) network interfaces on your server; each active / inactive, with / without (external/internal) IP addresses assigned.

I say chances are high that there are hiccups on your servers end rather than with uptime-kuma 😉

The weird thing is that I don’t have any DNS issues with other apps, I use Cloudflare’s resolvers and my network is pretty stable - I even run Kubernetes with etcd in HA mode which is quite sensitive to network issues.