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 · 0 comments
Open

VS Code keeps disconnecting if the client device sleeps #413

matifali opened this issue Dec 30, 2024 · 0 comments
Labels
customer-reported help wanted Extra attention is needed

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant