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

[HttpException] Could not resolve host: <your-server>


#1

Hi

I have an issue connecting TestRail to Jira in so much as I am unable to hover over the issue type without receiving the following error:

Plugin “Jira_REST” returned an error: Could not resolve host: ‘’

I’ve tried configuring the URLS and tried both the domain name and IP address. I’ve added my (admin) username and password to the config to see if that did anything (it didn’t)

I can click on the issue and see the issue in Jira and also the create works. However the hover over the issue type produces this error.

The Admin log has this info:

[HttpException] Could not resolve host:

Details:
File: E:\inetpub\wwwroot\testrail\testrail\sys\helpers\ex.php
Line: 25
Status Code: 500
Host: XXXXXXXX
Uri: /testrail/index.php?/defects/ajax_lookup (POST)

Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
PHP: 5.4.24
Server: Windows NT 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586

project_id: 71
defect_id: XXX-57
_token: XXXXXXXXX
_version: 5.2.0.3452

Trace:
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)