Accessing the list of Bitbucket repositories throws "No authentication configured for application link"
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
When accessing the list of the available Bitbucket repositories (in the "Bitbucket Server tab" tab), the following message is displayed in the Fisheye/Crucible Repositories page:
1
2
Problem communicating with Bitbucket Server
No authentication configured for application link: <ApplicationName>
Where <ApplicationName> is the name provided when setting up the application link to Bitbucket.
The following appears in the atlassian-fisheye-YYYY-MM-DD
.log:
1
2
3
4
WARN [qtp2129442232-2286 ] fisheye StashExceptionMapper-handleException - Error occurred making request to Bitbucket Server
com.atlassian.fecru.plugins.stash.rest.RestStashRepoListService$NoAuthenticationConfiguredException: No authentication configured for application link <ApplicationName>
at com.atlassian.fecru.plugins.stash.rest.RestStashRepoListService.getStashClient(RestStashRepoListService.java:106) [fecru-stash-integration-plugin-3.10.3-20160112105703_1452618170000.jar:?]
at com.atlassian.fecru.plugins.stash.rest.RestStashRepoListService.getStashRepoList(RestStashRepoListService.java:119) [fecru-stash-integration-plugin-3.10.3-20160112105703_1452618170000.jar:?]
Cause
An URL for Bitbucket Cloud (instead of Server) has been used when creating the application link (e.g. https://bitbucket.org/).
Resolution
Instead of creating an application link, add the repository directly by using the "Native repository access" tab by following these steps:
Go to Administration -> Repositories
Select the "Native repository access" tab
Select "Add repository"
When asked select the expected "Repository type" (e.g. Git) and enter the Bitbucket Cloud address for your repository as repository location. The repository location is the link you get when you select the Clone option in Bitbucket Cloud
Was this helpful?