mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
periodic getaddrinfo EAI_AGAIN #3964
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#3964
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @PikuZheng on GitHub (Feb 11, 2025).
⚠️ Please verify that this question has NOT been raised before.
🛡️ Security Policy
📝 Describe your problem
periodic getaddrinfo EAI_AGAIN with https test (http works fine)
I checked similar issue and confirm it‘s not related to dns or network connection (monitored the dns server - it was always available)
also tried enable or disabled NSCD
📝 Error Message(s) or Log
2025-02-11T09:16:21Z [MONITOR] WARN: Monitor #3 '163(国内网站)': Pending: getaddrinfo EAI_AGAIN www.163.com | Max retries: 1 | Retry: 1 | Retry Interval: 60 seconds | Type: http
🐻 Uptime-Kuma Version
1.23.16
💻 Operating System and Arch
Alpine
🌐 Browser
Chrome 132.0
🖥️ Deployment Environment
@ganga2166 commented on GitHub (Feb 14, 2025):
@PikuZheng has this issue been resolved?
@PikuZheng commented on GitHub (Feb 14, 2025):
Negative ☹️
@Coltonomore commented on GitHub (Feb 27, 2025):
I am receiving the same error.
@igorrl1 commented on GitHub (Mar 7, 2025):
I have the same issue. suddenly the container can't resolve dns queries anymore. The workaround is to set a custom dns on docker.
None of my other containers seem to be affected.
@jbehrmusic commented on GitHub (Mar 30, 2025):
having the same issue. uptime kuma won't allow me to setup a webhook for discord
@CommanderStorm commented on GitHub (Apr 17, 2025):
Regular debugging step is to enable dns caching in the settings for this issue.
We by default don't cache and some dns servers don't like this =>
getaddrinfo EAI_AGAINIf you still get issues with caching enabled, your DNS' TTL-Config might be wrong.
@PikuZheng commented on GitHub (Apr 19, 2025):
Tried turning cache on and off, there was improvement but not much. On the other hand, the ttl was 600.
After observing it for a while, I suspect it has something to do with the CPU performance. I would like to know the number of cpu cores (currently 2) and frequency it requires.
@CommanderStorm commented on GitHub (Apr 19, 2025):
We will under the current architecture only use one core.
@huyz commented on GitHub (Jun 2, 2025):
After trying the different built-in caching options, I settled on installing a Technitium DNS caching server and that resolved my frequent EAI_AGAIN errors.
Btw, related issue: https://github.com/louislam/uptime-kuma/issues/3123
@PikuZheng commented on GitHub (Jun 2, 2025):
thanks @huyz and I have local dns server with cache and HA but the issue. and other local computers has never seen a dns problem.
@github-actions[bot] commented on GitHub (Aug 1, 2025):
We are clearing up our old
help-issues and your issue has been open for 60 days with no activity.If no comment is made and the stale label is not removed, this issue will be closed in 7 days.
@PikuZheng commented on GitHub (Aug 1, 2025):
I believe that beta2 has alleviated this problem. It may also be that the performance is better after I migrated to MySQL.