I'm trying to download a file from a SFTP server via node on the AWS lambda. For this I tried using the popular ssh2 npm package and things seem to work just fine when trying to run the script locally.
When ran on Lambda however the connection flow halts and times out at:
DEBUG: Client: Trying sftp.host.com on port 22 ...
What could be the reason for this?
PS: I already ruled out the possibility of the lambda function not having internet access. Also, increasing the timeout duration for the function does not help either.
via titel
No comments:
Post a Comment