C
Coder.com•4mo ago
Sloth

Reconnections to VSCode fail after upgrading

Hi there 😊 We were previously running Coder 2.20.2, and have upgraded to 2.22.1. Ever since this we have had some random disconnections throughout the week where VSCode won't automatically reconnect back and presents an error "Cannot reconnect. Please reload the window" - reloading here seems to fix things but previously if there was a disconnection Coder seemed to automatically reconnect. I'm able to reproduce this pretty easily by just reloading my VSCode window. The indicator shows I am directly connected to my machine, but my vscode terminal will only work for 15-30 seconds after a reload before the error appears again & I have to reconnect. Not 100% sure where I should be looking for logs but tailing coder agent logs shows my initial "reconnect" as a new connection (action:CONNECT). But then shortly later it seems like something is terminating the connection as it shows the ssh connection as complete & logs a disconnect (action:DISCONNECT) Nothing seems particularly odd in the SSH extension logs, although it seems like an issue when it tries to reuse the existing vscode server process. Running the latest version of VSCode (1.101.1) Looking for any help someone can provide in diagnosing what is happening 😅
No description
No description
2 Replies
zounce
zounce•4mo ago
Codercord
Codercord•3mo ago
@Phorcys closed the thread.

Did you find this page helpful?