Forums

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

Unable to configure Reverse proxy for JIRA in Windows

VENKATESHWARARAO
Contributor
May 23, 2020

Hi 

I am trying to configure Reverse proxy with http://jira.ourcompany.com

but i am unable to configure with that name. I am using self certified certificate. i can access with host name but unable to access from proxy name. the following connector code configured in server.xml file

<Connector acceptCount="100" bindOnInit="false" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" port="8080" protocol="HTTP/1.1" redirectPort="8443" useBodyEncodingForURI="true"/>


<Connector SSLEnabled="true" acceptCount="100" clientAuth="false" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" keyAlias="jira" keystoreFile="E:\Atlassian_Poc\Application Data\jira2.jks" keystorePass="password" keystoreType="JKS" maxHttpHeaderSize="8192" maxSpareThreads="75" maxThreads="150" minSpareThreads="25" port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" proxyName="jira.companyname.com" proxyPort="8443" scheme="https" secure="true" sslProtocol="TLS" useBodyEncodingForURI="true"/>

 

Typing in jira.company.com:8080 redirects to the secure URL https://jira.company.com:8080`

But I get the response in Chrome "This web page is not available"

Can anyone help point out what I've done wrong please.

Thanks in advance.

 

1 answer

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.
May 25, 2020

There's not enough information here for us to give you much advice.

I would try to get the proxy to work without SSL first.  Instead of redirecting http to https, can you turn that off and see what you get on http://jira.company.com:8080

If that responds, we know the problem is SSL.  If it does not (and I suspect it won't), then the problem is with the proxy connection to Jira

VENKATESHWARARAO
Contributor
May 25, 2020

Nic -

Thank you for the reply. I have removed ssl connector from server.xml file and i have added proxyName and proxyPort to connector but still not able to access using proxyName. The following is my connector code

<Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxSpareThreads="75" maxThreads="150" minSpareThreads="25" port="8080" protocol="HTTP/1.1" useBodyEncodingForURI="true" proxyName="jira.mycompany.com" proxyPort="8443" />

 

Could you please help is any other file i need to change.

 

Thanks in advance.

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.
May 26, 2020

Ok, that tells us the problem is on the proxy, not the Jira connector.  You'll need to look at how that is set up to proxy between Jira and the world.

Suggest an answer

Log in or Sign up to answer