API Timeout Issues
Posted: Mon Sep 20, 2021 11:19 am
Hi,
I have webhooks set up and when I make an API call some jobs are failing. I am investigating the logs and have found this:
error:
cURL error 6: Could not resolve host: ****.simprosuite.com (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://****.simprosuite.com/api/v1.0/companies/**/sites/**/customFields/
API Call:
"{\"logging_enabled\":1,\"EndpointData\":{\"{jobID}\":****,\"{companyID}\":****,\"{siteID}\":****},\"baseUrl\":\"https:\\/\\/****.simprosuite.com\",\"endpoint\":\"\\/api\\/v1.0\\/companies\\/****\\/sites\\/****\\/customFields\\/\",\"fullPath\":\"https:\\/\\/****.simprosuite.com\\/api\\/v1.0\\/companies\\/****\\/sites\\/****\\/customFields\\/\",\"method\":\"get\",\"apiCall\":{\"app_id\":7,\"app_endpoint_id\":****}}"
(the above is encoded so it isn't doing the API call with the slashes btw.
When I use postman the call returns successfully in under 500ms
I have webhooks set up and when I make an API call some jobs are failing. I am investigating the logs and have found this:
error:
cURL error 6: Could not resolve host: ****.simprosuite.com (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://****.simprosuite.com/api/v1.0/companies/**/sites/**/customFields/
API Call:
"{\"logging_enabled\":1,\"EndpointData\":{\"{jobID}\":****,\"{companyID}\":****,\"{siteID}\":****},\"baseUrl\":\"https:\\/\\/****.simprosuite.com\",\"endpoint\":\"\\/api\\/v1.0\\/companies\\/****\\/sites\\/****\\/customFields\\/\",\"fullPath\":\"https:\\/\\/****.simprosuite.com\\/api\\/v1.0\\/companies\\/****\\/sites\\/****\\/customFields\\/\",\"method\":\"get\",\"apiCall\":{\"app_id\":7,\"app_endpoint_id\":****}}"
(the above is encoded so it isn't doing the API call with the slashes btw.
When I use postman the call returns successfully in under 500ms