Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Stop http-nio-8090

Vick November 16, 2023

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-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 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.

Vick November 17, 2023

Hello Nic,

I think java is set correctly.

Capture5.PNG

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 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?

Vick November 17, 2023

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-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 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.

Vick November 18, 2023

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
atlassian, team '25 europe, atlassian event, barcelona 2025, jira, confluence, atlassian intelligence, rovo, ai-powered collaboration, developer tools, agile teams, digital transformation, teamwork solutions, atlassian conference, product announcements

🌆 Team '25 Europe registration is now open!

Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.

Register now
AUG Leaders

Atlassian Community Events