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,293,345
Community Members
 
Community Events
165
Community Groups

XSRF token error with IIS reverse proxy

Bamboo Server v7.2.4 / IIS 10

Setup a reverse proxy in IIS so my team can access our Bamboo instance on a user-friendly URL. This is working perfectly everywhere except for the Deployments page where I see this error:

1.PNG

The release statuses never load, showing the "waiting" spinner indefinitely.

In the Network tab of dev tools, I see 403 errors for each access to [server-name]/rest/api/latest/deploy/dashboard/status -- the server's response for each of these is "XSRF check failed".

I have tried unchecking "Enable XSRF Protection" in Security Settings and this has no effect.

Can anyone advise on specific IIS settings to pass along CSRF tokens correctly? I do not need a general setup guide for ARR/reverse proxies; this is a more specific error.

Alternatively, can anyone advise on truly disabling XSRF protection in Bamboo? Options in Security Settings have not been effective.

1 answer

1 accepted

0 votes
Answer accepted

I was missing a step in configuring Bamboo behind a reverse proxy. For anyone else running into a similar issue - and similarly having trouble finding the right docs - have a look here:

https://confluence.atlassian.com/bamkb/securing-bamboo-behind-nginx-using-ssl-829075298.html

In my case, I had configured IIS as the reverse proxy and everything (except the Deployments page) was working well. Deployments showed the error in the upper right (annoying because it blocks the menu) and failed to complete any of the async calls to get environment statuses.

From the linked doc, I only had to add Step 1: Configure the Tomcat Connector to get it working 100%. I commented out the original Connector for port 8085 and replaced it with the one on this page; restarted Bamboo through services.msc; and suddenly life was good.

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

909 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