Hi, we recently upgraded Confluence to version 4.1.5 and the application link with Jira (4.4.4) no longer works.
On the Jira side, we have an application link using Trusted Applications for incoming and outgoing connections setup, same thing on the confluence side. We were previously using Confluence 3.5 and the jira issues macro worked (albeit with limitations on what kind of queries you could use!).
Jira is reporting that: Application 'confluence' appears to be offline in the application link list page.
The ip addresses for incoming/outgoing communication are configured on both ends and have not changed during the upgrade.
If anyone has any ideas on a way to remedy this it would be much appreciated.
Are you running JIRA and Confluence through HTTPS? I had similar issues when configuring SSL.
It could be that the upgrade wiped out your trusted keystore in Confluence. If you have a backup, try restoring the /jre/lib/security/cacerts file, or re-importing the JIRA certificate into the keystore.
Thanks for your reply.
The fact is I imported certificate into both trust store already.
Also, our URL could work without https. But even using http, we received some error " Invalid response code of 401".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Charles,
I have re-imported the Jira certificate, still no Joy.
Another question is in the documentation link you provided, there is one certificate called "ldap certificate". I guess if our ldap connector is not https, I do not have to import this certificate, right?
Regards,
Chen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Don't forget there are potentially two keystores that could be being referenced. There is the one I specified above in the Confluence directory structure, and the same file exists in the JAVA_HOME directory structure.
I know it may seem that the SSL troubleshooting pathway is virtually exhausted, but it might also be worth trying to import the JIRA certificate into the cacerts file into the JAVA_HOME path structure.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would second Adam's suggestion of re-importing the JIRA certificate into the keystore. It won't take long to run through the process, and if the problem persists, well at least that's one possible cause eliminated.
Here's details of the steps:
https://confluence.atlassian.com/display/DOC/Connecting+to+LDAP+or+JIRA+or+Other+Services+via+SSL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Adam,
Thanks for you reply.
Yes, I am running it through HTTPS. But I believe this error is not related to SSL as it is not showing something like 'Java.SSL.xx' (I've encounted this issue before but I after I added the certificate into key store, this error disappeared).
The error I received is similar to Unable to retrieve the application's certificate: Invalid response code of 401 returned from:http://myhostname.com/admin/appTrustCertificate
Regards,
Chen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christopher,
You might want to re-create the trusted application links on both Confluence and JIRA and see if it fixed the issue. This issue might be cause by corrupted cache during the upgrade process. Recreating the trusted application links should fix the issue.
Hope it helps.
Cheers,
Septa Cahyadiputra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey thanks for the reply, I have tried re-creating the application links like you suggest, but when I try to setup Trusted Applications incoming on the Jira side I get the following error message:
Unable to retrieve the application's certificate: Invalid response code of 401 returned from: http://myhostname.com/admin/appTrustCertificate
And I can't configure trusted applications on the confluence side until an application link is correctly configured in Jira according to confluence:
An Application Link from the remote application to this application is required to configure this authentication provider.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christopher,
Error code 401 means "unauthorize" access. Could you please double check if the users that try to configure the application links have administrator access on both Confluence and JIRA. If the user do have administrative rights for both Confluence and JIRA, may I know if there are any custom authentication used by Confluence and JIRA.
Cheers,
Septa Cahyadiputra
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 NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.