Hi Team,
We have created a JOBS which is making REST calls to a server. However, we are seeing multiple issues where the JOB is failing with Connection Reset issue. A few days before we had enabled micro logging in AWA and we saw there are two places where the "unresolved resource" error has been indicated.
Below are the error logs that we got:
Does this "
unresolved resource" means that AWA is not able to resolve the DNS of the URL? Do we have to use an IP address instead of the DNS to get this issue resolved? Please suggest.
getFullResource (entry)
2020-10-11 18:18:28 pool-1-thread-4691: REST: getUriBuilder (entry)
2020-10-11 18:18:28 pool-1-thread-4691: REST: Set URI:https://XYZ.com/XYZ-job/v0/job resource:239274
2020-10-11 18:18:28 pool-1-thread-4691: REST: resource:239274
2020-10-11 18:18:28 pool-1-thread-4691: REST: unresolved resource:https://XYZ.com/XYZ-job/v0/job/239274
2020-10-11 18:18:28 pool-1-thread-4691: REST: getUriBuilder (exit)
2020-10-11 18:18:28 pool-1-thread-4691: REST: (unresolved) Built URI[https://XYZ.com/XYZ-job/v0/job/239274]
2020-10-11 18:18:28 pool-1-thread-4691: REST: Get webResource
2020-10-11 18:18:28 pool-1-thread-4691: REST: getFullResource (exit)
2020-10-11 18:18:28 pool-1-thread-4691: REST: Sending request:GET https://XYZ.com/XYZ-job/v0/job/239274
2020-10-11 18:18:28 pool-1-thread-4691: REST: displayRequest (entry)
2020-10-11 18:18:28 pool-1-thread-4691: REST: Request info map:null
2020-10-11 18:18:28 Request:GET https://XYZ.mcmcg.com/XYZ-job/v0/job/239274
2020-10-11 18:18:28 Request headers:[[mcm-userid, Automic_prd], [mcm-appid, PULL_LEAD_ACTIVITIES_JOB], [correlation-id, 1003], [apikey, 123], [keySecret, 123]]
2020-10-11 18:18:28 pool-1-thread-4691: REST: displayRequest (exit)
2020-10-11 18:18:28 Sending request...
2020-10-11 18:18:28
2020-10-11 18:18:28
2020-10-11 18:18:28 pool-1-thread-4691: REST: An error occured - while sending the request
java.net.SocketException: Connection reset
2020-10-11 18:18:28 An error occured - while sending the request
2020-10-11 18:18:28 java.net.SocketException: Connection reset
2020-10-11 18:18:28 pool-1-thread-4691: REST: Clean up client