Forums

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

404 error when running jira behind apache and ssl

Devon Jobes July 8, 2014

The requested URL /secure/MyJiraHome.jspa was not found on this server. I keep getting this error after configuring apache with Jira's instructions.

2 answers

1 accepted

0 votes
Answer accepted
Devon Jobes July 8, 2014
I uncommented the https connector in the server.xml file and now it is working. The instructions say comment that out.
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.
July 8, 2014

That's not what the documentation says.

Devon Jobes July 8, 2014

That is the only thing I changed and now it is working.

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.
July 8, 2014

So, you're saying that following the documentation worked then?

Devon Jobes July 8, 2014

All of the documentation worked when I uncommented the SSL port in the server.xml file. With the SSL port commented out the configuration did not work. I also added "*:443" as the virtual host compared to just "*" the way the documentation has it listed.

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.
July 8, 2014

The documentation you've said you've been reading doesn't mention the SSL ports at all.

So, I assume you did something undocumented, and then when you un-did it, it worked? Or you've not pointed us at what you actually followed? (Such as the doc which tells us how to uncomment the ssl connection)

Jason Rider
Contributor
October 15, 2015

I would like to point out that I followed the directions, to a t @ https://confluence.atlassian.com/adminjiraserver070/integrating-jira-with-apache-using-ssl-749383660.html AND https://confluence.atlassian.com/doc/using-apache-with-mod_proxy-173669.html Got the same error as the OP. No where in that documentation does it say to edit the tomcat server.xml file to uncomment out the https connector (it is defaulted to being commented out).

0 votes
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.
July 8, 2014

That implies you've got the config wrong somewhere - which documentation did you follow, and what did you do differently, or what's the non-standard setup of your server?

Devon Jobes July 8, 2014
I followed these instructions https://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+Apacheand didn't do anything different. My instances are running on the same server. I have tried using a path and no path. Nothing seems to work.
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.
July 8, 2014

I'm afraid we're kind of stuck then.

If you've followed those instructions, Jira and Apache work - I did this last Thursday, so I know it works.

First question is what you've done to debug this - you're saying a single URL doesn't work - what about the others you've tried? Is Jira actually running at all? Is it serving up some pages and not others? Probably ost useful - what do your log files say?

Next question is to try to establish exactly where the issue might be. What are you running this on (rough outline of the hardware and OS), what versions of Java, Jira and Apache?

NGS Webmaster October 7, 2014

I am in same situation. I am on a deadline. I am filling for my web admin who is on extended leave. Now I need to deploy JIRA to production soon. I am having tough time with jira running on https. Here is what I have 1. I have a server which is already configured for apache and tomcat and ssl 2. my java apps work fine that uses https 3. I installed jira with port 8090 and it works fine 4. Now I needed to use https 5. I added a context path /jira to server.xml 6. i changed my tomcat_proxies.conf file to reflect RewriteCond %{REMOTE_ADDR} !127.0.0.1 RewriteCond %{REMOTE_ADDR} !205.156.38.16 RewriteCond %{REMOTE_ADDR} !205.156.38.59 RewriteCond %{REQUEST_URI} ^/jira($|/.*) RewriteCond %{SERVER_PORT} ^80$ RewriteRule .* https://server url [R,L] 7. i get this error 'jira/secure/MyJiraHome.jspa'. How do i resolve this? What am I doing wrong? Please help. We are under the impression that by buying jira, we get technical support for 1st year. I need help.

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.
October 7, 2014

Step 6 - that's not right. You absolutely should never rewrite 127.0.0.1 in any case, and the documentation makes no mention of rewrites, it uses proxies. Could you try it with the proxies as documented instead?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events