-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timeout when connecting to Salesforce Marketing SFTP host #52
Comments
Outside of a Lambda context, it seems to upload the file successfully but it doesn't look as though the stream is ever being closed. This happens while SFTPing to both my local machine and the Salesforce Marketing server. Logs attached. Test script below. The one thing that sticks out to me is that Salesforce Marketing looks to be running OpenSSH 7.9.0, but the machines that I tested against were on 7.6.2.
|
I know this is an old issue, and I hope you figured this out by now... I had the same issue on our project and solved it by tweaking my sshconfig to include:
In my case (also connecting to SFMC SFTP) the negotiation of KEX protocols was timing out. |
I piggybacked onto #51 , but the solution to that problem didn't work for me. I'll reproduce the issue here.
I have a Lambda function that uses this module that has been timing out. Looking at the debug output, I see that it is connecting to the remote host but after
DEBUG: Parser: IN_PACKETDATAAFTER, packet: KEXDH_GEX_GROUP
it seems to wait 30 seconds, disconnect, and then 5 seconds later try to connect again. Complete log is attached.log-events-viewer-result-2.zip
The text was updated successfully, but these errors were encountered: