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

Base URL mismatch You are accessing Bitbucket from a URL that does not match the configured base URL

Rohit Dalvi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 27, 2021

I have a bitbucket server running in aws cloud version v6.10.0 , I am  able to access it fine using https://ip:7990

But when I want to access it using domain url like https://bitbucket-server.domain.com (without ip) it does not load at  all. I have  to append the port to the url all the time.

Things I tried in bitbucket.properties are,


server.scheme=https

server.port=7990

server.secure=true

server.scheme=https

server.proxy-port=443

server.redirect-port=443

server.proxy-name=bitbucket-server.domain.com

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 27, 2021

You need to change the base url to match the url you are going to be running Bitbucket on

See https://confluence.atlassian.com/bitbucketserver/specify-the-bitbucket-base-url-776640392.html

Rohit Dalvi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 27, 2021

Hey Nic, I have done this already but that does not help. I still can't access bitbucket with base url. 

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 27, 2021

What error message is the proxy giving you when you visit it on your external url?

Rohit Dalvi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 27, 2021

I don't see error, the web page does not open at all. But when I comment out the server.* configurations from bitbucket.properties file then I can access the server using https://ip:7990

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 27, 2021

Ok, so you're doing something really odd with your "access".

Could you tell us exactly what you are doing when you try to "access" the service?

If, for example, you are "opening the url in a browser", that's fine, but a browser will always give you an error message (unless you're opening the wrong url, one with no content instead of the actual Bitbucket url).  It might take a while to get a timeout error though, if it's one of those.

Or is it some other "access"?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events