Skip to content

Can't get workspace running on local VS Code #10477

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

Closed
M-Gonzalo opened this issue Jun 6, 2022 · 4 comments
Closed

Can't get workspace running on local VS Code #10477

M-Gonzalo opened this issue Jun 6, 2022 · 4 comments

Comments

@M-Gonzalo
Copy link

M-Gonzalo commented Jun 6, 2022

Bug description

I consistently get an error while trying to open my Bitbucket workspaces with my local copy of VS Code (they work on the web editor, though). Github repos are working fine.

Log:

[Info  - 23:55:51.811] Reading sessions from keychain...
[Info  - 23:57:11.327] Opening Gitpod workspace
vscode://gitpod.gitpod-desktop/workspace/*****************
[Info  - 23:57:11.359] acquiring lock: gitpod.io
[Info  - 23:57:11.600] acquired lock: gitpod.io
[Info  - 23:57:11.605] fetching the local app from https://gitpod.io/static/bin/gitpod-local-companion-linux
[Info  - 23:57:13.414] released lock: gitpod.io
[Error  - 23:57:13.754] failed to access the local app: Error: workspace not found
[Error  - 23:57:13.760] Failed to connect /***************** Gitpod workspace
Error: workspace not found
    at Object.onEnd (/home//*****************/.vscode/extensions/gitpod.gitpod-desktop-0.0.37/dist/extension.js:2:39099)
    at /home//*****************/.vscode/extensions/gitpod.gitpod-desktop-0.0.37/dist/extension.js:2:83511
    at /home//*****************/.vscode/extensions/gitpod.gitpod-desktop-0.0.37/dist/extension.js:2:70831
    at Array.forEach (<anonymous>)
    at e.rawOnError (/home//*****************/.vscode/extensions/gitpod.gitpod-desktop-0.0.37/dist/extension.js:2:70793)
    at e.onTransportHeaders (/home//*****************/.vscode/extensions/gitpod.gitpod-desktop-0.0.37/dist/extension.js:2:68370)
    at e.responseCallback (/home//*****************/.vscode/extensions/gitpod.gitpod-desktop-0.0.37/dist/extension.js:2:58475)
    at Object.onceWrapper (node:events:510:26)
    at ClientRequest.emit (node:events:390:28)
    at HTTPParser.parserOnIncomingClient (node:_http_client:623:27)
    at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17)
    at Socket.socketOnData (node:_http_client:487:22)
    at Socket.emit (node:events:390:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at Socket.Readable.push (node:internal/streams/readable:228:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:199:23)

Steps to reproduce

Open a bitbucket workspace (it works on the web editor) and try to open it with local VS Code

Workspace affected

No response

Expected behavior

No response

Example repository

No response

Anything else?

No response

@M-Gonzalo M-Gonzalo added the type: bug Something isn't working label Jun 6, 2022
@jeanp413 jeanp413 self-assigned this Jun 9, 2022
@geropl
Copy link
Member

geropl commented Jun 10, 2022

According to @jeanp413 this call fails when retrieving the workspace from local VSCode. Works for a GitHub repo, but fails for a BitBucket one.

@jeanp413
Copy link
Member

@M-Gonzalo could you try the following and let me know if that works or not 🙏

  • update your vscode settings.json with "gitpod.remote.useLocalApp": false or install the pre-release version of gitpod-desktop extension
  • configuring your ssh keys in Gitpod before trying to connect again

image

@mustard-mh
Copy link
Contributor

mustard-mh commented Jul 21, 2022

I'll close this issue, since we can't reproduce it. Feel free to re-open it if it happens again 🙏

@mustard-mh mustard-mh closed this as not planned Won't fix, can't repro, duplicate, stale Jul 21, 2022
@mustard-mh mustard-mh moved this to Done in 🍎 WebApp Team Jul 21, 2022
@M-Gonzalo
Copy link
Author

M-Gonzalo commented Jul 29, 2022

@M-Gonzalo could you try the following and let me know if that works or not pray

* update your vscode settings.json with `"gitpod.remote.useLocalApp": false` or install the pre-release version of `gitpod-desktop` extension

* configuring your [ssh keys in Gitpod](https://gitpod.io/keys) before trying to connect again

image

My man, this issue is two months old. I had to move on, didn't have any choice.
I won't be testing this since I have no use for Gitpod right now.
I stopped checking here after a couple of weeks of silence, and I see your comment only by chance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Status: No status
Development

No branches or pull requests

6 participants