grunt-sftp-deploy icon indicating copy to clipboard operation
grunt-sftp-deploy copied to clipboard

Timeout

Open imalhasaranga opened this issue 9 years ago • 4 comments

connection gets timeout during the handshake, is there any parameters to increase the timeout period ?

Error: Timed out while waiting for handshake Fatal error: Connection :: error

imalhasaranga avatar Sep 16 '15 02:09 imalhasaranga

the same on osx 10.10

alianrock avatar Oct 22 '15 08:10 alianrock

An hacky fix : tasks/sftp-deploy.js, add in the connection object a static line (line 257): readyTimeout: 60000 or less if you need. Default is 20 000 in ssh2.

mamarmite avatar May 10 '16 17:05 mamarmite

Do we have any solution for this? I am facing the exact problem.

ultimatecoder avatar May 10 '17 04:05 ultimatecoder

I'll merge a PR if y'all wanna send one!

thrashr888 avatar May 11 '17 21:05 thrashr888