Posted: 18 Aug 2017 8:36 EDT Last activity: 16 Oct 2018 12:03 EDT
getting java.lang.RuntimeException: java.net.UnknownHostException in REST Connector
I am trying to connect an Open source API to get Address by Postal Code through a REST Connector. I am able to see the result in web browser but while connecting from PEGA getting the below error. there is no authentication for this API.
Caught unhandled exception: java.lang.RuntimeException: java.net.UnknownHostException: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server (api.postcodes.io)
For a quick testing i tried to create a REST connector from Designer Studio > Integration > Connectors > Create REST Integration in Pega 7.2.2 as shown in the attachment and i am able to see the response of it.