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: https://confluence.atlassian.com/stashkb/xsrf-security-token-missing-529661980.html  It appears our bitbucket.properties 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 bitbucket.properties file doesn't reflect that.

Specifically you need to make sure your bitbucket.properties 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 https://bitbucket.company.com you'd need to set server.proxy-port=443 and server.proxy-name=bitbucket.company.com.

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

Cheers,

Christian

Premier Support Engineer

Atlassian

Hi,

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

Comment

Log in or Sign up to comment
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

257 views 4 9
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