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

XSRF check failed

John July 21, 2021

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
Cristiano Mariano
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 21, 2021

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!

John July 23, 2021

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
John July 28, 2021

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!

Cristiano Mariano
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 28, 2021

Hi @John !

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

jvelapol
Contributor
August 6, 2021

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
AUG Leaders

Atlassian Community Events