Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Receiving a 404 when requesting a repository from Bitbucket over SSH.


We have an internal composer server (Satis) that has been running for years without issue.

A couple of weeks ago, the builds stopped working, and we now receive the following error from composer:

[Composer\Downloader\TransportException (404)]
The "{username}/{reponame}?field
s=-project%2C-owner" file could not be downloaded (HTTP/1.1 404 Not Found)

Obviously with the user/repo redacted for the sake of this post.

The repository definitely exists - it can be checked out with Git on my main work computer, we've not touched or updated the composer server in a good long time, and we've confirmed that the SSH key on the server and bitbucket still works and we can make the connection.

So, what changed with Bitbucket? and how do we resolve this?

EDIT:: For clarity, we have tested this with a number of Bitbucket repositories - all seem to have the same issue.

1 answer

1 accepted

0 votes
Answer accepted

The issue appears to be caused by this change in functionality on Bitbucket Cloud.

The composer server attempts to make a connection if it gets a 403, but a 404 is an exception.

Utterly stupid change.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,166 views 2 9
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you