-
Type:
Bug
-
Resolution: Timed out
-
Priority:
Low
-
Component/s: Repository - LFS
-
2
-
Severity 3 - Minor
-
35
Issue Summary
Repository clone (GIT LFS) using the repository token fails with the "Authorization error"
This is reproducible on Data Center: (yes) / (no)
Steps to Reproduce
- Clone the GIT LFS repository using the repository token
- Now fetch the lfs file using the below command
git lfs fetch --all
- LFS files will not be fetched and the clone will fail with the below error
< HTTP/2.0 401 Unauthorized 17:44:45.558717 trace git-lfs: api error: Authentication required: Authorization error: https://x-token-auth:****************@bitbucket.org/ietharsh3/mickey98.git/info/lfs/objects/batch Check that you have proper access to the repository batch response: Authentication required: Authorization error: https://x-token-auth:**********@bitbucket.org/ietharsh3/mickey98.git/info/lfs/objects/batch Check that you have proper access to the repository error: failed to fetch some objects from 'https://x-token-auth:vY6w8wrbwCFNU9N8GUVp@bitbucket.org/ietharsh3/mickey98.git/info/lfs'
Expected Results
LFS files should be fetched as expected
Actual Results
Unable to fetch the LFS files
Workaround
Clone is successful if we authenticate using the App Password