Cannot complete installation - 502 Bad Gateway error

I am trying to install JIRA on our server, but it so far it has been quite a nightmare...

Multiple times during the installation, we got 504 error and sometimes 502 error. When we get 502 the server becomes 100% unresponsive (just keeps giving 502) and I have to go and manually restart JIRA service.

I was still able to get to the point of setting up admin user, but now I am stuck at the last step of setup process, getting 502 error. I have restarted multiple times, completed same steps multiple times and still on the last step (the setup says "Setting up last step") I get 502. I wasnt able to go through that. 

 

I am using pretty standard AWS configuration with nginx as a web server.

 

Please help?

1 answer

0 vote

What does the application log say?  And what is the memory/cpu usage when it appears to be stopping?

CPU: ~ 35% but not every time I restarted Jira. nginx logs say that connection was refused and prematurely closed by jira. In catalina sometimes nothing, but couple of times I got insuficient memory for java runtime to continue

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Fadoua M. Boualem
Published Monday in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

513 views 8 9
Read article

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