Anon Access Forbidden
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 an Application Link between Fisheye and JIRA exists, when restarting JIRA the following in the JIRA atlassian-jira.log
:
1
2
3
4
5
6
7
8
9
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.
Was this helpful?