Forums

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

Redirecting to HTTPS even though SSL is off

Andy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 23, 2018 edited

I installed JIRA 7.9 on 64-bit Linux and all seems to be working fine when I connect via raw IP to my server: http://1.2.3.4:8080. I used most of the default options in the installer, putting in my database and other site configuration options as requested. I have NOT configured SSL, nor do I wish to at this time. I am using the webserver built-in to the Jira installation, which I believe is Apache Tomcat. There are other webapps running on my server, but nothing on port 8080. Again, when I connect via raw IP address, everything works fine.

However, when I try to connect to the site URL specified in my configuration, http://my.server.com:8080 - I am redirected to https://my.server.com:8080 - which of course fails in my browser, because it is not actually HTTPS. It does load the page via command line in curl, but of course that is just because there is no SSL check. It seems like it is still doing the 302 Redirect.

I have verified under administration that my site URL is indeed specified as http:// and not https://. I have also verified in all the web.xml and server.xml files that I can find that nothing SSL/HTTPS is turned on. When I stop the JIRA service, the site in all forms fails to load at all, so I'm quite certain this is coming from within what was installed with JIRA rather than something else on my server. So, where is this redirect taking place and how do I turn it off? Thanks in advance.

2 answers

1 accepted

0 votes
Answer accepted
Andy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 23, 2018

This one is solved: apparently HSTS was to blame. I was hosting on a subdomain of another domain on which I do host an SSL site, so apparently this was kicking in in the browser. I changed domains and the problem gone.

0 votes
Thomas Deiler
Community Champion
April 23, 2018

Dear @Andy,

I have no solution for your problem. All you described sounds logical. Just some thoughts:

Are there any proxy in-between? Also the proxy config of your browser?

The described behavior sounds like a hidden redirect directive.

What happens, when you connect from localhost? (wget, curl) Same redirect?

I recommend setting yourself a personal time limit - if you cannot get rid of the problem in time, repeat the Installation without installer (from TAR file).

So long

Thomas

Suggest an answer

Log in or Sign up to answer
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