Jira self managed server on GCP

Asaf Adler
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 5, 2019

Hi, 

I installed a "atlassian-jira-software-8.0.2-x64" on my GCP instance and all installed successfully and running. 

But, when I'm start using I have a problem with all requests to the jira server - I got an error: XSRF check failed

 

Someone can help me?

1 answer

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 7, 2019

Hi,

I'm not as familiar with that specific platform, but I suspect that it has some kind of proxy or load balancer that it is using to redirect the http or https traffic before it actually reaches the Jira site.  Jira is expecting to know what address it is being served up on.  This tends to require that you make some adjustments to the $jirainstall/conf/server.xml file to let Jira's tomcat webserver understand where this traffic is coming from.

Failing to do this can result in these kinds of xsrf errors, see related thread https://community.atlassian.com/t5/Jira-questions/Error-creating-project-XSRF-check-failed/qaq-p/362979

The connector you have defined for Jira in that server.xml file will likely need to have proper

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

fields defined.  Once you define these, save that file, and then you need to restart Jira in order for these changes to take affect.  That should help fix this specific problem.

On a related note, I did come across a guide from Google in regards to using Jira on their platform in https://cloud.google.com/solutions/deploying-jira-on-gcp perhaps this might help as well.  It seems there are a number of steps in order to create the proper routing/firewall rules to make this work, but maybe this can help if my first set of steps does not.

Andy

Suggest an answer

Log in or Sign up to answer