SSL mismatch on jira

Hi - Anyone has been able to configure HTTPS on jira and offloading the SSL encryption and decryption at the load balancer level? Im having some 80 & 433 mismatch errors when using HTTPS on jira. 

Error from the catalina.out log:

"com.atlassian.gadgets.dashboard.internal.diagnostics.UrlPortMismatchException: Detected URL port, '80', does not match expected port, '443'" 


Config on the server.xml file:


<Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol"
maxHttpHeaderSize="8192" SSLEnabled="true"
maxThreads="150" minSpareThreads="25"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="false"
clientAuth="false" sslProtocol="TLS" useBodyEncodingForURI="true"/>

<Service name="Catalina">

<Connector port="8080"



proxyport="443" />



2 answers

0 votes
Peter DeWitt Community Champion Sep 27, 2017

Alex, I run my Atlassian apps in this configuration.  Check out these articles by Atlassian:

These are what I have used to get things up and running.



Hi Alex!

Thank you for including the details from your server.xml file - definitely necessary for troubleshooting SSL errors.

I think part of your problem might be having the internal SSL connector added - that's the 8443 connector, the first block in your paste. Deleting everything above <Service name="Catalina"> might actually clear things up for you. (reminder that you need to restart JIRA after making changes to server.xml)

Also double-check that you have the right URL (with an https in the front) in the base URL field in the General Configuration screen in JIRA itself. Gadgets especially will tend to fail noisily if this isn't set correctly.

As an aside, I maintain a reference implementation for nginx that might be useful if you need a "working" configuration to look at.


P.S. If you feel like this answer helped, please hit the checkmark to the left to mark it as answered. This helps us focus our efforts on unsolved questions. Thanks!

Thanks Daniel - I removed as per your suggestions but it still fails. Is there any special header that i need to add to my configuration?

This is the error:

2017-09-27 20:38:37,899 http-nio-8080-exec-22 ERROR jsoto 1238x50x5 fjyfu7, /plugins/servlet/gadgets/dashboard-diagnostics [c.a.g.d.internal.diagnostics.DiagnosticsServlet] DIAGNOSTICS: FAILED
com.atlassian.gadgets.dashboard.internal.diagnostics.UrlPortMismatchException: Detected URL port, '80', does not match expected port, '443'
at com.atlassian.gadgets.dashboard.internal.diagnostics.Diagnostics.checkExpectedPort(
at com.atlassian.gadgets.dashboard.internal.diagnostics.Diagnostics.check(
at com.atlassian.gadgets.dashboard.internal.diagnostics.DiagnosticsServlet.executeDiagnostics(
at com.atlassian.gadgets.dashboard.internal.diagnostics.DiagnosticsServlet.doPost(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(
at javax.servlet.http.HttpServlet.service(
at com.atlassian.plugin.servlet.ServletModuleContainerServlet.service(
at javax.servlet.http.HttpServlet.service(
... 17 filtered
at com.develocenter.jira.extschemes.web.filter.DisableNewEntitiesFilter.doFilter(
... 3 filtered
at com.develocenter.jira.linkscheme.labs.JIRALinkFilter.doFilter(
... 91 filtered
... 86 filtered
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$
at org.apache.tomcat.util.threads.TaskThread$
2017-09-27 20:38:37,990 http-nio-8080-exec-3 WARN jsoto 1238x51x1 fjyfu7, /rest/webResources/1.0/resources [] Additional XSRF checks failed for request: , origin: , referrer: , credentials in request: true , allowed via CORS: false

Hm - maybe check your load balancer now to see if port 80 traffic is being rewritten/redirected up to port 443.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,098 views 4 9
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