uptime-kuma: Webpage Reloads Repeatedly - [Cannot connect to Socket Server]
⚠️ Please verify that this bug has NOT been raised before.
- I checked and didn’t find similar issue
🛡️ Security Policy
- I agree to have read this project Security Policy
Description
Anywhere from a just a couple times an hour to just a few minutes apart my Uptime Kuma dashboard will display this red message notification at the top of the screen about being unable to connect to the socket server (See Screenshot), for only a 1-2 second glimpse, then immediately refresh the webpage and return to back to normal. Then the process repeats itself again, over and over endlessly.
I cannot see any exact length of time between it occurring where it is a pattern.
Cannot connect to the socket server. [Error: timeout] Reconnecting...
There is no problem with my dashboard functionality, accessing the dashboard, my monitors, or anything else, just that it does this all the time, and would happily like it to stop, and remain static, as expected.
Within the docker container output I can see that Uptime Kuma is constantly logging into the account, as least that’s how it appears to me, and not sure if this is the issue or not, but though it may be relevant to include.
I’ve included only a 3 hour period of output, as this is repeated an immense amount of times.
FYI: This issue has been persistent for easily over 6+ Months, and finally tired of it, and figured it’s time to handle it.
👟 Reproduction steps
I am not triggering it, or at the very least do not know how or why it’s being triggered. It just happens on its own anywhere from a just a couple times an hour to just a few minutes apart.
👀 Expected behavior
For my webpage to remain static and work as expected.
😓 Actual Behavior
The webpage is constantly reloading.
🐻 Uptime-Kuma Version
Version: 1.23.3
💻 Operating System and Arch
macOS Sonoma Version 14.0
🌐 Browser
Safari Version 17.0
🐋 Docker Version
Docker Version 4.21.1
🟩 NodeJS Version
No response
📝 Relevant log output
2023-10-12 16:37:21 2023-10-12T16:37:21-07:00 [AUTH] INFO: Successfully logged in user [REDACTED]. IP=[REDACTED]
2023-10-12 17:16:46 2023-10-12T17:16:46-07:00 [AUTH] INFO: Login by token. IP=[REDACTED]
2023-10-12 17:16:46 2023-10-12T17:16:46-07:00 [AUTH] INFO: Username from JWT: [REDACTED]
2023-10-12 17:16:46 2023-10-12T17:16:46-07:00 [AUTH] INFO: Successfully logged in user [REDACTED]. IP=[REDACTED]
2023-10-12 17:16:48 2023-10-12T17:16:48-07:00 [AUTH] INFO: Login by token. IP=[REDACTED]
2023-10-12 17:16:48 2023-10-12T17:16:48-07:00 [AUTH] INFO: Username from JWT: [REDACTED]
2023-10-12 17:16:48 2023-10-12T17:16:48-07:00 [AUTH] INFO: Successfully logged in user [REDACTED]. IP=[REDACTED]
2023-10-12 17:36:19 2023-10-12T17:36:19-07:00 [AUTH] INFO: Login by token. IP=[REDACTED]
2023-10-12 17:36:19 2023-10-12T17:36:19-07:00 [AUTH] INFO: Username from JWT: [REDACTED]
2023-10-12 17:36:19 2023-10-12T17:36:19-07:00 [AUTH] INFO: Successfully logged in user [REDACTED]. IP=[REDACTED]
2023-10-12 17:36:21 2023-10-12T17:36:21-07:00 [AUTH] INFO: Login by token. IP=[REDACTED]
2023-10-12 17:36:21 2023-10-12T17:36:21-07:00 [AUTH] INFO: Username from JWT: [REDACTED]
2023-10-12 17:36:21 2023-10-12T17:36:21-07:00 [AUTH] INFO: Successfully logged in user [REDACTED]. IP=[REDACTED]
2023-10-12 18:37:08 2023-10-12T18:37:08-07:00 [AUTH] INFO: Login by token. IP=[REDACTED]
2023-10-12 18:37:08 2023-10-12T18:37:08-07:00 [AUTH] INFO: Username from JWT: [REDACTED]
2023-10-12 18:37:08 2023-10-12T18:37:08-07:00 [AUTH] INFO: Successfully logged in user [REDACTED]. IP=[REDACTED]
2023-10-12 18:37:10 2023-10-12T18:37:10-07:00 [AUTH] INFO: Login by token. IP=[REDACTED]
2023-10-12 18:37:10 2023-10-12T18:37:10-07:00 [AUTH] INFO: Username from JWT: [REDACTED]
2023-10-12 18:37:10 2023-10-12T18:37:10-07:00 [AUTH] INFO: Successfully logged in user [REDACTED]. IP=[REDACTED]
2023-10-12 18:49:50 2023-10-12T18:49:50-07:00 [AUTH] INFO: Login by token. IP=[REDACTED]
2023-10-12 18:49:50 2023-10-12T18:49:50-07:00 [AUTH] INFO: Username from JWT: [REDACTED]
2023-10-12 18:49:50 2023-10-12T18:49:50-07:00 [AUTH] INFO: Successfully logged in user [REDACTED]. IP=[REDACTED]
2023-10-12 18:49:51 2023-10-12T18:49:51-07:00 [AUTH] INFO: Login by token. IP=[REDACTED]
2023-10-12 18:49:51 2023-10-12T18:49:51-07:00 [AUTH] INFO: Username from JWT: [REDACTED]
2023-10-12 18:49:51 2023-10-12T18:49:51-07:00 [AUTH] INFO: Successfully logged in user [REDACTED]. IP=[REDACTED]
2023-10-12 19:14:14 2023-10-12T19:14:14-07:00 [AUTH] INFO: Login by token. IP=[REDACTED]
2023-10-12 19:14:14 2023-10-12T19:14:14-07:00 [AUTH] INFO: Username from JWT: [REDACTED]
2023-10-12 19:14:14 2023-10-12T19:14:14-07:00 [AUTH] INFO: Successfully logged in user [REDACTED]. IP=[REDACTED]
2023-10-12 19:14:15 2023-10-12T19:14:15-07:00 [AUTH] INFO: Login by token. IP=[REDACTED]
2023-10-12 19:14:15 2023-10-12T19:14:15-07:00 [AUTH] INFO: Username from JWT: [REDACTED]
2023-10-12 19:14:15 2023-10-12T19:14:15-07:00 [AUTH] INFO: Successfully logged in user [REDACTED]. IP=[REDACTED]
2023-10-12 19:24:03 2023-10-12T19:24:03-07:00 [AUTH] INFO: Login by token. IP=[REDACTED]
2023-10-12 19:24:03 2023-10-12T19:24:03-07:00 [AUTH] INFO: Username from JWT: [REDACTED]
2023-10-12 19:24:03 2023-10-12T19:24:03-07:00 [AUTH] INFO: Successfully logged in user [REDACTED]. IP=[REDACTED]
2023-10-12 19:24:04 2023-10-12T19:24:04-07:00 [AUTH] INFO: Login by token. IP=[REDACTED]
2023-10-12 19:24:04 2023-10-12T19:24:04-07:00 [AUTH] INFO: Username from JWT: [REDACTED]
2023-10-12 19:24:04 2023-10-12T19:24:04-07:00 [AUTH] INFO: Successfully logged in user [REDACTED]. IP=[REDACTED]
2023-10-12 19:36:02 2023-10-12T19:36:02-07:00 [AUTH] INFO: Login by token. IP=[REDACTED]
2023-10-12 19:36:02 2023-10-12T19:36:02-07:00 [AUTH] INFO: Username from JWT: [REDACTED]
2023-10-12 19:36:02 2023-10-12T19:36:02-07:00 [AUTH] INFO: Successfully logged in user [REDACTED]. IP=[REDACTED]
2023-10-12 19:36:04 2023-10-12T19:36:04-07:00 [AUTH] INFO: Login by token. IP=[REDACTED]
2023-10-12 19:36:04 2023-10-12T19:36:04-07:00 [AUTH] INFO: Username from JWT: [REDACTED]
2023-10-12 19:36:04 2023-10-12T19:36:04-07:00 [AUTH] INFO: Successfully logged in user [REDACTED]. IP=[REDACTED]
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Reactions: 2
- Comments: 21 (8 by maintainers)
I would suggest that you should rent a Linux server on DigitalOcean or Linode, and setup a Uptime Kuma on it, see if the issue is still existing.
These server providers can be paid hourly, less than US$0.01 per hour. It won’t be expensive if you test a few day and you can shutdown them at anytime.