502 Bad Gateway nginx

Hi All,

We have installed JIRA and Confluence and access them as sub domains. The server was down for some time (< 48 hours). When we rebooted the server JIRA returns 502 and Confluence is working without and issue.

  1. Previously JIRA's Thread Limit Health Check complained, applied resolutions mentioned here.
  2. Tried restarting nginx, JIRA and Confluence.
  3. Googled the issue and tried tweaking the JIRA conf file and server.xml file.

Nothing worked and I reverted all file changes to the previous working state. I will link the conf files below for JIRA and Confluence and the server.xml files.  Any suggestions? :)

JIRA ConfConfluence ConfJIRA server.xmlConfluence server.xml

 Many Thanks.

 

2 answers

1 votes

Can you get to Jira locally, without going through the proxy?  If you can, then it's a proxy error, if you can't, then start with a look at the Jira application logs to see where it is going wrong.

Hey Nic,

Thanks for replying. I'll see what I can do, looks like there is something wrong with the server as well. I'll update this thread asap.

Our System Administrator solved the issue for us, all he said was "wrong protocol between reverse proxy and backend. and a lot of other mess.". Hope this helps to anyone reading this thread :)

Got another update from our admin :)

- "There were 3 jira accounts (I have configured only one). And every account was pointing to its own instance. Nginx and me myself were totally lost where to proxy jira requests. So I had to remove all these accounts, instances, change ownership of jira files, and kept only one startup init file."

Any ideas as to what caused this?

Sounds like you've installed it three times.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,096 views 13 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot