uptime-kuma icon indicating copy to clipboard operation
uptime-kuma copied to clipboard

Monitor showing offline but its online

Open Kaseax opened this issue 2 years ago • 19 comments

⚠️ Please verify that this bug has NOT been raised before.

  • [X] I checked and didn't find similar issue

🛡️ Security Policy

📝 Describe your problem

I have the problem, that all of my monitors except 1 showing as offline. i can reach the website normally. Can someone help me by that?

One Monitor showing "error request aborted"

The other two showing "timeout of 48000ms exceeded"

🐻 Uptime-Kuma Version

1.16.1

💻 Operating System and Arch

Debian 10 x86_64

🌐 Browser

Microsoft Edge 103.0.1264.37

🐋 Docker Version

20.10.17

🟩 NodeJS Version

No response

Kaseax avatar Jun 28 '22 14:06 Kaseax

Check if you can ping it directly from your server via ssh

GVALFER avatar Jun 28 '22 14:06 GVALFER

You mean with the ping command? if yes, yes. i can ping every server

Kaseax avatar Jun 28 '22 14:06 Kaseax

I got the same exact problem every morning at 5-6 AM for an hour. It says that it's down, but it's not. With the same error "timeout of 48000ms exceeded". Usually there are 2 websites, but it happens to be only 1 or 3 sometimes. I've increased the Heartbeat Interval and Retries, but no luck. Anyone can help?

dariusdumitru avatar Jun 29 '22 06:06 dariusdumitru

I got the same exact problem every morning at 5-6 AM for an hour. It says that it's down, but it's not. With the same error "timeout of 48000ms exceeded". Usually there are 2 websites, but it happens to be only 1 or 3 sometimes. I've increased the Heartbeat Interval and Retries, but no luck. Anyone can help?

We got the same thing last night for maybe 40-50 Websites.

d-delaey avatar Jun 29 '22 07:06 d-delaey

With me it is not only over night but permanent.

Kaseax avatar Jun 29 '22 11:06 Kaseax

Now my Discord-Webhook showing sometimes, that the Services are online but then it says there are offline.

Kaseax avatar Jul 01 '22 08:07 Kaseax

Same issue here, see: https://github.com/louislam/uptime-kuma/issues/1621

Nuklon avatar Jul 05 '22 08:07 Nuklon

Same issue here, suddenly we are getting "timeout of 48000ms exceeded" on most of the checks.

Anyone has any clue?

kfra71 avatar Aug 02 '22 07:08 kfra71

Same issue here, suddenly we are getting "timeout of 48000ms exceeded" on most of the checks.

Anyone has any clue?

This may help: https://github.com/louislam/uptime-kuma/wiki/Troubleshooting

louislam avatar Aug 02 '22 10:08 louislam

Hi I have tried to run the cmd without apparently any issue.

Best regards,

Francesco.

@.*** ~]$ curl https://google.com

301 Moved

301 Moved

The document has moved here.

@.*** ~]$ ping google.com PING google.com (172.217.168.206) 56(84) bytes of data. 64 bytes from ams16s32-in-f14.1e100.net (172.217.168.206): icmp_seq=1 ttl=53 time=2.77 ms 64 bytes from ams16s32-in-f14.1e100.net (172.217.168.206): icmp_seq=2 ttl=53 time=2.52 ms 64 bytes from ams16s32-in-f14.1e100.net (172.217.168.206): icmp_seq=3 ttl=53 time=2.80 ms 64 bytes from ams16s32-in-f14.1e100.net (172.217.168.206): icmp_seq=4 ttl=53 time=2.36 ms 64 bytes from ams16s32-in-f14.1e100.net (172.217.168.206): icmp_seq=5 ttl=53 time=2.36 ms 64 bytes from ams16s32-in-f14.1e100.net (172.217.168.206): icmp_seq=6 ttl=53 time=2.42 ms 64 bytes from ams16s32-in-f14.1e100.net (172.217.168.206): icmp_seq=7 ttl=53 time=2.63 ms 64 bytes from ams16s32-in-f14.1e100.net (172.217.168.206): icmp_seq=8 ttl=53 time=2.67 ms 64 bytes from ams16s32-in-f14.1e100.net (172.217.168.206): icmp_seq=9 ttl=53 time=2.33 ms ^C

On 2 Aug 2022, at 12:18, Louis Lam @.***> wrote:

Same issue here, suddenly we are getting "timeout of 48000ms exceeded" on most of the checks.

Anyone has any clue?

This may help: https://github.com/louislam/uptime-kuma/wiki/Troubleshooting https://github.com/louislam/uptime-kuma/wiki/Troubleshooting — Reply to this email directly, view it on GitHub https://github.com/louislam/uptime-kuma/issues/1848#issuecomment-1202295726, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFCDTMMWIQ2MPJZW2KPTRX3VXDYYDANCNFSM52CMU2PA. You are receiving this because you commented.

kfra71 avatar Aug 02 '22 11:08 kfra71

Yeah, that works for me as well. It's really that Uptime Kuma gets bogged down, and it happens more frequently when the container is running for a longer period of time. I've not found anything useful in the logs either, it just times out.

Nuklon avatar Aug 02 '22 11:08 Nuklon

30s monitor (both monitors have the same settings and site, except for the interval): image

1m monitor: image

Nuklon avatar Aug 02 '22 11:08 Nuklon

Same issue here. When I try to ping the url from within the docker container, as suggested here, I also do get a timeout.

BUT... the same website can be reached and pinged from other systems AND I can still ping other monitored websites from within the Uptime Kuma docker container, so it's not a general networking issue with the container / server / hosting.

So it seems something is getting bogged down in Uptime Kuma itself.

Note Most of our monitored websites are behind Cloudflare, but some are not. And until now I only experienced the issue with websites that are not behind Cloudflare. Though not all those "non-cloudflare" websites are affected at the same time. At the moment 2 of the non-cloudflare websites are affected, but several weeks ago we had the same issue with one of those 2 websites (and another one), but not the other.

We also see different errors prior to the timeout issues:

140059089770432:error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac:../deps/openssl/openssl/ssl/record/ssl3_record.c:677

and

getaddrinfo EAI_AGAIN <hostname>

guydeschepper avatar Sep 22 '22 10:09 guydeschepper

Same issue here. When I try to ping the url from within the docker container, as suggested here, I also do get a timeout.

BUT... the same website can be reached and pinged from other systems AND I can still ping other monitored websites from within the Uptime Kuma docker container, so it's not a general networking issue with the container / server / hosting.

So it seems something is getting bogged down in Uptime Kuma itself.

Note Most of our monitored websites are behind Cloudflare, but some are not. And until now I only experienced the issue with websites that are not behind Cloudflare. Though not all those "non-cloudflare" websites are affected at the same time. At the moment 2 of the non-cloudflare websites are affected, but several weeks ago we had the same issue with one of those 2 websites (and another one), but not the other.

We also see different errors prior to the timeout issues:

140059089770432:error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac:../deps/openssl/openssl/ssl/record/ssl3_record.c:677

and

getaddrinfo EAI_AGAIN <hostname>

Hey, we "fixed" that issue by simply not using docker. But sometimes we are still getting the timeout error but not as often as using docker.

d-delaey avatar Sep 26 '22 08:09 d-delaey

@d-delaey thanks for the suggestion, but we're running Uptime Kuma as part of a dockerized environment, so not using docker is not an option for us in this case.

guydeschepper avatar Sep 26 '22 09:09 guydeschepper

We are clearing up our old issues and your ticket has been open for 3 months with no activity. Remove stale label or comment or this will be closed in 2 days.

github-actions[bot] avatar Dec 25 '22 12:12 github-actions[bot]

Please don't close this issue as it is still not fixed!

