Issue
The following errors appear while completing the Jira setup form:
Unable to connect to API. Setup test failed with "javax.ws.rs.ProcessingException: java.net.ConnectException: Connection timed out (Connection timed out)".
Unable to connect to API. Not authorized
Environment
Connector: Jira (setup form)
Resolution
1. Setup test failed
This error is caused by incorrect Host/Port fields:
For Cloud installation, the Host domain should end with atlassian.net
and the Port should be 443.
For On-Premise , Host should be structured more like jira.example.com
and on-premise toggle should be enabled.
2. Not authorized
This error is due to an incorrect Host field. The host field should end with either atlassian.net
or jira.example.com
without a following dash or any symbols/characters.
Cause
Incorrect Host/Port fields or extra characters will cause setup form to fail with the above errors.