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

Using libgit2 to checkout on BitBucket Server returns a 401 #793

Closed
aryan9600 opened this issue Jun 23, 2022 · 0 comments · Fixed by #794
Closed

Using libgit2 to checkout on BitBucket Server returns a 401 #793

aryan9600 opened this issue Jun 23, 2022 · 0 comments · Fixed by #794
Assignees
Labels
area/git Git related issues and pull requests bug Something isn't working

Comments

@aryan9600
Copy link
Member

Using libgit2 (with managed transport enabled) to checkout repos on BitBucket Server, with a non-blank username but empty password, returns a response with 401: failed to checkout and determine revision: unable to fetch-connect to remote 'https://gitops-bitbucket-test-server.eastus.cloudapp.azure.com/scm/git/flux2-kustomize-helm-example.git': Unhandled HTTP error 401.
In such cases, we should avoid sending requests with any authentication whatsoever.

@aryan9600 aryan9600 added area/git Git related issues and pull requests bug Something isn't working labels Jun 23, 2022
@aryan9600 aryan9600 self-assigned this Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/git Git related issues and pull requests bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant