-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
monitor type ping stopped working #294
Comments
Every single ping fails since yesterday. docker-compose down followed by docker-compose pull and docker.compose up -d does not show any errors or changes besides the failed ping. Not sure if it will help but here you go:
I've shortened the logs output but as you can see, the ping is failing.
from my docker host:
|
Really strange, as Uptime-kuma is also using the builtin "ping" Could you also try this? This is how Uptime Kuma executes the ping command ping -n -w 2 -c 1 ict.zfs.rent |
That does indeed fail. Need to check the manual what all those switches for the ping command do.
|
from inside your container, the '-n' option seems unknown.
I upped the seconds to wait to 5 and the ping works all of a sudden:
Might be internet problems at home where this NAS runs? I'm currently travelling so can'T physically check but I can access my services at home just fine. |
Still a bit strange as your response time is within 2 seconds. |
My guess: Your dns server is slow. It takes more than 2 seconds to resolve a domain. You can ping the IP directly. |
@louislam Seems like DNS is still a huge problem. Looking around curiously I found that many people reported having DNS issues on Alpine with Docker, and some reported issues fixed by switching to Debian or other OS. Might be worth switching to Debian despite the larger image size. |
Omg, that is surprising me... @ovizii Could you please help me try again the command in your host machine? Thank you.
If your host machine is working, than I believe that Alpine Docker is having a huge problem. |
here you go, that seems to have instantly worked:
|
Please let me know if you think its my local system and not due to the alpine base image, I can do further tests. |
I have built a debian base image, I think it will eventually fix your problem.
|
Thanks, I have switched to :1.5.2-debian and everything seems fine. I guess I'll check in a few weeks later and figure out how you are handling tags. |
If Debian is better for most users, I will use Debian as main tag in the future. For example:
|
Just wanted to let you know, that I have now added fixed DNS servers to uptime-kuma's docker-compose.yml file
Response times have gone seriously down compared to before. Before this, the docker host used to use a locally (Docker run) DNS (adguard home). |
Hi is there a fix in WIP? also the docker containers here are not been read anymore. Thanks alot! Love this tools for a lon period now |
This is wait i get when i try to clean the database file EDIT: Can anyone tell me how to unlock the database?
|
Info
Uptime Kuma Version: 1.3.2
Using Docker?: Yes
OS: Windows (client) Docker with uptime-kuma runs on Debian 10
Browser: Chrome
I installed uptime-kuma a few days ago and setup a few monitors, most of them https and one as ping type. The ping type one stopped working yesterday evening. I know the target is up, even if I do a
docker exec -ti uptime-kuma sh
and do a manual ping to the same target the ping works so why does it keep failing for a full 24h inside uptime-kuma?Also, uptimerobot reports no issues pinging this particular host.
Open for any suggestions.
The text was updated successfully, but these errors were encountered: