Can't start working on issue
When I click on ‘Start work on issue’ I get ‘waiting for data’ and after some time I get 2 or 3 Bitbucket login popups with my username prefilled. The popups will not be always on the front, so Not every time you will notice them.
After login in all popups, he is still waiting for data, and after a while he will ask again to login.
VS Code:
Version: 1.33.1 (system setup)
Commit: 51b0b28134d51361cf996d2f0a1c698247aeabd8
Date: 2019-04-11T08:27:14.102Z
Electron: 3.1.6
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.18362
Jira: 1.2.3
Windows 10 pro (1903)
Comments (6)
-
Account Deactivated -
reporter https. I believe the default.
-
Account Deactivated @niekvanoost_excellent Can you check a couple of things?
- If you run
git remote -v
on the command line, does the url look something likehttps://<username>@bitbucket.org/...
? - Open VS Code command palette and run
Git: Show Git Output
command. Then runGit: Fetch
command. Do you see any errors in the Git output in VS Code?
- If you run
-
reporter - Yes, it is
- He will open the ‘bitbucket’ auth window every time after running git fetch. After entering my password in that window he does nothing. This is the log from the output window:
> git status -z -u > git symbolic-ref --short HEAD > git show :api/controllers/shops.controllers.js > git rev-parse development > git rev-parse --symbolic-full-name development@{u} > git rev-list --left-right development...refs/remotes/origin/development > git for-each-ref --format %(refname) %(objectname) --sort -committerdate > git remote --verbose
After that the loading screen disappears and shows the ‘start working on' window with an error. The dropdown fields shows an empty list.
Something went wrong
"error updating issue: Failed to execute git {\n \"exitCode\": 128,\n \"gitErrorCode\": \"AuthenticationFailed\",\n \"gitCommand\": \"fetch\",\n \"stdout\": \"\",\n \"stderr\": \"fatal: HttpRequestException encountered.\\n Er is een fout opgetreden bij het verzenden van het aanvraag.\\r\\nMissing or invalid credentials.\\nSkip fetch commands\\nremote: Invalid username or password\\nfatal: Authentication failed for 'https://username@bitbucket.org/team/project.git/'\\n\"\n}"
-
Account Deactivated @Algemeen - PrismaNote Software It looks like the git process is not able to get the credentials automatically. Can you see if any of the suggestions in the following links help?
- https://help.github.com/en/articles/caching-your-github-password-in-git
- https://stackoverflow.com/questions/34400272/visual-studio-code-always-asking-for-git-credentials
You can also try switching the clone url to use ssh protocol (https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html).
-
Account Deactivated - changed status to closed
Closing due to lack of activity.
Please re-open the issue if the suggestions in the previous comment do not fix the errors.
- Log in to comment
@niekvanoost_excellent Can you tell me if the Bitbucket repo for the project you have open is using https or ssh authentication?