Skip to content

Trouble connecting to workspace in VSCode when name matched deleted workspace #423

Open
@bcpeinhardt

Description

@bcpeinhardt
Collaborator

FYI, we had a report of someone having trouble connecting to a workspace via VS Code when the name matched the name of a previous workspace they had deleted. It seems like there's some state leakage in the VS Code extension.

^ Context linked from Slack.

Activity

self-assigned this
on Jan 21, 2025
added theissue type on Feb 5, 2025
gtaylor

gtaylor commented on Apr 2, 2025

@gtaylor

I may be running into the same issue. Here's what I'm seeing

Image

The interesting thing is that I frequently delete and recreate workspaces with the same name but am only just seeing this out of the blue. Looking through my VS Code extensions outputs, the only potentially interesting thing I saw was the Extension Host (local) output:

2025-04-02 10:58:46.797 [error] ProxyResolver#resolveProxy undefined Canceled: Canceled
	at new dR (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:111670)
	at qy.U (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:116281)
	at s.<computed>.n.charCodeAt.s.<computed> (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:113775)
	at cw.resolveProxy (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:109:54839)
	at Object.resolveProxy (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:174:18017)
	at useProxySettings (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/@vscode/proxy-agent/out/index.js:182:16)
	at /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/@vscode/proxy-agent/out/index.js:119:13
	at /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/@vscode/proxy-agent/out/index.js:707:13
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 
2025-04-02 10:58:46.799 [info] Extension host with pid 21200 exiting with code 0

The Coder output didn't have anything out of the ordinary in it.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @gtaylor@matifali@bcpeinhardt

        Issue actions

          Trouble connecting to workspace in VSCode when name matched deleted workspace · Issue #423 · coder/vscode-coder