Automic Workload Automation

Expand all | Collapse all

Connection reset issue in REST calls in AWA

  • 1.  Connection reset issue in REST calls in AWA

    Posted 18 days ago
    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


  • 2.  RE: Connection reset issue in REST calls in AWA

    Posted 17 days ago
    Did you check, whether you get any feedback when accessing the URL that returns the error message? For me it reads like the runid is not valid (existing) on the given client.

    ------------------------------
    ☎️ Swisscom Automation Engineer & πŸ§™ PE Membership Creator

    🌟🌟🌟🌟🌟🌟
    Entfessle mehr Automic Wissen mehr Automic Tools
    https://membership.philippelmer.com/
    🌟🌟🌟🌟🌟🌟
    ------------------------------



  • 3.  RE: Connection reset issue in REST calls in AWA

    Posted 17 days ago
    Hi Joel,

    Thanks for your response. Yes the URL is working fine for me. I have replaced the actual URL with XYZ notation. This issue is intermittent but there are failures in production. And every time when it fails it gives us "Connection reset" error. Is there anything specific that we need to check to troubleshoot this issue ?

    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