New clean install of JIRA on a windows box (Server 2008R2), running IIS with other websites. I want my URL to be https://jira.mydomain.com, so I am using IIS URL Rewrite to http://www.mydomain.com:8081, with a SAN certificate on the IIS server.
I can access both URLs from my server.
If I connect to https://jira.mydomain.com, all seems to be fine and passes the health checks until I try to do something, such as go to the scrum board or try to create an issue:
Create: either "The JIRA server could not be contacted. This may be a temporary glitch or the server may be down." or "Project: 10000" and "Issue Type: 10100"
Scrum Board: "Exception: Uncaught TypeError: Cannot read property 'init' of undefined"
All works fine on http://www.mydomain.com:8081 (except it tells me the gadget feed is set up wrong)
My server.xml file has the following in it:
<Connector acceptCount="100" bindOnInit="false" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" port="8081" protocol="HTTP/1.1" proxyName="jira.mydomain.com" proxyPort="443" redirectPort="8443" scheme="https" useBodyEncodingForURI="true"/>
My URL Rewrite rules are:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<urlCompression doStaticCompression="false" doDynamicCompression="false" dynamicCompressionBeforeCache="false" />
<rewrite>
<rules>
<rule name="Divert to 8081" enabled="true" stopProcessing="true">
<match url="(.*)" />
<action type="Rewrite" url="http://www.mydomain.com:8081/{R:1}" logRewrittenUrl="false" />
</rule>
</rules>
<outboundRules>
<rule name="ReverseProxyOutboundRule1" preCondition="ResponseIsHtml1">
<match filterByTags="A, Form, Img" pattern="^http(s)?://(.*).mydomain.com:8081/(.*)" />
<action type="Rewrite" value="https://jira.mydomain.com/{R:3}" />
</rule>
<preConditions>
<preCondition name="ResponseIsHtml1">
<add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" />
</preCondition>
</preConditions>
</outboundRules>
</rewrite>
</system.webServer>
</configuration>
Any advice how I can get this to work?
Thanks
Richard
hi, I am having the same issue. How did you solve your problem?
thx
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.