Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JIRA Cloude VSCode extension on WSL2

When using the extension with WSL2, it doesn't allow me to login and says:

Authentication cannot be done while running remotely

Is there a way around this? or can I initiate the connection from WSL2's Ubuntu with some command line?

1 answer

0 votes
Pramod Busam Atlassian Team Sep 18, 2020

@Rolf Chen We are actively working on supporting VS Code remote development. You can watch this issue for progress - https://bitbucket.org/atlassianlabs/atlascode/issues/429/can-not-login-into-bitbucket-cloud-from.

Meanwhile, can you try disconnecting from WSL, then authenticating with Jira from the extension settings, and connecting to WSL again and see if that works?

@Pramod Busam when I do this, Jira works on windows but still not on wsl. What's more, if I close vscode and reopen it on windows I start getting an error again.

 

This is the error message I get:  "cannot get client for: Jira"

I, too, am running into this.

I was able to get it working by authenticating while not connecting to WSL and then connecting. I was able to work with the jira extension features for a day or two while in WSL and then tonight it mysteriously stopped working with the same error that @felipe_rios mentioned.

I followed these steps, but it did not resolve my issue: https://bitbucket.org/atlassianlabs/atlascode/issues/407/jira-issues-not-working-anymore

If I run VSCode without WSL, the extension works as expected.

Would you have any further advice at this point?

rberga I'm New Here Oct 14, 2021

Disconnection from WSL as suggested above, installing the JIra/Bitbucket extension on VSCode (local, not wsl), then it allowed me to authenticate to Bitbucket from inside VSCode. After I went back into VSCode on WSL2, and it worked.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Jira Software

👋 Looking for 15-20 volunteers to test Atlassian training content

Hi everyone! Are you interested in beta testing Atlassian University’s newest (unreleased!) training course? We’re looking for 15-20 volunteers to test our newest training course, Basic reporting...

449 views 19 23
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you