mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
why does uptime-kuma resolve a FQDN as 127.0.1.1? #3299
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#3299
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 @y8s on GitHub (Apr 26, 2024).
⚠️ Please verify that this question has NOT been raised before.
🛡️ Security Policy
📝 Describe your problem
I have a pihole that keeps appearing as "down" every check when it is absolutely up.
I get the error
connect ECONNREFUSED 127.0.1.1:443I have no reference to 127.0.1.1 anywhere on the host machine or in my compose.
so I logged into the container for uptime-kuma and pinged the host giving that error and I get this:
(domain.com is not the actual domain but I do have a real domain behind a caddy proxy with DNS challenges)
📝 Error Message(s) or Log
🐻 Uptime-Kuma Version
Version: 1.23.12
💻 Operating System and Arch
Linux iot 6.6.20+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64 GNU/Linux
🌐 Browser
Chrome Version 124.0.6367.91 (Official Build) (64-bit)
🖥️ Deployment Environment
@louislam commented on GitHub (Apr 26, 2024):
You should google "127.0.1.1 pihole", because there have been a lot of people who have also asked this.
Uptime Kuma's container contains nscd, but I don't think it would modify your DNS records.
@y8s commented on GitHub (Apr 26, 2024):
I had googled many things and thought I had fixed it by removing all references to 127.0.1.1 but it was still "stuck" in the pihole server somewhere.
A reboot cleared it out and now it's working properly.
to clarify:
I remove the 127.0.1.1 entries from the hosts file on the docker host as well as the pihole server and replaced them with the actual IP of each machine.
@CommanderStorm commented on GitHub (Apr 26, 2024):
I guess this is resolved
@y8s commented on GitHub (Apr 26, 2024):
Yes, thanks.