Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

502 Bad Gateway Error When Downloading Repository

eseyden January 12, 2022

I am unable to download the tar.gz file of any of my repositories. They all are returning 502 Bad Gateway errors. I can replicate this by going to https://bitucket.org/{orginization}/{repository}/get/master.tar.gz or /master.zip

3 answers

1 accepted

0 votes
Answer accepted
Caroline R
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 12, 2022

Hi, everyone! 

Thank you for reaching out to Atlassian Community.

We identified an issue on our side that is preventing our customers from downloading their repositories using the download option at the moment. 

Our dev team is already aware of this behavior and they are working to have it fixed, although we don't have an ETA to share at the moment. 

While this is not resolved, we would like to advise you to use "git clone" instead to get the data that you need from your repository.

Kind regards,
Caroline

eseyden January 14, 2022

Hi Caroline,

Thank you for the update. I just checked and the issue looks to be resolved for our repositories today. My CI/CD pipeline relies on repository download so it would have been tricky to retool. My org is very appreciative of your team helping us getting our new release out today.

Thanks for letting us know what was going on.

Have a good one,
Eric

Like Caroline R likes this
Caroline R
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 14, 2022

Hi, Eric! 

Thanks for your feedback, I'm glad to know that! 

The issue is resolved and the fix is already deployed into the Production. We are still monitoring the issue and will provide further updates next week. 

Kind regards,
Caroline 

1 vote
freelance_mark_ballinger
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 12, 2022

I'm also having the same issue. I can't download the .Zip file.

freelance_mark_ballinger
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 12, 2022

Can someone with paid support log a ticket and report this as an issue?

Like eseyden likes this
eseyden January 14, 2022

Thanks for confirming I wasn't the only one experiencing this issue. Hope your repo is fixed now too.

0 votes
plexus77
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 10, 2022

I have started getting gateway timeouts or bad gateway responses while using Envoyer, never seen this issue before.   Tried resetting the bitbucket token to no avail, not sure what else to do.  Sounds like the issue is on the bitbucket side of things.

Please help.

Downloading the code repository.
Found tarball URL: https://bitbucket.org/xxx/xxx/get/2c5808643b1e845dc3e322136a3797213516ab76.tar.gz
--2022-07-11 15:22:24--  https://bitbucket.org/xxx/xxx/get/2c5808643b1e845dc3e322136a3797213516ab76.tar.gz
Resolving bitbucket.org (bitbucket.org)... 104.192.141.1, 2406:da00:ff00::22c5:2ef4, 2406:da00:ff00::22cd:e0db, ...
Connecting to bitbucket.org (bitbucket.org)|104.192.141.1|:443... connected.
HTTP request sent, awaiting response... 504 Gateway Time-out
Retrying.

--2022-07-11 15:23:26--  (try: 2)  https://bitbucket.org/xxx/xxx/get/2c5808643b1e845dc3e322136a3797213516ab76.tar.gz
Connecting to bitbucket.org (bitbucket.org)|104.192.141.1|:443... connected.
HTTP request sent, awaiting response... 502 Bad Gateway
2022-07-11 15:23:30 ERROR 502: Bad Gateway 
Caroline R
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 14, 2022

Hi @plexus77, sorry for taking so long to get back to you. 

I would like to ask if you could please create a new question for your issue, providing details on the errors you see. 

We generally encourage users to create a new question for their issue instead of posting on someone else's question, because 1) the root cause and resolution may be different for each case 2) a question can become cluttered and difficult to follow if we try to troubleshoot multiple users' issues in it.

Thank you. 

Kind regards,
Caroline 

plexus77
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 14, 2022

Hi Caroline,

It was an issue with the bitbucket service.... long resolved.

Like Caroline R likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events