We are running Bitbucket Server 7.6.2 behind nginx. Nginx is handling all the SSL stuff. We have been running this configuration for several years with different versions of Bitbucket Server and has never had any issues.
Just the other day a user found that when he saved the changes made on https://<bitbucket URL>/plugins/servlet/notification/settings he got XSRF Security Token Missing. I have tried as an administrator and as a normal user and get this every time I save the settings.
I found a KB on XSRF Security Token Missing, https://confluence.atlassian.com/bitbucketserverkb/xsrf-security-token-missing-779171343.html. I have looked through all 6 options. Option 2 could have been a problem as we had the secure=true in our configuration. But removing it changed nothing. We only see the problem with the above mentioned settings save.
Any ideas on what might be the problem and how to fix it?
Br
Henrik
Hi Henrik,
Do you have the server.proxy-name, server.scheme and server.proxy-port properties set in your bitbucket.properties file?
Cheers,
Christian
Premier Support Engineer
Atlassian
Hello Christian,
Yes I have. They are configured to the nginx-proxy.
server.secure=true
server.scheme=https
server.proxy-port=443
server.proxy-name=<bitbucket-url>
I have another Bitbucket server running apache where it works and the configuration in bitbucket.properties are the same.
Should I change anything?
Br
Henrik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Learn why Compass was built to tackle dev experience at scale. See how Atlassian uses it to boost visibility, reduce cognitive load, and drive consistency—plus tips to get started and customize your IDP for stronger team engagement.
Join the webinar ✨Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.