HostName mismatch ...

James Saxton June 26, 2012

I am getting a hostname mis-match. I have following the integrating apache with jira ssl - but no luck. My base url name is https://ijenie.ao.dcn/jenieatlassianjira/jira (and I have also tried https://ijenie.ao.dcn) still no luck. What Can I provide to you to help me? hpgst020.jenie.ao.dcn is the fqhn of the server the product is installed on. ijenie.ao.dcn is the dns name ....

thanks

Jim

2012-06-26 19:26:05,666 http-8443-2 ERROR anonymous 1166x5x1 1f08f1i 156.132.40.78,156.119.68.172 /plugins/servlet/gadgets/dashboard-diagnostics dashboard.internal.diagnostics.DiagnosticsServlet DIAGNOSTICS: FAILED

com.atlassian.gadgets.dashboard.internal.diagnostics.UrlHostnameMismatchException: Detected URL hostname, 'hpgst020.jenie.ao.dcn', does not match expected hostname, 'ijenie.ao.dcn'

at com.atlassian.gadgets.dashboard.internal.diagnostics.Diagnostics.checkExpectedHostname(Diagnostics.java:71)

at com.atlassian.gadgets.dashboard.internal.diagnostics.Diagnostics.check(Diagnostics.java:32)

at com.atlassian.gadgets.dashboard.internal.diagnostics.DiagnosticsServlet.executeDiagnostics(DiagnosticsServlet.java:93)

at com.atlassian.gadgets.dashboard.internal.diagnostics.DiagnosticsServlet.doPost(DiagnosticsServlet.java:61)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java:42)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

at com.atlassian.plugin.servlet.ServletModuleContainerServlet.service(ServletModuleContainerServlet.java:52)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter(ChainedFilterStepRunner.java:78)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)

at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)

at com.atlassian.labs.botkiller.BotKillerFilter.doFilter(BotKillerFilter.java:36)

at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)

at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)

at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)

at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25)

at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)

1 answer

0 votes
PauloP
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.
August 29, 2012

Hi James

Firstly, try to understand how the communication occurs:

A. client browser > HTTPS > apache > HTTP > JIRA/Tomcat

OR

B. client browser > HTTPS > apache > HTTPS > JIRA/Tomcat

In both cases, you should:

1. Check what is the address user for browsing the JIRA website

2. Add the tags proxyName="<proxy_server>" proxyPort="443" in the related Tomcat connector settings (server.xml).

For further details, please use the following link as you guideline:

Integrating JIRA with Apache using SSL > https://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+Apache+using+SSL

Anyway, feel free to raise a ticket at https://support.atlassian.com

Cheers

Paulo Renato

Suggest an answer

Log in or Sign up to answer