Question13Replies3436Views BrahmeswaraRao Member since 2016 37 posts Posted: December 7, 2015Last activity: December 10, 2015 Closed Connect-REST throws java.net.UnknownHostException:Hi Getting the UnknownHostException in logs during external web service call. "2015-12-02 14:20:38,687 [ PegaRULES-Batch-5] [ STANDARD] [ APP ] ( internal.mgmt.Executable) ERROR - Exception;com.pega.pegarules.pub.services.ConnectorException: Caught unhandled exception: java.net.UnknownHostException: gxdfg.abc.com; at com.pegarules.generated.activity.ra_action_pyinvokerestconnector_d5932c3f5fc9a7db196ef4095a1c0cd8.step5_circum0(ra_action_pyinvokerestconnector_d5932c3f5fc9a7db196ef4095a1c0cd8.java:1641);at com.pegarules.generated.activity.ra_action_pyinvokerestconnector_d5932c3f5fc9a7db196ef4095a1c0cd8.perform(ra_action_pyinvokerestconnector_d5932c3f5fc9a7db196ef4095a1c0cd8.java:137);at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3275);at com.pegarules.generated.activity.ra_action_invoke_e96c8a23c931209f846ec48e6a37da41.step7_circum0(ra_action_invoke_e96c8a23c931209f846ec48e6a37da41.java:1005);at com.pegarules.generated.activity.ra_action_invoke_e96c8a23c931209f846ec48e6a37da41.perform(ra_action_invoke_e96c8a23c931209f846ec48e6a37da41.java:172);at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3275);Any inputs like what could be the reason for causing this issue? how it cab be resolved? System Administration Data Integration ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 4 years agoramap2 PEGA replied to BrahmeswaraRaoHi,Is the host mentioned in the exception "gxdfg.abc.com" reachable from the system where prpc is running ? I mean able to ping or access the rest service out of prpc ? Posted: 4 years agoBrahmeswaraRao replied to ramap2I couldn't mentioned exact service host name over here due to security issue,so updated the some absurd host name .However ,service host is reachable from pega PRPC as able to ping the host name. The host name can be accessed while in client network . Posted: 4 years agoARVINDMALAV PEGA replied to BrahmeswaraRaoHi Brahma,Can you please use IP address instead of domain name?Also, as mentioned by Jeff, it is really required to have PRPC version for better advice. Therefore, we suggest you to provide PRPC version every time you seek help. Posted: 4 years agoKevinZheng_GCS PEGA replied to BrahmeswaraRaoare there any proxy servers involved in your setup? If the external web service is hosted in the internet, normally company IT will require the request going through proxy server. Posted: 4 years agoUpdated: 4 years agoHOULJ PEGA replied to BrahmeswaraRaoHi,Answering these questions will improve the answers you get on this forum:What version of Pega is in use?What application server are you using?What version of Java is in use?Is it possible that the Pega server is trying to complete the connection using ipv6? Posted: 4 years agoBrahmeswaraRao replied to HOULJ1) 7.1.6 PRPC version2) Weblogic server3) jdk1.6.0_34I'm not sure about 4th question, so please suggest me how it can be validated it if possible. Posted: 4 years agoAdityaSirohi930765655 replied to BrahmeswaraRaoDo you get a response back when you test the REST endpoint using SOAPUI/Advanced REST client (Chrome Extension) or any other REST client? Posted: 4 years agoBrahmeswaraRao replied to AdityaSirohi930765655Aditya,Today ,one of the agent interval has been traced in prod,and i didn't see any issue with web service call as it returned valid response as expected.Seems to be an intermittent issue ,as agent makes the web service calls for every 30 sec,but count of the exception being occurred in logs is very minimal(6-7) per day.we are still thinking of what could be the issue for causing the exception.. Posted: 4 years agoKevinZheng_GCS PEGA replied to BrahmeswaraRaothis proves that this has to do with the running state (not configuration per se) of the system. Perhaps, DNS server/networking issues? Posted: 4 years agoramap2 PEGA replied to BrahmeswaraRaoAs kevin said, if a proxy or load balanced configuration involved in the setup, then the network blips could be the reason for intermittent failures. Posted: 4 years agoBrahmeswaraRao replied to ramap2Yes..load balanced configuration involved in the set up. Posted: 4 years agoHOULJ PEGA replied to BrahmeswaraRaoWhen pinging you would see IPv6 format IP addresses in the output of the ping command. Posted: 4 years agoBrahmeswaraRao replied to HOULJIt's IPv4 format.