Error creating project, XSRF check failed

aqldev August 29, 2015

Hey

 

Ive just installed JIRA and Im getting this error 'Error creating project, XSRF check failed' when creating projects.  Ive tried every answer I can find by searching and googling the error but Im getting nowhere.  Im using apache mod_proxy to proxy requests to our server over to https.  

Ive tried this https://confluence.atlassian.com/pages/viewpage.action?pageId=397083076 but not sure how to Ensure that all JIRA's header are not blocked??

https://confluence.atlassian.com/display/JIRAKB/XSRF+not+in+the+whitelist+exception+when+performing+the+field+operation - this is already set correctly according to my file when I check it?? 

Be great if you could help me resolve this issue.

Thank you in advance.

Cheers

Andrew

 

1 answer

4 votes
Guilherme V.
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 16, 2016

Hello Andrew,

Do you have a proxy in your network? Did you try adding the below parameters?

proxyName="proxy.name.com" proxyPort="443" scheme="https"

Cheers,

Coca-Cola February 24, 2016

Where do you enter these parameters? Thanks

Matt Chiste October 6, 2016

This worked for me - I was using a reverse Proxy on a front-end apache server, and had the wrong host name on the JIRA server (JIRA_HOME/conf/server.xml, in the <Connector> tag).

Oliver Meyer July 7, 2018

@Matt Chistethank you Matt!

Manuel Crescenzi April 15, 2019

Hi,

i inserted in the server.xml all paramenter

scheme="https"
proxyName="subdomain.mydomain.com" proxyPort="443"/> but i still have the same issue.

 

is there anyone that can help me?

 

Thanks

Manuel

Ali Akhtar July 14, 2020

I figured this out, edit server.xml and head down to the <Connectors> tag. There are a couple of templates there which are commented out. I commented the default <Connector> tag, and a couple templates below, I uncommented the one for 'HTTPS - Proxying Jira via Apache or Nginx over HTTPS':

<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.com" proxyPort="443"/>

 

Remember to change proxyName, proxyPort, and scheme.

 

After that, its working fine for me at https://mydomain.com

Suggest an answer

Log in or Sign up to answer