I have defined an external URL as an endpoint in a workflow, but while trying to send a POST request to this endpoint, the scripts show the following error:
Script failed with message: JavaObject[org.springframework.web.client.ResourceAccessException: I/O error on POST request for https://application.my.internal.domain.com; nested exception is java.net.UnknownHostException: https://application.my.internal.domain.com (org.springframework.web.client.ResourceAccessException)].
What's causing this?
All versions of xMatters
In this case, the URL endpoint resolves to an internal DNS reference which only the company's local DNS can process. As xMatters has no visibility to the address requested, it results in the connection access error. To resolve this, only use publicly accessible URLs in your workflow endpoints.