question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Simple Domains Like Google.com are Getting `getaddrinfo EAI_AGAIN` Errors

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:28 (13 by maintainers)

github_iconTop GitHub Comments

2reactions
antoine2ttcommented, Aug 9, 2021

Yes sure ! It could be network related.

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

0reactions
rezzorixcommented, Oct 3, 2022

DuckDNS as DynDNS? That would be a simple DNS lookup… there is (should be) no throttling… most hiccups come from propagation taking time.

So basically you tell DuckDNS to change the A record for domain x every time your IP at home changes. Depending on how often your home IP changes this can cause hiccups with a DNS lookup because your A records need to propagate first.

So some DNS servers may still have your old home IP e.g. 1.2.3.4 listed, while the record is already updated to the new one which is e.g. 11.12.13.14. So if the DNS server you are using is taking a bit longer to update and still shows the old record - it will result in timeouts.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What's the cause of the error 'getaddrinfo EAI_AGAIN'?
EAI_AGAIN is a DNS lookup timed out error, means it is a network connectivity error or proxy related error.
Read more >
Google Compute VM Getting Error getaddrinfo EAI_AGAIN
I've tried to check quota limits but they all seem well above what I'm utilizing, and the VM is on a premium network...
Read more >
Try to go to App Store, but it just times out. - Cloudron Forum
The command host api.cloudron.io 8.8.8.8 directly contacts Google DNS servers via UDP port 53 but it's not working as seen from your output....
Read more >
EAI_AGAIN Error 500 - Wappler Community
In this post we are going to discuss about errno EAI_AGAIN. You can get this error when trying to install the latest version...
Read more >
Error: getaddrinfo EAI_AGAIN - Sentiment Analysis - RapidAPI
Since the API doesn't support batch requests, I am looping over many GET ... on Google for “Error: getaddrinfo EAI_AGAIN” and it seems...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found