Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Application links have been configured to use "OAuth (Impersonate)", as recommended. These links show that they are properly configured and should work.
However, when an issue is mentioned in a Confluence page - the links section of the issue displays :
"Mentioned in Page failed to load". Clicking the link will take the user to the confluence page, but the title does not display.
From the log:
/rest/viewIssue/1/remoteIssueLink/render/21321 [c.a.j.p.v.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: java.lang.ClassCastException]
Crept back up again today. Turns out that only a restart of Confluence was required to remedy it. No rebuilding Application Links and no restart of JIRA. I'm sure it will happen again. Looking more and more like a bug. If anyone else reading this is having this problem, please chime in. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
we just had the same problem and a confluence restart fixed it. Did anyone created an issue at Atlassian where I could "vote" for it?
Thanks,
Henning
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had a ticket open with them, and originally they referenced another bug (One where Confluence page would be unable to return a Blog Entry correctly - this was not my case).
Also, ensure that Confluence's System Add-on Confluence Remote API (XML-RPC & SOAP) is enabled - at the Add-Ons tab and also in the "Further Configuration" page. You can pretty easily verify these are enabled.
The best way to identify if that was the same issue you are seeing, check the log from Confluence and see if you are calling the correct get methods from the remote API. My problem was that the remote API was incorrectly always calling getBlogEntry (when it should've called getPage). Atlassian believes this may be a yet unidentified bug, but I was able to resolve this myself.
Log entry from Confluence:
2016-12-22 14:58:55,338 INFO [http-nio-8090-exec-46] [confluence.rpc.auth.TokenAuthenticationInvocationHandler] invokeAuthenticatedMethod Executing remote API method [ getBlogEntry ] as user [XXXXXXXXX]
2016-12-22 14:58:55,340 ERROR [http-nio-8090-exec-46] [confluence.rpc.auth.TokenAuthenticationInvocationHandler] invokeAuthenticatedMethod Error during invocation of method [getBlogEntry]
– url: /rpc/xmlrpc | traceId: | userName: XXXXXXXXXXX | method: getBlogEntry
The log entry above was from Confluence's remote API calling the wrong method to get my results. The page it should have been referencing here is a "Wiki Page" and not a "Blog Entry". I was able to test this by linking a blog entry to my issue, and it was successfully displayed - where any other type of Confluence page displayed "failed to load".
The steps I took to resolve:
1) Removed current Application Links between Confluence and JIRA (you will need to be admin on both applications to be able to do this.)
2) Rebuilt Application Links.
3) Disabled then enabled any remote API, Crowd (if you are using Crowd for your authentication), and relevant add-ons from Confluence.
4) Restarted the Confluence and JIRA applications on our server.
Prior to restarting both services, my wiki page links (anything not a blog entry) still showed "page failed to load" instead of their title. After the restarting of services (which did take a few minutes in my case), issue links were properly displayed.
This represents my personal experience, I should point out, and I can't guarantee results or impact on your application. Certainly use at your own risk.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm afraid this issue is back again for Jira 7.4.1 and I'm running with Confluence 6.3.1. When my application links are setup with Oauth,(Impersonate) and I select 'Linked Pages' on the Sprint backlog board show, it shows link: "Page failed to load" but if I select the link it takes me to the correct Confluence page and with no authentication prompts. If I switch the Application Links to just Oauth and I select the 'Linked Pages' , a dialog box pops up asking me to authenticate and then asking to Allow/Deny the linkage. Once I do that, the "Linked Pages" shows the title of the linked Confluence page.
I have tried disabling JIT optimation yet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the same problem in Jira. Using Application links between JIRA en confluence with OAuth (impersonation)
Normally I can see titles of confluence pages which are linked in JIRA issues but after a few days I get broken links in JIRA and if I restart confluence everything is OK again.
Log from JIRA:
/srv/jira-data/log/atlassian-jira.log
2017-01-20 08:06:24,715 http-bio-192.168.XX.YY-8443-exec-5061 ERROR XXXXXXXX 486x2537636x3 1biykdi 192.168.AAA.BBB /rest/viewIssue/1/remoteIssueLink/render/21411
Log from Confluence:
confluence shows that before restart it processes a getBlogEntry request and after the restart a getPage
before restart: /srv/confluence-data/logs/atlassian-confluence.log
2017-01-20 08:06:24,695 INFO [http-nio-192.168.XX.YY-8443-exec-40] [confluence.rpc.auth.TokenAuthenticationInvocationHandler] invokeAuthenticatedMethod Executing remote API method [ getBlogEntry ] as user [ XXXXXXXX ]
After restart: /srv/confluence-data/logs/atlassian-confluence.log
2017-01-20 08:16:36,808 INFO [http-nio-192.168.XX.YY-8443-exec-12] [confluence.rpc.auth.TokenAuthenticationInvocationHandler] invokeAuthenticatedMethod Executing remote API method [ getPage ] as user [ XXXXXXXX ]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Certainly, our support ticket is CSP-192151
I had opened that prior to this post, but Atlassian sort of worked on it.
(knock on wood) We have not had the issue return since I re-linked the applications and restarted them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Still happening. I opened my own support ticket, CSP-193919.
@joe burns, for reference, can you update this thread with your support ticket number?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same thing here. We recently upgraded to JIRA 7.2.6.
/rest/viewIssue/1/remoteIssueLink/render/26228 [c.a.j.p.v.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: java.lang.ClassCastException]
Did Atlassian create a ticket? If so, what's the number?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I appreciate your input, I have attempted rebuilding the links between the applications with the same results.
I have a ticket open with Atlassian support, also, about this problem.
It appears to be that Confluence is calling the method "getBlogEntry" to populate the issue links section within my issues. The expected method would probably be getPage, as the target page is of type PAGE and not BLOG ENTRY.
Confluence has a known bug with the Blog Entries in issue links, so I have checked both cases and interestingly creating a Blog Entry and linking to my issue correctly displays the information from the blog entry.
Confluence logs show that the remote API is calling this method with my account at the same time I am viewing an issue within JIRA (obviously expected behavior, except the fact that I am calling getBlogEntry erroneously instead of getPage).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ClassCastException on JIRA side. You can try to remove the link and create a new one from JIRA side.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register Now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.