You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The direct monitor succeeds. The Reverse Proxy monitor fails with error connect ECONNREFUSED 192.168.93.123:443.
For all my servers I create external docker networks and assign each container an ip address within the compose file. I do this for GitOps purposes. For the uptime-kuma container I specifically expose port 3001 on the host ip address of 192.168.1.93. I also define the docker dns settings to my two piholes for the uptime-kuma service.
How do I configure docker - or the monitor - to use my network DNS rather than the container DNS? I don't think this should require a local proxy.
📝 Error Message(s) or Log
I've reviewed the Troubleshooting guide and searched the issues for any leads.
Here is an example of curl from inside and outside the container:
$ curl https://uptime-kuma.example.com
Found. Redirecting to /dashboard
$ docker exec -it uptime-kuma bash
root@uptime-kuma:/app# curl https://uptime-kuma.example.com --verbose
* Trying 192.168.93.123...
* TCP_NODELAY set
* connect to 192.168.93.123 port 443 failed: Connection refused
* Failed to connect to uptime-kuma.example.com port 443: Connection refused
* Closing connection 0
curl: (7) Failed to connect to uptime-kuma.example.com port 443: Connection refused
Here's the resolv.conf settings:
$ cat /etc/resolv.conf
nameserver 192.168.1.1
$ docker exec uptime-kuma cat /etc/resolv.conf
# Generated by Docker Engine.
# This file can be edited; Docker Engine will not make further changes once it
# has been modified.
nameserver 127.0.0.11
options ndots:0
# Based on host file: '/etc/resolv.conf' (internal resolver)
# ExtServers: [192.168.1.91 192.168.1.92]
# Overrides: [nameservers]
# Option ndots from: internal
🛡️ Security Policy
📝 Describe your problem
I have two monitors for uptime-kuma:
Direct
Friendly Name: services.uptime-kuma
URL: http://192.168.1.93:3001
Reverse Proxy
Friendly Name: com.example.uptime-kuma
URL: https://uptime-kuma.example.com
The direct monitor succeeds. The Reverse Proxy monitor fails with error
connect ECONNREFUSED 192.168.93.123:443
.For all my servers I create external docker networks and assign each container an ip address within the compose file. I do this for GitOps purposes. For the uptime-kuma container I specifically expose port 3001 on the host ip address of 192.168.1.93. I also define the docker dns settings to my two piholes for the uptime-kuma service.
Here's my compose file configuration:
How do I configure docker - or the monitor - to use my network DNS rather than the container DNS? I don't think this should require a local proxy.
📝 Error Message(s) or Log
I've reviewed the Troubleshooting guide and searched the issues for any leads.
Here is an example of curl from inside and outside the container:
Here's the resolv.conf settings:
Here's what dig reports:
Same again but with traceroute:
🐻 Uptime-Kuma Version
1.23.16
💻 Operating System and Arch
Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux
🌐 Browser
Firefox 135.0
🖥️ Deployment Environment
The text was updated successfully, but these errors were encountered: