Encountered _APP_UNKNOWN Error When Using JIRA Issues Macro

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

The error is similar to:

Errors were reported by the JIRA trusted connection.

    * APP_UNKNOWN; Unknown Application: {0}; ["confluence:4557196"]

Cause

  1. The application is trying to use the trusted protocol when a trusted application link is not configured.
  2. The application ID generated in Confluence is different than what is stored in JIRA.

The application ID is generated in Confluence by calculating the MD5 hash key from its Server ID. Specifically, the application ID is the first 3 bytes of the MD5 hash calculation of your Server ID.

So when creating a trusted application session in JIRA, JIRA will go to the Confluence link that you provided http://yourConfluenceSite.com and thenhttp://yourConfluenceSite.com/admin/appTrustCertificateto retrieve the Application ID and the public key.

Resolution

  1. If the connection is not trusted, add the parameter anonymous=true to the macro text.
  2. Remove the Confluence trusted application setting saved in JIRA and recreate it again. If doesn't work, remove the saved setting, restart JIRA, and recreate.

There should be an entry in JIRA's trustedapp table referencing the correct entry in Confluence's keystore table.

Last modified on Feb 26, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.