502 bad gateway
Asked by stidler:

My last question was marked as SPAM!? It received zero response and then marked as spam.?

Link: <https://community.atlassian.com/t5/Sourcetree-questions/Push-502-BAD-GATEWAY/qaq-p/947160>

Image: <https://gyazo.com/c3068644081d627ca28a62443904fa2e>

------------------------

THE PROBLEM:

I cannot push my changes up to BitBucket. Why can nobody help me with this? There is a serious problem here and I haven't been able to push up my changes for the last 3 days...

Can someone please respond to me and at least let me know what is going on or give me some ideas on what I can do to solve this issue.

Error I keep getting: <https://i.gyazo.com/1d992c6e9d4bb1d2f9c1524d23290652.png>

LOG OF ERROR:

-----------  
hg push --new-branch -f default  
abort: HTTP Error 502: Bad Gateway  
pushing to https://\*\*\*\*\*\*\*@bitbucket.org/\*\*\*\*/\*\*\*\*\*\*\*\*\*  
searching for changes  
Completed with errors, see above  
-----------

Can someone PLEASE help me with this.... PLEASE


Answers:
author: Nic Brough -Adaptavist-
body: This usually means that there is something on your network blocking access, or that the server is not working at all. Could you give us more of the error message?

comments: author: stidler
body: Nic! Thank you so much for your response.

Is there a log file of more information? The only error I see is the one in the OP:

--------------

hg push --new-branch -f default  
abort: HTTP Error 502: Bad Gateway  
pushing to https://\*\*\*\*\*\*\*@bitbucket.org/\*\*\*\*/\*\*\*\*\*\*\*\*\*  
searching for changes  
Completed with errors, see above

--------------

I've restarted my computer multiple times, I've tried flushing my DNS. I can ping your domain just fine, it's only when I try to push it just errors with 502.


author: Nic Brough -Adaptavist-
body: A 502 really does mean that either the server can't handle what you are doing, or the network you are on cannot carry it. It is not Bitbucket that is failing, it is your network. You are going to need to read the bitbucket and server logs to find out what is going wrong.


author: stidler
body: NIC!!!!!!!!!!!! It was the 'or' part of your sentence that was the issue! For the last 3 days I had tried everything to get these two very small commits to push up but it would not work.

I just drove 40 minutes to my local library and connected to their internet and tried to push it and it WORKED !!! I can't believe it! Haha, thank you so much Nic.

I do admit I live amongst fields etc and my upload is around 1mbps at home. What I was attempting to push up was minuscule compared to other stuff I've pushed before in the past from home so I never assumed it was my bandwidth that was the issue. The commits consisted of three 50kb images and a bunch of code changes. I'm so happy and relieved that it is now working.


author: Sina Radmard
body: Our team is trying to connect to bitbucket through web browser, and we are all getting

**502 bad gateway**error, or it gets to an infinite loading status. We are all connected from various parts of the world, so it seams unlikely that the problem is with our local networks.

comments: author: Talha Zafar
body: I have a problem on crom bad getaway