Anon Access Forbidden

Problem

When an Application Link between Fisheye and JIRA exists, when restarting JIRA the following in the JIRA atlassian-jira.log:

localhost-startStop-1 WARN      [c.a.j.domain.fisheye.FishEyeManagerImpl] Error retrieving repositories for '<fisheye_url>'
java.io.IOException: Error in remote call to 'FishEye' (<fisheye_url>) [AbstractRestCommand{path='api/rest/repositories', params={}, methodType=POST}] : anon access forbidden
        at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:200)
        at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:127)
        at com.atlassian.jirafisheyeplugin.domain.fisheye.FishEyeManagerImpl.getRepositories(FishEyeManagerImpl.java:117)
        at com.atlassian.jirafisheyeplugin.domain.fisheye.FishEyeManagerImpl.updateInstanceRepositories(FishEyeManagerImpl.java:248)
Caused by: com.atlassian.sal.api.net.ResponseException: anon access forbidden
    at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl$FishEyeResponseHandler.extractDocumentFrom(FishEyeRestApiManagerImpl.java:402)
    at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl$FishEyeResponseHandler.handle(FishEyeRestApiManagerImpl.java:380)

No corresponding log line can be found in the Fisheye log files.

Cause

This is happening because in the FishEye Administration > Authentication page , the "Global Anonymous Access" option is turned off.

This message is only a warning and does not prevent any of the features of the integration between Fisheye/Crucible and JIRA.


Assuming that "Global Anonymous Access" in Fisheye has been intentionally disabled, this warning message can be ignored.

Please refer to FE-5742 - [JFP] Unnecessary stack trace logging on anon connections, which tracks the request to remove this warning.

Last modified on Jan 30, 2025

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.