Can't start working on issue

Issue #87 closed
Algemeen - PrismaNote Software created an 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)

  1. Jonathan Doklovic Account Deactivated

    @niekvanoost_excellent Can you tell me if the Bitbucket repo for the project you have open is using https or ssh authentication?

  2. Pramod Busam 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 like https://<username>@bitbucket.org/...?
    • Open VS Code command palette and run Git: Show Git Output command. Then run Git: Fetch command. Do you see any errors in the Git output in VS Code?
  3. Algemeen - PrismaNote Software reporter
    1. Yes, it is
    2. 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}"

  4. Pramod Busam 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?

    You can also try switching the clone url to use ssh protocol (https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html).

  5. Pramod Busam Account Deactivated

    Closing due to lack of activity.

    Please re-open the issue if the suggestions in the previous comment do not fix the errors.

  6. Log in to comment