Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira issues macro not working after upgrading to Confluence 4.1

Christopher Grantham
Contributor
April 2, 2012

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.

7 answers

2 votes
Adam Jacobson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 14, 2012

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.

0 votes
Chenhao November 15, 2012

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".

0 votes
Chenhao November 15, 2012

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

Adam Jacobson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 15, 2012

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.

0 votes
CharlesH
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 14, 2012

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

0 votes
Chenhao November 14, 2012

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

0 votes
Chenhao November 14, 2012

Hi Septa,

Do you have a solution for this issue?

We are experiencing the same issue and do not know how to fix it.

Regards,

Chen

0 votes
Septa Cahyadiputra
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 8, 2012

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

Christopher Grantham
Contributor
April 9, 2012

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.

Septa Cahyadiputra
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 11, 2012

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

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

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
AUG Leaders

Atlassian Community Events