Network error: Connection timed out
Good Afternoon,
I'm running into an issue where my scheduled task works most of the time. When it fails, even with verbose logging I get Network error: Connection timed out
The question I have is I have the timeout set to 100 seconds but my log shows it failing after 23 seconds. Is there another timeout I'm missing for connections?
My script
open sftp://user:password@sftp.website.com/ -hostkey="ssh-rsa 4096 (key)" -timeout=100 -passive=on
From the log
2019-07-23 02:01:42.214 Connecting to XX.XXX.XXX.XX port 22
2019-07-23 02:02:03.227 Failed to connect to XX.XXX.XXX.XX: Network error: Connection timed out
Thanks,
Chris
I'm running into an issue where my scheduled task works most of the time. When it fails, even with verbose logging I get Network error: Connection timed out
The question I have is I have the timeout set to 100 seconds but my log shows it failing after 23 seconds. Is there another timeout I'm missing for connections?
My script
open sftp://user:password@sftp.website.com/ -hostkey="ssh-rsa 4096 (key)" -timeout=100 -passive=on
From the log
2019-07-23 02:01:42.214 Connecting to XX.XXX.XXX.XX port 22
2019-07-23 02:02:03.227 Failed to connect to XX.XXX.XXX.XX: Network error: Connection timed out
Thanks,
Chris