Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS Code keeps disconnecting if the client device sleeps #413

Open
matifali opened this issue Dec 30, 2024 · 4 comments
Open

VS Code keeps disconnecting if the client device sleeps #413

matifali opened this issue Dec 30, 2024 · 4 comments

Comments

@matifali
Copy link
Member

Hi Team! When using Cursor/VSCode desktop, whenever we close and reopen laptop even for a few seconds, we see a popup Cannot reconnect. Please reload the window. I was wondering if this is expected behavior and if you might be aware of some settings that would make VSCode reconnect more smoothly? I tried changing connect timeout and max reconnection attempts so far but didn't see a difference.

VSCode connection often disconnects even for a slight network issue or if the device sleeps. I am unsure if this is caused by how VSCode handles remote connections as coder ssh <workspace> survives device sleep.

@coder-labeler coder-labeler bot added the help wanted Extra attention is needed label Dec 30, 2024
@matifali matifali added must-do and removed help wanted Extra attention is needed labels Feb 3, 2025
@f0ssel
Copy link

f0ssel commented Feb 10, 2025

It is possible that #420 may have solved this issue. @bcpeinhardt said he's going to try to see if he can repro and confirm if this change fixes things.

@f0ssel f0ssel assigned f0ssel and bcpeinhardt and unassigned f0ssel Feb 10, 2025
@bcpeinhardt
Copy link
Collaborator

@bpmct curious why this is marked as blocked?

@bcpeinhardt
Copy link
Collaborator

Leaving as todo in Bugs Board because it doesn't seem to have a Blocked status available.

@bpmct
Copy link
Member

bpmct commented Feb 14, 2025

@matifali told me we are are unable to reproduce and waiting on a user. If we are able to repro, this feel pretty important so don't mean to arbitrarily "block" anything

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants