Can not login into Bitbucket Cloud from Visual Studio Codspaces (cloud ide)
- I am able to connect to my bitBucket Rep from Vs Code( installed version). When I tried to do the same from Visual Studio Code Space( cloud ide), the authentication fails.
-
Option for Loggin into “Bitbucket cloud” opens up the following url, that does not work:
- http://127.0.0.1:31415/bbcloud?state=683b1d9f-ee92-4cb2-ab06-be0b73d8c393&code=<code>
- Error says “site cannot be reached” ( please see the attached screenshot)
- fyi: I had already logged in to my Bitbucket.org account, from another Tab.
Comments (26)
-
reporter -
reporter - edited description
-
Same problem here – is it possibly due to using WSL?
-
@Arpit Shah , we don’t currently support Visual Studio Cloudspace. We’re evaluating what we’ll need to do to create and store credentials when not running locally.
-
Alec Davila, If you’re connecting to WSL you can’t authenticate while running in the remote environment, however, you can authenticate while running locally and that authentication will continue to work when working in the remote environment.
-
- changed title to Can not login into Bitbucket Cloud from Visual Studio Codspaces (cloud ide)
- edited description
-
reporter Do you have any workaround? I need to create the project in VS code space, from the folder that is on my Bitbucket repository.
Is there a way we can use existing auth mechanism to work on cloud ide? I am running it from Mac OS
-
We have a task on the backlog to allow for authentication in remote environments. Until we complete that work I don’t know of a workaround for Codespaces.
-
reporter Thanks Nick for your replying to my query.
Is it possible to get notification once the task is complete from your side?
Is it feasible to know approximate timeframe for the completion of the task?
-
I don’t see another Bitbucket issue for this so I’ll make this the public tick to track it. We’ll update this ticket when we’ve released the new authentication method.
I’m not ready to set a timeline for this work yet.
-
Tracked internally as VSCODE-734
-
- changed status to open
-
I am getting the same error but with VS Code. Any help is appreciated!
-
Same issue here as @Rafed Alwani . Cannot login via VSCode on Windows 10 Pro machine. Redirects to 127.0.0.1: <<port>>.
-
@Rafed Alwani @Colin McClure Are you working on a local project or are you using the remote development feature to work via SSH, WSL or a container?
-
Facing the same issue. I am using code-server on a cloud server (EC2 instance). It would be great if someone can suggest a work-around; probably by invoking such authentication via command line on the cloud server running code-server (or anything else)?
-
@Nick Rundquist…By when can we expect to have this fix (tentative)?
-
FYI for public, this issue also affect Eclipse Che (and RedHat Codeready / Gitpods / etc …). You might follow it for progress.
https://bitbucket.org/atlassianlabs/atlascode/issues/303/make-atlascode-compatible-for-theia
-
Any updates on this issue?
-
+1 on this issue
-
+1 On this issue
-
+1 on this issue
-
+1 Unable to use Salesforce Code Builder and authenticate to Bitbucket.
‘Authentication cannot be done while running remotely’
-
Error authenticating with Jira: AxiosError: Request failed with status code 403
-
+1 Unable to use Salesforce Code Builder and authenticate to Bitbucket.
-
Is there any resolution or plan for this? Are there other options? Cloud development environments are increasingly popular and missing this access to a paid subscription Jira is really going to pose a challenge to businesses looking to adopt.
- Log in to comment