Skip to content
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

Timed out while waiting for handshake #51

Closed
KwangGan opened this issue Jul 22, 2020 · 4 comments
Closed

Timed out while waiting for handshake #51

KwangGan opened this issue Jul 22, 2020 · 4 comments

Comments

@KwangGan
Copy link

Hi, Thank for great library

I used this as SFTP Client to ReadStreamfile to S3 for year but now I got an error

"Timed out while waiting for handshake"

If I use SSH2 package to connect same server it works but with this SSH2-promise it stall and timeout

Could you please suggest :D

@sanketbajoria
Copy link
Owner

@KwangGan
Can you please provide some code, how are you using it. (Config part and how you are streaming file.)

@kpeters-cbsi
Copy link

@KwangGan Are you trying to connect to SalesForce by any chance?

@kpeters-cbsi
Copy link

I'm experiencing a similar problem, but only when connecting to a particular host. I've attached the log from a recent run. Note that I'm using this inside of a Lambda function.

log-events-viewer-result-2.zip

@KwangGan
Copy link
Author

Thank you for reply

My problem solved.

I increase readyTimeout from 5 seconds to 20 seconds and It works as expect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants