gitpod icon indicating copy to clipboard operation
gitpod copied to clipboard

Error running command gitpod.workspaces.connectInCurrentWindow_inline@1: Invalid URL

Open elee02 opened this issue 2 years ago • 4 comments

Bug description

I am encountering an issue when trying to connect to a workspace in Gitpod through Visual Studio Code. The error message I receive is:

Error running command gitpod.workspaces.connectInCurrentWindow_inline@1: Invalid URL: https:/<REDACTED: user-file-path>. This is likely caused by the extension that contributes gitpod.workspaces.connectInCurrentWindow_inline@1.

Steps to reproduce

  1. Open Visual Studio Code.
  2. Attempt to connect to a Gitpod workspace.

Workspace affected

No response

Expected behavior

I expect to be able to connect to the Gitpod workspace without any issues.

Actual behavior:

I receive the aforementioned error message.

Example repository

No response

Anything else?

  • Visual Studio Code version:

Version: 1.84.1 (Universal) Commit: 2b35e1e6d88f1ce073683991d1eff5284a32690f Date: 2023-11-06T12:37:18.666Z Electron: 25.9.2 ElectronBuildId: 24603566 Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Darwin x64 20.6.0

  • Gitpod extension version: v0.0.163

  • Operating System: MacOS Big Sur Version: 11.7.10 (20G1427)

Screen Shot 2023-11-08 at 20 34 51

Any help resolving this issue would be greatly appreciated.

elee02 avatar Nov 08 '23 11:11 elee02

Hi @elee02, can you make sure both vscode and gitpod vscode extension is up to date? If it is, can you try again and let us know if the issue still persists?

axonasif avatar Nov 21 '23 15:11 axonasif

@axonasif hi, I have the same problem with vs code insider , both things are up to date

error9098x avatar Jan 17 '24 12:01 error9098x

i have the same issue with windows 10 vscode v 1.86.1 and gitpod extn v0.0.164. When I try to open with vscode desktop from within a workspace, it works.

Found out that gitpod extn is outdated. I did search in vscode extensions panel and installed. Not sure how it installed a very old version.

saravmajestic avatar Feb 09 '24 06:02 saravmajestic

Hi, I am facing the same issue. Did we find any solution for this?

dipeshsingh253 avatar May 23 '24 09:05 dipeshsingh253

Good day! Unfortunately, no, I went back to use github copilot

elee02 avatar Jun 02 '24 03:06 elee02

I found out that the issue is only when you try to open it from github extension in vscode you face this issue. If you connect it from browser instance it works fine. Have a good day too !!! image

dipeshsingh253 avatar Jun 02 '24 04:06 dipeshsingh253

Wow, the observation is much appreciated!

elee02 avatar Jun 02 '24 09:06 elee02