Issue links fail to display with Page Failed to Load error in Jira server
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
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
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
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
Symptoms
On a given issue, the Issue Links section show "Page Failed to Load" for links to Confluence.
The following appears in the atlassian-jira.log
:
First stack trace
2014-11-08 22:42:58,490 http-bio-8080-exec-850 ERROR superman 1362x118732x1 5w5742 x.x.x.x,0:0:0:0:0:0:0:1 /rest/viewIssue/1/remoteIssueLink/render/10230
[viewissue.issuelink.rest.RemoteIssueLinkResource] Error occurred while generating final HTML for remote issue link: java.lang.RuntimeException:
java.io.IOException: Failed to load Confluence Page from remote server Caused by: java.io.IOException: Failed to load Confluence Page from remote server Caused by:
com.atlassian.sal.api.net.ResponseException: Confluence remote API is disabled
or
Second stack trace
2014-10-28 14:03:56,368 ajp-bio-8042-exec-11 ERROR batman 843x1796x1 1kn3f8r x.x.x.x /rest/viewIssue/1/remoteIssueLink/render/10502
[viewissue.issuelink.rest.RemoteIssueLinkResource] Error occurred while generating final HTML for remote issue link: java.lang.RuntimeException:
java.io.IOException: Failed to load Confluence Page from remote server Caused by: java.io.IOException: Failed to load Confluence Page from remote server
Caused by: com.atlassian.sal.api.net.ResponseException: Status Code: 200, Status Text: OK, Errors: {}, Error Messages: [java.lang.Exception: RPC handler object
"confluence2" not found and no default handler registered]
Cause
The JIRA Remote API plugin fails to connect to Confluence using the XML-RPC and throws an exception.
Resolution
First stack trace: Enable the remote API in Confluence as per this KB article: Enabling the Remote API. There is an open ticket asking JIRA to switch to REST instead of XML-RPC for page retrieval: JRA-61128 - Getting issue details... STATUS
Second stack trace: Enable the Confluence Remote API system plugin via Manage Add-ons > System.