[resolved] Git LFS requires password for public repository from anonymous user Edited

Hello

I maintain an open-source project on BitBucket, which has a public repository there. Since there are a lot of binary files, I use Git LFS to store them.

Now a user, who wants to clone this repository told me, that he has to enter credentials for the LFS files. Since he has no bitbucket account, he did not enter anything. In this case the clone process stops with an error message "Credentials not found" when trying to download LFS files.

Can Git LFS only be used with a valid bitbucket account? Or is this an error?
Before I switched the repository to public, it was a private repository. Maybe the "public" state has not been propagated to the LFS storage?

How can I debug this?

Best regards

1 answer

After discussing this issue with the support, we found the root cause: My username was part of the URL, which the user used for cloning. Thus he had to provide a password, even for a public repository.

Using the raw repository URL (without username before bitbucket.org), works fine.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,739 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you