Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,358
Community Members
 
Community Events
165
Community Groups

XSRF check failed

Hi,

We're running a Bamboo Server on CentOS via http://localhost:8085

and using Nginx doing a HTTPS proxy https://xxx.com/bamboo pointing to http://localhost:8085.

Everything is working fine and succeed.

but only getting a 403 code as below screenshot, saying "XSRF check failed".

Is there anything I did wrong or something I missed to config? thx a lot my friend.

image.png

1 answer

1 accepted

2 votes
Answer accepted

Hi @John ! How are you doing?

Have you checked your Base URL in Bamboo? Does it point to the correct proxy address?

Another thing to check is whether you have the right configuration in your server.xml (proxyName, proxyPort etc.)

Hope this helps!

hi @Cristiano Mariano ,

thx a lot for the feedback.

Base URL had been filled in https://xxx.com/bamboo.

but need to check server.xml. will do and get back to you.

thx a lot for your time.

Like Cristiano Mariano likes this

hi @Cristiano Mariano 

How amzing you are! yes it's about the server.xml.

after adding proxyName="jira.example.com" proxyPort="443" scheme="https" secure="true", then the error gone.

thx a ton!

Hi @John !

Outstanding! I am very glad to hear that it helped!

Following your example above, did you add `proxyName="xxx.com"` to your server.xml file?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

960 views 3 8
Read article

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