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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


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

502 Bad Gateway Error When Downloading Repository

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{orginization}/{repository}/get/master.tar.gz or /

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.
Jan 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,

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,

Like Caroline R likes this
Caroline R
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jan 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,

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

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

Like eseyden likes this

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

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:
--2022-07-11 15:22:24--
Resolving (, 2406:da00:ff00::22c5:2ef4, 2406:da00:ff00::22cd:e0db, ...
Connecting to (||:443... connected.
HTTP request sent, awaiting response... 504 Gateway Time-out

--2022-07-11 15:23:26--  (try: 2)
Connecting to (||: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.
Sep 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,

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
AUG Leaders

Atlassian Community Events