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
Community moderators have prevented the ability to post new answers.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Matt Chistethank you Matt!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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="[]|{}^\`"<>"
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.