-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
IPv6-only does not work in some environments #3113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Is this still the case? I am currently running Uptime Kuma on a IPv6-only server and monitoring |
It was only the case using the docker variant. I installed uptime kuma now plain on a vm and now it works. |
Hi, I can only run Uptime Kuma in docker, because I use Home Assistant OS. Would it be possible to add IPv6 support to the Docker images? |
We support ipv6. Why you are likely wondering if we support this is because we don't have happy eyeballs v2 due to the node version we packaged. We have upgraded nodejs for uptime-kuma V2. You can see #4500 for the bugs which will need to be fixed before we can publish the beta. |
I am running v1.23.13 in Home Assistant OS using the following addon: https://github.com/hassio-addons/addon-uptime-kuma This is the output when I try to use ping in the docker container using docker exec:
So it seems that the container does not have any IPv6 support at all. This is not the case for other Home Assistant Containers. |
Is the URL publicly routable? If yes, could you provide the URL you are testing against? Is this reproducible on uptime.kuma.pet ? Alternatively (idk how to do that via your deployment variant, we don't maintain that and I don't use it) you can try our troubleshooting steps here and see if it is a docker network is configured correctly: I don't know what is the problem with ipv6 in the ping monitor. Likely the allowed regex needs adjusting. |
The current regex is here: uptime-kuma/src/util-frontend.js Lines 111 to 126 in 1100782
|
Yes, but I do not want to publish the URL. But the same problem also occurs when adding ipv6.google.com.
Yes, the ping also does not work there with the error
So as I also noted before it does seem that the container does not have any IPv6 Support at all, so it is likely a docker network problem. Should I open an issue in the addons repo instead? I find it interesting though, that the IPv6 ping also fails on the demo, but with a different error. |
I have now enabled host networking in a customised version of the container, and now the ping works fine. |
ipv6 networking in docker (docs at https://docs.docker.com/config/daemon/ipv6/) needs to be enabled. For home assistant this is tracked/discussed here: Closing as nothing we can do. Upstream support needs to be enabled manually. |
🏷️ Feature Request Type
Other
🔖 Feature description
Currently it is not possible to monitor server which has only an ipv6 address. I tested with a virtual machine which has only an ipv6 address with ping monitoring and the server is down as inactive. Tested the same machine with uptimerobot and the server is shown as up and running.
Because Ipv6 is the future and Ipv4 is legacy, uptime-duma should support ipv6 monitoring.
✔️ Solution
Either enable ping monitoring to test v4 and v6 or add a new ping6 monitoring.
❓ Alternatives
No response
📝 Additional Context
No response
The text was updated successfully, but these errors were encountered: