Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,108
Community Members
 
Community Events
165
Community Groups

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

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

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

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

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

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

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
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,255 views 2 9
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you