License update "XSRF check failed"

Bitbucket could not complete this action due to a missing or expired form token.

You may have cleared your browser cookies, which could have resulted in the expiry of your current form token. A new form token has been issued.

The original input has been captured and you can retry the operation.

Any file attachments in the original input will be lost


We have an evaluation license that just expired and get the above message when trying to update to the new eval license.    We have a proxy server/load balancer in front and have not had any issues with BitBucket until now.   Looking at this:  It appears our file is correct and we also have sticky session set on the load balancer.    Any ideas would be wonderful.

1 comment

Hi Jennifer,

This error typically appears when there's reverse proxy server in front of Bitbucket Server, but the file doesn't reflect that.

Specifically you need to make sure your file has the server.proxy-port and server.proxy-name and they match the port and FQDN of the URL you use to access Bitbucket Server.

For instance, if you access Bitbucket Server using you'd need to set server.proxy-port=443 and

After a restart of Bitbucket Server you should be able to change your license.



Premier Support Engineer



server.proxy-port and name are both in the properties file. we also have server.scheme=https   


Log in or Join to comment
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,311 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot