Islandora-Devops/isle-site-template

BUG: IDE disconnects after 5 minutes

Closed this issue · 5 comments

rosiel commented

Reliably 5 minutes after launching the IDE, it becomes unusable - "disconnected" - displaying constantly moving "thinking" bars indicating it's trying to find a connection. From this point it's not possible to open new files or save changes to files.

Reloading the browser window causes it to reconnect, but this is very frustrating.

The logs for the IDE container (as viewable in Docker Desktop) show this:

2023-09-26 10:24:19 [13:24:19] [172.22.0.18][ead4c780][ManagementConnection] New connection established.
2023-09-26 10:24:19 [13:24:19] [172.22.0.18][1d5711df][ExtensionHostConnection] New connection established.
2023-09-26 10:24:19 [13:24:19] [172.22.0.18][1d5711df][ExtensionHostConnection] <12380> Launched Extension Host Process.
2023-09-26 10:24:20 [IPC Library: Pty Host]  WARN Persistent process "1": Process had no disconnect runners but was an orphan
2023-09-26 10:24:20 [IPC Library: Pty Host]  INFO Persistent process reconnection "1"
2023-09-26 10:24:20 [IPC Library: Pty Host]  INFO Persistent process "1": Replaying 9481 chars and 1 size events
2023-09-26 10:29:19 [13:29:19] [172.22.0.18][ff4e785e][ExtensionHostConnection] <7195> Extension Host Process exited with code: 0, signal: null.

Possibly the same issue? coder/code-server#4746

We don't use the cert feature in the IDE itself, traefik handles the certificates, so might be something else?

Upgrading to the latest code-server may help... We're currently on 4.11.0. I can't seem to reproduce this locally but I'm running on a M1 Mac. @rosiel can you give your host system information?

rosiel commented

I'm running an M2 mac with Ventura (13.5.2) (soon to be upgraded). Docker is at 4.23.0 with Docker Engine at 24.0.6.

On the same computer, this issue is no longer happening.
Docker is at Docker Desktop 4.26.1 and Engine 24.0.7.
I'll close and let anyone re-open if it re-occurs. At the moment it seems like it might have been isolated to me.