Unable to Integrate with Fisheye 2.8.x or older due to Disabled Remote API Access

Platform Notice: Data Center Only - This article only applies to Atlassian apps 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

Symptoms

The following appears in the atlassian-jira.log:

2011-12-19 17:27:18,062 http-8080-3 WARN admin 1047x5963x1 1tzhjex 184.72.38.114,127.0.0.1 /secure/admin/ViewFishEyeConfig.jspa [jirafisheyeplugin.web.admin.BaseFishEyeConfigurationAction] Could not get repositories for instance FishEyeInstanceImpl[name=Fisheye,isCru=true,isCruStandalone=true,url=http://localhost/,apiUrl=http://localhost:8060/,charset=<null>,socketTimeout=10000,connectionTimeout=10000,applicationId=06678339-b723-31e4-a7df-130f1c70e896,hasBeenInitialised=true] java.io.IOException: Error in remote call to 'Fisheye' (http://localhost:8060) [AbstractRestCommand{path='api/rest/repositories', params={}, methodType=POST}] : API access is disabled at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:194) at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:123) at com.atlassian.jirafisheyeplugin.domain.fisheye.FishEyeManagerImpl.getRepositories(FishEyeManagerImpl.java:131) at com.atlassian.jirafisheyeplugin.web.admin.BaseFishEyeConfigurationAction.refreshRepositoryList(BaseFishEyeConfigurationAction.java:504) at com.atlassian.jirafisheyeplugin.web.admin.BaseFishEyeConfigurationAction.tryRefreshCaches(BaseFishEyeConfigurationAction.java:204) at com.atlassian.jirafisheyeplugin.web.admin.BaseFishEyeConfigurationAction.doExecute(BaseFishEyeConfigurationAction.java:190) ... Caused by: com.atlassian.sal.api.net.ResponseException: API access is disabled

Cause

Remote API access in Fisheye 2.8.x or older is turned off.

Resolution

  1. In JIRA, ensure that the credentials provided to connect to Fisheye is valid (Administration >> FishEye Configuration).

  2. In JIRA, ensure that remote API access is enabled (Administration >> General Configuration >> Accept remote API calls).

  3. In Fisheye 2.8.x or older, turn on the "Allow remote API calls" (Administration >> Server Settings).

Updated on April 16, 2025

Still need help?

The Atlassian Community is here for you.