Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Error creating project, XSRF check failed

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 Jan 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,

Where do you enter these parameters? Thanks

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).

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

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
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you