Forums

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

Mismatched URL scheme Dashboard

Julien EPITECH February 5, 2019

Hello everyone,

 

I am trying to proxy Jira with Apache, it seems to work but I have this error from the dashboard and I can't figure out where it comes from.

 

I have Jira 7.12 on a self-hosted debian. I followed this tutorial: https://confluence.atlassian.com/adminjiraserver0712/integrating-jira-with-apache-using-ssl-959314163.html 

 

Here is the connector of the server.xml and  the virtualhost of the apache conf file.

 

<Connector port="8080" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^&#x5c;&#x60;&quot;&lt;&gt;"
maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false"
maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443"
acceptCount="100" disableUploadTimeout="true" bindOnInit="false" secure="true" scheme="https"
proxyName="subdomain.domain.fr" proxyPort="443"/>

 

<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName subdomain.domain.fr

<Proxy *>
Order deny,allow
Allow from all
</Proxy>

SSLProxyEngine On
ProxyRequests Off
ProxyPreserveHost On
ProxyPass / http://subdomain.domain.fr:8080/
ProxyPassReverse / http://subdomain.domain.fr:8080/

Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/website/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/website/privkey.pem
</VirtualHost>
</IfModule>

 

Thanks for any help! 

1 answer

1 accepted

0 votes
Answer accepted
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.
February 5, 2019

Three things I'd look at:

  • Minor, and rarely a problem (and when it is, it is obscure) - remove the trailing / from the two proxy lines
  • You appear to be proxying from subdomain.domain.fr to subdomain.domain.fr - is there a reason for that or were you obscuring your data for privacy and used the same thing twice?  Either way, check the values for proxyName and ServerName match, and then both proxyPass lines point to the actual Jira server
  • What is the error you are getting?  You don't give it to us!
Julien EPITECH February 7, 2019

Hello,

The error I was getting was this : Résultat de recherche d'images pour "Jira mismatched url scheme"

 

For the subdomain, it is because I used Jira with plain http and this subdomain and I now want to keep this subdomain but go with https. I also don't want to put out on the open internet my domain name, I think you can understand :) 

 

By the way, I found the problem. When following the documentation, it is not said that you need to delete the standard connector, which I didn't. 

In the server.xml file though, it is said to comment it out. I did it and it worked! 

 

Thank you for your suggestions!

Like # people like this

Suggest an answer

Log in or Sign up to answer