Issue connecting from Bitbucket server to Crowd server

After following all the steps for configuring crowd and Bitcukcet for authntication, i get the below error in bitbucket logs
I dont see any error in Crowd server logs.

 

com.atlassian.crowd.exception.runtime.OperationFailedException: com.atlassian.crowd.exception.InvalidAuthenticationException: Application failed to authenticate
at com.atlassian.crowd.embedded.core.CrowdDirectoryServiceImpl.testConnection(CrowdDirectoryServiceImpl.java:78)
at com.atlassian.stash.internal.crowd.CustomizedCrowdDirectoryService.testConnection(CustomizedCrowdDirectoryService.java:43)
at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)
at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
at com.atlassian.crowd.embedded.admin.ConfigurationController.handleSubmit(ConfigurationController.java:133)
at com.atlassian.crowd.embedded.admin.crowd.CrowdConfigurationController.onSubmit(CrowdConfigurationController.java:89)
at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24)
at Screen Shot 2017-04-04 at 2.54.49 PM.png

1 answer

0 votes
Ann Worley Atlassian Team Apr 04, 2017

It looks like the Bitbucket application configured in Crowd cannot authenticate, as the log says 

Application failed to authenticate

Please check:

Crowd>Applications>Bitbucket_Application>Details, that's where the application password is set. You cannot view it there but you could change it and try connecting with Bitbucket again.

Also, the remote IP must be allowed at Crowd>Applications>Bitbucket_Application>Remote Addresses.

 

 

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Dec 10, 2018 in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

206 views 6 7
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you