Application Link shows Network Error for Jira

Still need help?

The Atlassian Community is here for you.

Ask the community


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

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles 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

Problem

Application links from Confluence to Jira are not working as expected. The application link in Confluence which connects to Jira shows Network Error for the status. 

The following message appears in a Jira macro on a Confluence page:

com.atlassian.sal.api.net.ResponseException: org.apache.http.conn.ConnectTimeoutException: Connect to jira.example.com:443 [jira.example.com/10.10.24.3] failed: Read timed out.

Diagnosis

Environment

  • Confluence Data Center
  • Jira Data Center
  • Apache HTTPD reverse proxy 

Diagnostic Steps

  1. Capture a HAR file or view the Developer Tools - Network tab while loading the Application Links page (under General Configuration)
  2. Wait for the Application Links page to load and look for the Network Error status on the Jira application link 
    1. The status typically appears after ~10.5 seconds in this scenario
  3. Look at the Network tab in Developer Tools and find the application link request to JIRA
  4. Confirm it shows the following error: 

    error: {category: "UNKNOWN", details: "java.net.SocketTimeoutException: Read timed out", type: "UNKNOWN"}
  5. Example: 

Cause

The Apache HTTPD reverse proxy hosting Jira Data Center is missing a critical item in it's configuration file:

ProxyPassReverse / http://jira.example.com/
  • The above example assumes the base-url for Jira is: https://jira.example.com

Resolution

  1. Add the following line into the Apache httpd.conf file (or virtual server, depending on environment): 

    ProxyPassReverse / http://jira.example.com/


    1. The above example assumes the base-url for Jira is: https://jira.example.com

  2. Restart Apache 

    sudo service httpd restart
  3. Refresh the Applications Links page in Confluence


Last modified on Jan 16, 2025

Was this helpful?

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