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

Bitbucket data center mirror error Edited

Hi Support,

We encounter a strange error as following.

2019-03-05 14:05:37,807 DEBUG [https-jsse-nio-8443-exec-2] @1G0WR5Zx845x6467051x9 172.20.13.211 "GET /mvc/error401 HTTP/1.1" c.a.s.i.web.ErrorPageController User is not authorized to access [/rest/mirroring/latest/repos/610]
2019-03-05 14:05:53,157 DEBUG [https-jsse-nio-8443-exec-7] @1G0WR5Zx845x6467149x6 172.20.13.211 "GET /mvc/error401 HTTP/1.1" c.a.b.i.c.s.CrowdSsoAuthenticationHandler Skipping Crowd SSO as it is not enabled
2019-03-05 14:05:53,158 DEBUG [https-jsse-nio-8443-exec-7] @1G0WR5Zx845x6467149x6 172.20.13.211 "GET /mvc/error401 HTTP/1.1" c.a.s.i.i18n.PluginI18nService No values found in any valid locale for key ProviderManager.providerNotFound and locales [en_US, en]
2019-03-05 14:05:53,158 DEBUG [https-jsse-nio-8443-exec-7] @1G0WR5Zx845x6467149x6 172.20.13.211 "GET /mvc/error401 HTTP/1.1" c.a.s.i.web.ErrorPageController User is not authorized to access [/rest/mirroring/latest/analyticsSettings]
2019-03-05 14:06:53,707 DEBUG [https-jsse-nio-8443-exec-10] @1G0WR5Zx846x6467248x8 172.20.13.211 "GET /mvc/error401 HTTP/1.1" c.a.b.i.c.s.CrowdSsoAuthenticationHandler Skipping Crowd SSO as it is not enabled

 

We close mirror server for about two months,after reboot the machine we select project to sync,but it show the error message ,could you please help us to solve it?

Our mirror server ip is 172.20.13.211

0305-error.PNG

The screen show Retrieving project information,but we can't see server is retrieving project

Thank you

1 answer

Hi @Cloud_NEW , 

In general, when a user clones or fetches from a mirror, the mirror automatically delegates the authentication and authorization of their credentials back to the primary server. So no additional user management is required on mirrors, and all the users, groups, and permissions of the primary Bitbucket instance (whether provided by the built-in user directory and permission system or by your own user directories and/or custom extensions) are always replicated exactly on all mirrors. 

In your case, when you are performing the mirror, you see the below error

User is not authorized to access

and

CrowdSsoAuthenticationHandler Skipping Crowd SSO as it is not enabled

Confirm, whether the user who performing the clone or fetch has the appropriate access on the Bitbucket Primary instance.

Thanks,

Kiran.

Suggest an answer

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

Atlassian supported Jenkins integration for Bitbucket Server

We’ve been building a plugin to integrate Bitbucket Server and Jenkins CI, and I’m excited to announce that our alpha is ready to download and install. It lets you seamlessly configure a Jenkins job ...

1,082 views 3 17
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