Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

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

Can't create branch after updating stash to bitbucket

BUTIK
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 9, 2018 edited

I have updated my Stash 3.11.2 to Bitbucket 5.7.1

New server working well when I connect to  xttp://dns-name.ru:7990. If I connect to xttps://dns-name.ru I cant make a branch or write a comment at PR.

There is warning in logs

2018-02-09 11:09:11,581 WARN  [http-nio-7990-exec-3] username @hash ip-adress,127.0.0.1 "POST /rest/analytics/1.0/publish/bulk HTTP/1.0" c.a.p.r.c.s.j.XsrfResourceFilter Additional XSRF checks failed for request: xttp://dns-name.ru/rest/analytics/1.0/publish/bulk , origin: xttps://dns-name.butik.ru , referrer: xttps://dns-name.ru/projects/WB/repos/repo-name/browse/.env.stage , credentials in request: true , allowed via CORS: false

Server name in "Server settings" is correctly setted to dns-name.ru

1 answer

1 accepted

1 vote
Answer accepted
Michael Heemskerk
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 9, 2018

Based on the WARN message, it looks like you're terminating the SSL connection at the proxy server, but that Bitbucket hasn't been configured to 'know' that the connection is secure (referrer is https, but request is http).

Have a look at upgrade documentation to see how to migrate your  server.xml customizations to bitbucket.properties.

In this case, I think you're missing something like

server.secure=true
server.scheme=https
server.proxy-port=443
server.proxy-name=mycompany.com

Just to be sure you've got everything covered, I'd suggest going through the linked documentation to double check that all configuration has been migrated correctly.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Upcoming Bitbucket Events