Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.

SSL connect error for JIRA integration


Getting this error when trying to set up jira integration:

[HttpException] SSL connect error

File: /var/www/testrail/sys/helpers/ex.php
Line: 25
Status Code: 500
Uri: /index.php?/defects/ajax_lookup (POST)

Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.92 Safari/537.36
PHP: 5.3.3
Server: Linux 2.6.32-573.8.1.el6.x86_64 #1 SMP Tue Nov 10 18:01:38 UTC 2015 x86_64

project_id: 24
defect_id: KAF-2074
_token: Gd5oteQnm/iFKy5sn1Co

at ex::raise (ex.php:25)
at ex::raise (http.php:219)
at http::request_ex (Jira_REST.php:1481)
at Jira_REST_api->_send_request (Jira_REST.php:1444)
at Jira_REST_api->_send_command (Jira_REST.php:1438)
at Jira_REST_api->get_issue (Jira_REST.php:805)
at Jira_REST_defect_plugin->lookup (defects.php:1171)
at Defects_controller->ajax_lookup (controller.php:257)
at Controller->_invoke_web_call (controller.php:168)
at Controller->_invoke_web (controller.php:120)
at Controller->_invoke (gizmo.php:107)
at require_once (index.php:106)


Hi Marcus,

Thanks for your posting. This looks like a connection/SSL issue when TestRail tries to reach JIRA. Does your JIRA uses SSL? Can you reach JIRA from the TestRail server (e.g. when testing this with a simple curl request on the command line)?



Thanks! We sorted it out, and it is now working.


Thanks for the update, Marcus :slight_smile: