Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentication errors on Bitbucket.ORG over SSH #170436

Closed
notorand-it opened this issue Jan 3, 2023 · 4 comments
Closed

Authentication errors on Bitbucket.ORG over SSH #170436

notorand-it opened this issue Jan 3, 2023 · 4 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug git GIT issues info-needed Issue requires more information from poster ssh

Comments

@notorand-it
Copy link

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.74.2 (Commit: e8a3071)
  • OS Version: ArchLinux/KDE (up-to-date)

Steps to Reproduce:

  1. Setup Bitbucket.org SSH access (key pair)
  2. Clone a repository from bitbucket.org
  3. Try to commit/push several changes via internal git client via source control menu

Actual Result:

First commit/push usually (but not always) works. Subsequent ones, don't.
Error: cannot read from remote repository.
Partial log follows:

2023-01-03 08:46:43.756 [info] > git config --get commit.template [2ms]
2023-01-03 08:46:43.762 [info] > git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) refs/heads/dev refs/remotes/dev [1ms]
2023-01-03 08:46:43.772 [info] > git status -z -uall [5ms]
2023-01-03 08:46:43.773 [info] > git for-each-ref --sort -committerdate --format %(refname) %(objectname) %(*objectname) [1ms]
2023-01-03 08:46:44.870 [info] > git ls-files --stage -- /home/enzo/Git/e2e-test/README.md [1ms]
2023-01-03 08:46:44.885 [info] > git cat-file -s 39af52c077c0d4c3bc7730b362592e0bf7f635db [5ms]
2023-01-03 08:46:44.898 [info] > git show --textconv :README.md [4ms]
2023-01-03 08:46:45.522 [info] > git log --oneline --cherry dev...dev@{upstream} -- [3ms]
2023-01-03 08:46:46.699 [info] > git ls-files --stage -- /home/enzo/Git/e2e-test/README.md [1ms]
2023-01-03 08:46:46.713 [info] > git cat-file -s 39af52c077c0d4c3bc7730b362592e0bf7f635db [4ms]
2023-01-03 08:46:46.726 [info] > git show --textconv :README.md [3ms]
2023-01-03 08:46:56.814 [info] > git pull --tags origin dev [11286ms]
2023-01-03 08:46:56.814 [info] fatal: Impossibile leggere dal repository remoto.

Doing a manual "git push" from terminal works flawlessly.

Expected Result:

Code changes are gracefully committed and pushed to remote repository via code control buttons w/o any issue.

How Often Does it Happen ?

9 times out of 10. Usually 1st commit/push works. Subsequent ones don't.
Not always true, not exactly reproducible.

Has it worked before?

Yes. It's a few months now it is not working anymore.

@lszomoru
Copy link
Member

lszomoru commented Dec 5, 2023

@notorand-it, apologies for not getting back to you on this until now but I was wondering whether you are still running into this issue? Thank you!

@lszomoru lszomoru added bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster labels Dec 5, 2023
@notorand-it
Copy link
Author

It's gone.

@notorand-it
Copy link
Author

Closing.

@lszomoru lszomoru closed this as completed Dec 5, 2023
@lszomoru
Copy link
Member

lszomoru commented Dec 5, 2023

@notorand-it, thanks for the update. Closed the issue.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 19, 2024
@aiday-mar aiday-mar added this to the December / January 2024 milestone Feb 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug git GIT issues info-needed Issue requires more information from poster ssh
Projects
None yet
Development

No branches or pull requests

3 participants