Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

Stop http-nio-8090

Capture 4.PNG

nginx - 502 bad gateway

Permissions granted to all installation directories

Port not in use by another application

1 answer

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 16, 2023

Welcome to the Atlassian Community!

This looks like Java is not installed properly, for the user running Confluence, my guess is that the path to Java is not set up right.

Hello Nic,

I think java is set correctly.

Capture5.PNG

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 17, 2023

The error is telling us that Java can't find the main class, which is usually down to Java not being set up correctly.  It may also be that the application environment is not set up correctly.

I think you need to look at how you built the service - did you use the installer, or worked from a compressed file install?

Thank you for your response :D

I performed these steps in order.

1) Installed java = sudo yum install java-11-openjdk

2) set the home path = sudo vim /etc/environment - JAVA_HOME=/usr/lib*****

3) reloaded home environment = source /etc/environment

4) Installed confluence via bin file / installer

Able to reach localhost:8090 after installation. After I comment out default connector and enable nginx connector, I receive that error message. 

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 17, 2023

Ok, so there's something wrong in the config of the nginx connector.

To debug this, I would start by not commenting out the default connector - you can have many connectors if you want, as long as they are on different ports, so re-enabling the default won't cause you any problems.  If the problem goes away, then you know that the nginx connector is the problem.

Perfect! leaving default connector enabled and also enabling nginx https connector worked! 

Despite documentation, do not disable / comment out default connector.

Thank you Nic!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events