Closed
Description
The same problem as #1795 is still happening with 3.5.0 only in Safari on iPad.
Even after closing all tabs or even browser, it seems Code-Server recognizes 1 active connection. Because of that, Heartbeat keeps getting touched.
2020-09-04T15:01:35.219Z] trace 2 active connections
[2020-09-04T15:01:35.220Z] trace heartbeat
[2020-09-04T15:02:35.220Z] trace 1 active connection
[2020-09-04T15:02:35.221Z] trace heartbeat
[2020-09-04T15:03:35.221Z] trace 1 active connection
[2020-09-04T15:03:35.221Z] trace heartbeat
I’ve confirmed that this phenomenon doesn’t happen in Chrome on Windows/macOS, nor Safari on macOS. It seems to happen only in Safari on iPad OS.
FYI, this is the log when I connect to a Code-Server instance by desktop browsers.
[2020-09-04T14:56:03.729Z] trace 2 active connections
[2020-09-04T14:56:03.729Z] trace heartbeat
[server] disconnected from client {"proxies":3}
[2020-09-04T14:57:03.731Z] trace 0 active connections
[2020-09-04T14:57:49.490Z] trace heartbeat
BTW, I’ve noticed this problem while I’m testing Out-of-the-Box-CodeServer, which is an easy setup tool of Code-Server. So, you can reproduce the environment by the tool if you need.
- Web Browser: Safari
- Local OS: iPad OS 13.6
- Remote OS: Ubuntu 20.04
- Remote Architecture: amd64
code-server --version
: 3.5.0 de41646