Skip to content

VS Code keeps disconnecting if the client device sleeps #413

Open
@matifali

Description

@matifali

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.

Metadata

Metadata

Labels

upstreamIssues due to an upstream issue in VSCode or other dependency.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions