Error: Failed to establish Jira connection - UnknownHostException in ConnectALL
search cancel

Error: Failed to establish Jira connection - UnknownHostException in ConnectALL

book

Article ID: 401179

calendar_today

Updated On:

Products

ConnectAll On-Prem ConnectALL

Issue/Introduction

 After upgrading to ConnectALL 4.2.0, automations between Rally and Jira fail to sync. The automation logs report a failure to establish a connection despite the connection being successful in the UI configuration screen.

Symptoms:

  • Automation logs show: java.net.UnknownHostException: http://[malformed-url]
  • Error message: "Failed to establish Jira connection"
  • Sync fails for all artifacts.

Environment

  • ConnectALL 4.2.0 and higher.  
  • Has also been seen in ConnectALL 3.x versions.
  • Jira Data Center.
  • Proxy configured via JVM parameters or external injection.

Cause

ConnectALL 4.2.0 introduced UI-based proxy configuration. Existing proxy settings injected via JVM parameters (e.g., in setenv.sh) may become malformed if the injection logic does not account for changes in how ConnectALL 4.2 handles proxy strings. In this case, the redirect URL was truncated or improperly formatted during injection.

Can also be a missing certificate in ConnectAllStore caused the SSL handshake failure between ConnectALL and Jira Server.

ERROR 2025-06-16 07:00:21,862 https-openssl-nio-443-exec-1 com.g2g.connector.jira.JIRAConnector - General Exception thrown in connecting Jira
javax.ws.rs.ProcessingException: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Resolution

  1. Verify the proxy URL being passed to the JVM.
  2. Ensure that the full proxy string (including protocol and port) is correctly formatted without trailing characters or malformed redirects (e.g., ensure http://proxy.example.com:80 is not truncated).
  3. Alternatively, use the new UI-based proxy configuration:
    • Navigate to the Jira Connection properties.
    • Enable the Proxy configuration directly in the UI.
    • Note: UI-based configuration takes precedence over system-level JVM proxy settings.
  4. Restart ConnectALL services after making changes to JVM parameters.

 For Jira SSL certificate issues:

  • Upload and Import Jira SSL certificate in ConnectAllStore by following the instructions from TechDoc.
  • You need to restart ConnectALL Core and UI services after the SSL Certificate refresh.

Additional Information:

  •