π I have found these related issues/pull requests
Several related issues:
π‘οΈ Security Policy
π Description
When using Google Chrome (version 151.0.7922.137) on Android 16 I receive the message Lost connection to the socket server. Reconnecting... every time I only shortly switch to another app.
I want to emphasize that I can see similar behavior on some other web apps using sockets (such as Komodo), but they are re-establishing the connection somehow without triggering a full page reload. The annoying part in uptime-kuma ist that this error triggers a whole reload of the page instead of trying to re-establish the socket connection in the background somehow. For example if I want to edit a config on my phone and need to look up something in another app (password, ports, protocol, whatever) and come back to Chrome the page gets auto reloaded and all my inputs are gone and I need to start over again.
Since this was requested on other issues I linked above, I also wanted to mention that this is fully reproducible on the demo page also. Therefore, I doubt this is an issue with my reverse proxy config.
π Reproduction steps
- Open uptime-kuma in Chrome for Android
- Switch to another app for about 5 to 10 seconds
- Switch back to Chrome
π Expected behavior
uptime-kuma should try to re-establish the connection without forcing a full page reload losing all inputs.
π Actual Behavior
uptime-kuma forces a full page reload and all inputs are gone.
π» Uptime-Kuma Version
Version: 2.5.0 Frontend Version: 2.5.0
π» Operating System and Arch
Linux 6.12.101+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.101-1 (2026-08-05)
π Browser
Google Chrome on Android (version 151.0.7922.137)
π₯οΈ Deployment Environment
- Runtime Environment:
- Docker: Docker version 29.7.2, build a7dcaa6
- Docker Compose: Docker Compose version v5.4.0
- Database:
- Database Storage:
- Filesystem:
- Storage Medium: NVMe
- Uptime Kuma Setup:
I'm using traefik as reverse proxy and follow the setup guide in https://github.com/louislam/uptime-kuma/wiki/Reverse-Proxy so my config looks like this (tls settings and resolver are configured in traefik centrally, but that shouldn't matter):
labels:
- traefik.enable=true
- traefik.http.routers.uptime-kuma.rule=Host(`...`)
- traefik.http.routers.uptime-kuma.entryPoints=https
- traefik.http.services.uptime-kuma.loadbalancer.server.port=3001
π Relevant log output
2026-08-16T10:39:19+02:00 [SOCKET] INFO: New polling connection, IP = 192.168.0.171
π I have found these related issues/pull requests
Several related issues:
loginemitted from theconnectcallback is silently dropped (handlers registered after anawait)Β #7710π‘οΈ Security Policy
π Description
When using Google Chrome (version 151.0.7922.137) on Android 16 I receive the message
Lost connection to the socket server. Reconnecting...every time I only shortly switch to another app.I want to emphasize that I can see similar behavior on some other web apps using sockets (such as Komodo), but they are re-establishing the connection somehow without triggering a full page reload. The annoying part in uptime-kuma ist that this error triggers a whole reload of the page instead of trying to re-establish the socket connection in the background somehow. For example if I want to edit a config on my phone and need to look up something in another app (password, ports, protocol, whatever) and come back to Chrome the page gets auto reloaded and all my inputs are gone and I need to start over again.
Since this was requested on other issues I linked above, I also wanted to mention that this is fully reproducible on the demo page also. Therefore, I doubt this is an issue with my reverse proxy config.
π Reproduction steps
π Expected behavior
uptime-kuma should try to re-establish the connection without forcing a full page reload losing all inputs.
π Actual Behavior
uptime-kuma forces a full page reload and all inputs are gone.
π» Uptime-Kuma Version
Version: 2.5.0 Frontend Version: 2.5.0
π» Operating System and Arch
Linux 6.12.101+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.101-1 (2026-08-05)
π Browser
Google Chrome on Android (version 151.0.7922.137)
π₯οΈ Deployment Environment
6I'm using traefik as reverse proxy and follow the setup guide in https://github.com/louislam/uptime-kuma/wiki/Reverse-Proxy so my config looks like this (tls settings and resolver are configured in traefik centrally, but that shouldn't matter):
π Relevant log output