step return code "10060" meaning

Tracy (3 posts)
January 17, 2023 07:04 AM
Accepted Answer

Hello Support,

we're encountering a step error code 10060 but the script on this step actually returned 0 in PROD env. We're wondering what this code means. 

Thanks for your time.

Bill Staff (602 posts)
January 17, 2023 01:19 PM
Accepted Answer
If adTempus is reporting an exit code of 10060 for the step, then that's the result that came back from the program or script that the step ran. See article K00000184 for more information. We need more information about what you're running and how to help any more than that--are you running a program, or a batch file, an external script, or a script that's run by the adTempus scripting engine? What information are you looking at that tells you that it returned "0"?
Tracy (3 posts)
January 17, 2023 01:43 PM
Accepted Answer

the screenshot is from Adtempus step log. the job is running a perl script which exit with a code to adtempus. It shows the code is 0. regarding the "can't connect " it was the SMTP connection issue at that time. in the perl script, it also connects SMTP server but it is irrelevant with the return code. 

Bill Staff (602 posts)
January 17, 2023 02:08 PM
Accepted Answer
I would check your script and make sure it's really returning the value of 0 like you think it is. On Windows error code 10060 is used for a TCP socket error, so it seems like that could be the connection error that the script encountered, being passed back as the exit code.