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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to authorize mirror ''bitbucket.mirror...' specifies a 'baseUrl' with the scheme 'http''


Hi all

I'm currently in the process of setting up a mirror for our Bitbucket (7.1.0) installation however I've hit a roadblock.

Whenever I try to authorize a mirror I get the error below. I've tried several times already and I'm possitive that I've set the baseurl to 'https' each time but so far without luck. Hopefully anyone here can help me out?

Reason 'Add-on 'bitbucket.mirror.brbd-3dtf-4wpm-i6gm' specifies a 'baseUrl' with the scheme 'http'. Add-ons running in production must be hosted on a domain protected with 'https'')

Edit: When looking through the logs I can see the following

2020-04-18 10:22:16,639 ERROR [http-nio-7990-exec-7] administrator @AWSKQZx622x295x0 srouu7, "POST /rest/mirroring/latest/requests/4/accept HTTP/1.0" c.a.b.i.m.u.DefaultMirroringRequestService Failed to change state of mirroring request for https://[mirrorUri]

1 answer

1 accepted

2 votes
Answer accepted

Looks like I also needed to configure the Embedded Tomcat Connector as the mirror is behind a proxy, solved :)

Joshua, can you be more specific as to what you did?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,755 views 10 16
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