My JIRA instance was recently put under a proxy so that external users could access it without the need for a VPN-client. However the proxy serves pages via HTTPS, and tomcat serves them over HTTP. I can't change the port on which the proxy forwards the requests, thus I'm stuck using port 80 on tomcat.
JIRA is now reporting some errors related to this, some dashboard widgets do not work, and I can't get my head around the documentation, since it assumes that I have control over the proxy, which I do not.
Could someone hint on how I should modify my server.xml to get rid of the errors?
I've made the BASE URL-changes in JIRA, and turned off GZIP-compression.
And Admin, this is not spam. Nor was the previous question...
It shouldn't be an issue that tomcat is listening on port 80 since the HTTPS proxy is running on 443, the default HTTPS port. (assumption) Whether tomcat runs over SSL or not really has no bearing on the situation because the proxy is running on SSL and is handling the security. Here's an example configuration on our instance:
<Connector port="8091" maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false" maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" acceptCount="100" disableUploadTimeout="true" secure="true" proxyName="jiratest.mydomain.com" proxyPort="443" scheme="https" />
So in this example you should change the proxyName to whatever the https URL is for your domainm the rest can stay but you should take into account your instance size and more when working our the MaxThreads, minSpareThreads, connectionTimeout and more.
Now there's a couple ways to get the redirect for your site to function as expected:
At this point, it seems like you're going to need some interaction with the proxy administrators unless anyone else has a clever idea.
Just adding proxyName=
"jiratest.mydomain.com"
proxyPort=
"443"
scheme=
"https" to the connector config, removed the error messages.
Now the only thing remaining is a few dashboard widgets that don't work. The Activity Stream is one of them.
Checking the URL:s for those widgets, I find that they still contain old URL-references.
Will this be resolved if I get the proxy guy to implement the changes you suggested?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Which type of Proxy is this? It sounds like it may be incorrectly configured, or you may need to flush your JIRA caches out. The first sounds like the most likely culprit. Do you have an screenshot of the errors that your can share? It may be worth sticking a support ticket in to Atlassian. This is what I found: https://confluence.atlassian.com/display/JIRAKB/JIRA+Displays+an+Error+Banner+about+the+Base+URL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That banner is gone since I modified the server.xml according to your suggestions. The only thing remining seems to be some references to the old URL. Thanks for your help. I've created a support ticket.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'll add an answer to the second part of the issue:
Following the instructions here: https://donalconlon.wordpress.com/tag/forefront-tmg/ makes the Activity Stream work again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.