Automic Workload Automation

 View Only

 Automic REST JOBS - Connection timed out error

Mathana Krishnan's profile image
Mathana Krishnan posted Dec 30, 2025 05:07 PM

We are scheduling a cloud-based application called StreamSets in our daily batch and triggering the jobs using their REST API endpoint URL with basic authentication using a username and password. Most of the time, the API request and response complete successfully. Recently, we migrated from Automic AE & webservers from V21 to V24, and this issue was not present. However, after upgrading the REST agent to V24, we started experiencing timeout issues. We have defined a timeout error at the job level as 30 seconds, but the API request is failing even before 30 seconds. The issue seems to be failing at the Automic level, as there are no entries found in the controller logs, indicating that the request is not reaching the cloud destination server or even the internal firewall. Restarting the job usually resolves the problem. Has anyone else encountered similar issues in your environment?

Current REST agent version : 24.1.3

Current AE version : Automic Web Interface 24.4.1+hf1-34-737bc6aaa36

Failure logs:

2025-12-30 14:46:51             Started REST job
2025-12-30 14:46:51             
2025-12-30 14:46:51             Connect timeout set to 30 seconds
2025-12-30 14:46:51             Read timeout set to:60
2025-12-30 14:46:51             Using connection to endpoint: http://ec2-100-22-5-179.us-west-2.compute.amazonaws.com/v1
2025-12-30 14:46:51             Authentication type:None
2025-12-30 14:46:51             Using URI Override:https://cloud.streamsets.com/jobrunner/rest/v1/job/620259c2-22be-4a69-aac4-1bba03b0a:XXXX.com/start
2025-12-30 14:46:51             Request:POST https://cloud.streamsets.com/jobrunner/rest/v1/job/620259c2-22be-4a69-aac4-1bba03b0a:XXXX.com/start
2025-12-30 14:46:51             Sending request...
2025-12-30 14:47:12             
2025-12-30 14:47:12             ERROR: org.apache.http.conn.HttpHostConnectException: Connect to cloud.streamsets.com:443 [cloud.streamsets.com/52.26.70.125] failed: Connection timed out: getsockopt
2025-12-30 14:47:12             ERROR: Possible Reason(s): Connect to cloud.streamsets.com:443 [cloud.streamsets.com/52.26.70.125] failed: Connection timed out: getsockopt
2025-12-30 14:47:12             ERROR: Possible Reason(s): Connection timed out: getsockopt

Successful restart logs:

2025-12-30 14:52:15             Started REST job
2025-12-30 14:52:15             
2025-12-30 14:52:15             Connect timeout set to 30 seconds
2025-12-30 14:52:15             Read timeout set to:60
2025-12-30 14:52:15             Using connection to endpoint: http://ec2-100-22-5-179.us-west-2.compute.amazonaws.com/v1
2025-12-30 14:52:15             Authentication type:None
2025-12-30 14:52:15             Using URI Override:https://cloud.streamsets.com/jobrunner/rest/v1/job/620259c2-22be-4a69-aac4-1bba03b0a:XXXX.com/start
2025-12-30 14:52:15             Request:POST https://cloud.streamsets.com/jobrunner/rest/v1/job/620259c2-22be-4a69-aac4-1bba03b0a:XXXX.com/start
2025-12-30 14:52:15             Sending request...
2025-12-30 14:52:19             Response:
2025-12-30 14:52:19             Status:200 OK
2025-12-30 14:52:19             Response headers:{date=[Tue, 30 Dec 2025 21:52:19 GMT], set-cookie=[SS-SSO-SESSION=82320076-40d6-4c21-84d1-c567004c536a|-1767217265386; Path=/; Secure], expires=[Thu, 01 Jan 1970 00:00:00 GMT], content-type=[application/json], content-length=[1744], strict-transport-security=[max-age=15768000;includeSubDomains;preload], x-xss-protection=[1;mode=block], x-content-type-options=[nosniff], x-frame-options=[SAMEORIGIN], content-security-policy=[frame-ancestors 'none'; object-src 'none'; script-src 'self' https://1.www.s81c.com https://tags.tiqcdn.com https://consent.trustarc.com https://cloud.ibm.com https://visitor-service-us-west-2.tealiumiq.com https://www-api.ibm.com cdn.cookielaw.org privacyportal.onetrust.com geolocation.onetrust.com static.site24x7rum.com 'sha256-AxMiKbGCpteW7H2AwmMGGAzdmzw7tm8HCJOHBEcSa='; style-src 'self' https://1.www.s81c.com fonts.googleapis.com 'unsafe-inline'; base-uri 'self';]}
2025-12-30 14:52:19             Response - application/json
2025-12-30 14:52:19             Start response pattern