Hi Folks

I tried to run Jira over https. But this didn't work, so I going back to http. 

I changed the httpd.conf (Apache Proxy) and the server.xml back and restarted apache and jira. But I'am still getting redirected to https://jira.<someting>.com:8443/jira$

Did I forgot someting?

1 answer

0 votes

You might be better off trying to fix "run over https, but this didn't work", as https is strongly recommended for any system on a network nowadays.

But, what you might be missing are:

  • Whatever in Apache might be redirecting http to https (you might not have done this, so there might be nothing to check)
  • The base url in Jira
  • The connector settings in the server.xml (have you removed all three things that enable https?)
  • The urls in the reverse proxy settings in apache

Thank you for your fast reply!

I have to fix jira first. Afterwards I will give another try for https. At the moment I can't connect to jira neither over https nor http.

In the server.xml connector string port, proxyport and scheme is set as described.

the urls in the httpd.conf are also set to http

Ok, so what are the errors in the logs, and/or the errors you get when you try to reach it?

Browser: ERR_CONNECTION_TIMED_OUT

Apache:

[Fri Jan 04 14:51:46.786917 2019] [proxy:error] [pid 1812:tid 1064] (OS 10061)No connection could be made because the target machine actively refused it. : AH00957: HTTP: attempt to connect to <IP-Addrss>:8080 (<jira-name>) failed
[Fri Jan 04 14:51:46.786917 2019] [proxy_http:error] [pid 1812:tid 1064] [client <ip-address>:46392] AH01114: HTTP: failed to make connection to backend: <jira-name>

 

no errors in jira

how can I change the base url in jira - i cannot connect to jira

Don't worry about the base url yet - it could be taking you back to https, but it won't stop you connecting to Jira.  You need to get that working before you can change the base url.

The error you have there is that Jira is not responding to the proxy.   The usual reason for that error is that Jira is not running.

You'll need to read the Jira application logs to find out why it's not running.

I checked the database, the base url should be right.

The jira-service is running - I am sure because I am receiving notification emails from jira e.g. Service desk new issue created.

Ok, so it's running, but not serving - again, you'll need to read the logs to find out why, and check where it is supposed to be listening to you.

any recommendations in wich logs I should start searching?

You should find out if Jira is failing by reading through <jira home>/log/atlassian-jira.log.If there's no smoking gun in there, try <jira install>/log/catalina.out  for the Tomcat log - this should catch cases where Tomcat starts ok and looks like Jira is running, but it can't get Jira to start internally.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

116 views 0 5
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