[DEBIAN Base] Possibly Fix Random Down, DNS Timeout, EAGAIN, EAI_AGAIN
See original GitHub issueIf you are experiencing such issues, it is worth to try this debian base docker image, and let me know whether it is solved. Thank you!
Docker Image
uptime-kuma:1.5.3-debian
Story:
There were some Uptime Kuma users who were facing weird connectivity problems which I cannot explain. #114 #274 #220
Recently, one of our contributions @chakflying found out that it may be related to Alpine Docker which Uptime Kuma is based on it. https://github.com/louislam/uptime-kuma/issues/294#issuecomment-909353979
Issue Analytics
- State:
- Created 2 years ago
- Comments:19 (8 by maintainers)
Top Results From Across the Web
Solving DNS lookup failures in Kubernetes - Findmypast Tech
Our journey along the Kuberentes (K8s) road continues with the story of how we diagnosed and solved random, intermittent DNS lookup failures ...
Read more >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 >Understand and troubleshoot partial DNS failure - AWS
In this case, some clients might experience partial DNS failures, if the resolver tries to resolve the domain using the wrong name server....
Read more >How to Troubleshoot DNS Errors (Timeouts, Codes & More)
Like troubleshooting anything, it is best to start with the item(s) that are easiest to review and check and then move down the...
Read more >(CVE-2013-7423) getaddrinfo() writes DNS queries to random ...
The Go issue thread suggests that it's likely related to some kind of socket caching going on in glibc's resolver; if so, this...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Just in case someone else wants to try this, I manually added these dns servers to uptime-kuma’s docker-compose.yml file and my response times have also gone down.
Thank you for you guys’ reports. Combining the reports here and the similar reports from the Internet, I am pretty sure Alpine Linux is having some kind of dns problem that they are not going to fix.
Plus, armv7 error in Alpine Linux >= 3.13, 3.14 (#41), I am going to fade out Alpine Linux in the next release.
If you are a developer in any other projects and to future me, my advice is that you should keep away from Alpine Linux. Imagine that your application need to call payment gateway API such as Paypal and it throws EAI_AGAIN randomly, that could be a disaster.