We've recently installed the JIRA 9.9.0 on our new Windows server and configured the DNS with IIS as a reverse proxy. The project sidebar is loading fine when we use the local host as a base URL(http://localhost:8080), but the same is failing to load with the custom DNS via IIS. The below HTTP GET calls are raising Bad Request(400) error and it's preventing the sidebar to load and giving an error "We couldn't load the project sidebar. Refresh the page to try again". The issue started happening after we migrate the JIRA software from an old Windows server to a new Windows server. We've followed all the steps provided in the Atlassian article such as IIS Configurations, URL Rewrite, and Proxy Configurations but it's still failing with 400 errors.
We've increased the URLSegmentLength and configured the proxy and HTTPS in the connector(Server.xml) file but nothing works. The following are the few articles that we followed to set up and configure JIRA and resolve the 400 errors but no luck.
There was a similar issue reported by someone in the past but there is no answer available in the post.
Any help or guidance on this would be greatly appreciated.
While working on a similar case, the issue was related to the Reverse rewrite host in response headers parameter under the Application Request Routing configuration page on IIS.
Could you please confirm if this parameter is unchecked?
Hope it helps.
Hi @Artur Moura ,
Thank you so much for your response!
Yes, I've checked this attribute again in IIS now and can see the checkbox is already unchecked. Please refer to the screen shot below.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are very welcome @Venkat Ravichandran
OK, this is good. Thanks for confirming it. Let's try another thing now.
On IIS, you should have UrlRewrite rules under an IIS site or an IIS server level.
Could you please confirm if you don't have any configuration applied to the server level that might be messing up with the connection?
The issue would be almost the same as mentioned in this KB.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Artur Moura
Thank you for the assistance again!
The UrlRewrite rules are currently present at IIS site level not at the server level. I've also verified the settings mentioned in the KB article and it's exactly the same. Please refer to the screen shot below.
Our Infra team had already completed their investigation and confirmed that there is nothing blocking the request from server, network and firewall policies.
Please let me know if you need any further details. Thanks in advance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi again @Venkat Ravichandran
OK, the configuration looks good, so the next step is to double-check the server.xml file with the proxy settings you are using.
Are you using AJP or HTTP connector? If it is HTTP, is the connector looks like the sample config?
<Connector port="8080"
maxThreads="100"
minSpareThreads="10"
connectionTimeout="20000"
enableLookups="false"
protocol="HTTP/1.1"
redirectPort="8443"
acceptCount="10"
secure="true"
scheme="https"
proxyName="xxx.customdns.com"
proxyPort="443"
relaxedPathChars="[]|"
relaxedQueryChars="[]|{}^\`"<>"
bindOnInit="false"
maxHttpHeaderSize="8192"
useBodyEncodingForURI="true"
disableUploadTimeout="true" />
In addition, the BaseURL you have in Jira. Does it match with the proxyName/IIS site configuration?
Are you seeing any Gadget Feed URL errors on your Jira while using IIS?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Artur Moura ,
We're currently using the HTTP connector and below are the configurations of Server.xml
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks again for confirming it and for sharing the server.xml file.
So from Jira end, it seems all ok. Now we need to try to move the troubleshooting to the IIS side.
I found this IIS troubleshooting page. I believe it is worth trying to increase the MaxFieldLength and the MaxRequestBytes parameters a little bit.
Hoping this helps. Please let me know how it goes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Artur Moura
Thank you for the assistance!
As per the article, I've created these new registry entries in the specified path as shown below but no luck.
We've also received the below Gadget Feed URL error after rebooting the server today but it occurred only once and not after that. I've also checked the health check menu by clicking the Find out more link in the below image and it's showing the result as "Jira is able to access itself through the Gadget feed URL"
The below HTTP/2 GET calls are failed again with same 400 errors.
2023-08-04 00:33:27 123.2.2.1 58679 192.x.x.x 443 HTTP/2 GET /s/3608a30700ca957c8d29e1f7ab136a1a-CDN/-ew6rv8/990000/sd12uq/2b6b456a75fc97d4b250d9c86888a34f/_/download/contextbatch/css/com.atlassian.jira.plugins.jira-development-integration-plugin:0,com.atlassian.jira.plugins.jira-quicksearch-plugin:5,com.atlassian.jira.jira-frontend-plugin:84,-_super,-jira.view.issue,-project.issue.navigator,-jira.global,-jira.project.sidebar,-jira.webresources:calendar-localisation-moment,-atl.general/batch.css?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&jag=true&jaguser=true&jira.create.linked.issue=true&richediton=true 381 - 400 - URL - TCP
2023-08-04 00:33:27 123.2.2.1 58679 192.x.x.x 443 443 HTTP/2 GET /s/f8b5697645ab53c7701598af5f4b1577-CDN/-ew6rv8/990000/sd12uq/2b6b456a75fc97d4b250d9c86888a34f/_/download/contextbatch/js/com.atlassian.jira.plugins.jira-development-integration-plugin:0,com.atlassian.jira.plugins.jira-quicksearch-plugin:5,com.atlassian.jira.jira-frontend-plugin:84,-_super,-jira.view.issue,-project.issue.navigator,-jira.global,-jira.project.sidebar,-jira.webresources:calendar-localisation-moment,-atl.general/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&jag=true&jaguser=true&jira.create.linked.issue=true&locale=en-AU&richediton=true 383 - 400 - URL - TCP
Thanks in advance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Artur Moura , Hope you are doing well! Just following up on this one to check if you have any other recommendations or advise to troubleshoot the issue. Thanks in advance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm sorry I missed your reply!
It's very weird behavior so far.
I believe it is worth trying to increase the header size on the server.xml file.
Would you please try to increase the maxHttpHeaderSize parameter to 65536 and see if it works?
I'm mentioning this because I found this StackOverflow page where it seems the same issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Artur Moura , No worries. Thank you so much for your response!
I've made this change and given a reboot but no luck.
I've also gone through the StackOverflow article and created some additional registry entries as well but the issue still persists.
Thanks in advance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Has this issue been resolved. I am getting the same error with the matching IIS ARR and Tomcat configurations.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Tavon Hannah , No, it's not resolved yet.
@Artur Moura Do you have any other suggestion for us to resolve the issue? if not, we're planning to use Ngnix as a reverse proxy instead of IIS for the JIRA software.
Thanks in advance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Venkat Ravichandran and @Tavon Hannah
If both of you bypass the IIS, can you reproduce the issue?
I'm asking this as a performance issue that might be related.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Artur Moura , For us, this issue occurs only with IIS and the project sidebar is loading fine when we use the local host as a base URL(http://localhost:8080), Please let me know if you need any further details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
folllowing this...
Same issue and same circumstances
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.