guydeschepper avatar Dec 25 '22 17:12 guydeschepper

Same issue here. When I try to ping the url from within the docker container, as suggested here, I also do get a timeout.

BUT... the same website can be reached and pinged from other systems AND I can still ping other monitored websites from within the Uptime Kuma docker container, so it's not a general networking issue with the container / server / hosting.

So it seems something is getting bogged down in Uptime Kuma itself.

Note Most of our monitored websites are behind Cloudflare, but some are not. And until now I only experienced the issue with websites that are not behind Cloudflare. Though not all those "non-cloudflare" websites are affected at the same time. At the moment 2 of the non-cloudflare websites are affected, but several weeks ago we had the same issue with one of those 2 websites (and another one), but not the other.

We also see different errors prior to the timeout issues:

140059089770432:error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac:../deps/openssl/openssl/ssl/record/ssl3_record.c:677

and

getaddrinfo EAI_AGAIN <hostname>

Make sure you are not using Alpine based image.

For SSL error, please double check http:// vs https://

louislam avatar Dec 26 '22 12:12 louislam

Same issue here. When I try to ping the url from within the docker container, as suggested here, I also do get a timeout. BUT... the same website can be reached and pinged from other systems AND I can still ping other monitored websites from within the Uptime Kuma docker container, so it's not a general networking issue with the container / server / hosting. So it seems something is getting bogged down in Uptime Kuma itself. Note Most of our monitored websites are behind Cloudflare, but some are not. And until now I only experienced the issue with websites that are not behind Cloudflare. Though not all those "non-cloudflare" websites are affected at the same time. At the moment 2 of the non-cloudflare websites are affected, but several weeks ago we had the same issue with one of those 2 websites (and another one), but not the other. We also see different errors prior to the timeout issues: 140059089770432:error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac:../deps/openssl/openssl/ssl/record/ssl3_record.c:677 and getaddrinfo EAI_AGAIN <hostname>

Make sure you are not using Alpine based image.

I'm not since I'm running Uptime Kuma with Cloudron, which uses Ubuntu based docker images

For SSL error, please double check http:// vs https://

All sites in Uptime Kuma are configured with https, so there shoudn't be any reason for Uptime Kuma trying to access the sites over http.

guydeschepper avatar Dec 26 '22 15:12 guydeschepper

For me still happening image

mrafols avatar Jan 24 '23 08:01 mrafols

For me still happening image

Yes it still happening to me aswell

d-delaey avatar Jan 24 '23 08:01 d-delaey

Getting this error when trying to send a webhook, as in https://github.com/louislam/uptime-kuma/issues/1697, running via pm2

xeruf avatar Feb 01 '23 08:02 xeruf

Start to happen to me after update the docker image.

webysther avatar Feb 01 '23 21:02 webysther

Same issue here, suddenly we are getting "timeout of 48000ms exceeded" on most of the checks. Anyone has any clue?

This may help: https://github.com/louislam/uptime-kuma/wiki/Troubleshooting

No curl installed in docker

webysther avatar Feb 01 '23 21:02 webysther

image

After stop docker, pull new image and start docker.

webysther avatar Feb 01 '23 21:02 webysther

image

webysther avatar Feb 01 '23 21:02 webysther

image

webysther avatar Feb 01 '23 21:02 webysther

ping and curl working from inside the container, nothing is working from this.

webysther avatar Feb 01 '23 21:02 webysther

same here using the latest image. https://github.com/louislam/uptime-kuma/wiki/Troubleshooting using the troubleshooting guide above, the container was able to curl and ping the urls, however, the urls still appear as down in kuma

alwynispat avatar Mar 19 '23 12:03 alwynispat

I have the same issue for months.. At first I thought this issue from my VPS provider, but after I had big fights with multiple VPS providers, I found out it's only happening from Uptime Kuma.

I think I'll just look for another tool and apologize to the VPS providers!

m-primo avatar Mar 22 '23 22:03 m-primo