Creating Application Link throws Echo response is inconsistent with request in JIRA

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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

Summary

Problem

When creating a new Application Link an Error banner is displayed behind the Application Link modal. The modal does not go away until you click Cancel.

As illustrated in the screenshot:

(Auto-migrated image: description temporarily unavailable)

Diagnosis

Diagnostic Steps

(Auto-migrated image: description temporarily unavailable)
  • With the use of Applinks Diagnostics Plugin we can further diagnose why the Application Link fails to create. In this example you'll see the echo response test is failing:

    1 2 3 4 5 6 7 8 9 10 HTTP Echo: fail . . . Request URL is inconsistent. Sent [http://stash."...".local/plugins/servlet/applinksDiagnostics/echo] Received [http://patlah1inf01."...".local:7990/plugins/servlet/applinksDiagnostics/echo] Echo response is inconsistent with request
    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 Authentication Check: warn Server date: Mon, 18 May 2015 01:36:19 GMT Attempting authentication of link to Stash Checking if OAuthAuthenticationProvider is configured OAuthAuthenticationProvider is configured for Stash, trying authentication Attempting to request http://stash.investlab.local/plugins/servlet/applinksDiagnostics/authenticate OAuthAuthenticationProvider Failed to get token from service provider, problem was: 'signature_invalid' Failed to connect using OAuthAuthenticationProvider to Stash
  • By comparing a HAR file and results of the Application Diagnostics you'll see that there is a problem with authentication.

Cause

  • One of the applications is accessed through a reverse proxy, while the other one is not.

Solution

Workaround

  • Bypass the proxy on both sides and try creating the Application Link again.

ℹ️ You can bypass a proxy by setting up a second connector in Tomcat to be used specifically for the application link. For more details take a look at Step 1.3 of Integrating JIRA with Apache

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.