gtg092x / gulp-sftp

Gulp SFTP Deploy
140 stars 61 forks source link

"Timed out while waiting for handshake" #14

Closed adam-lynch closed 10 years ago

adam-lynch commented 10 years ago

I tried by passing the pass, etc. and by using a .ftppass. Same error. Has anyone seen this before? :frowning:.

...
[14:38:33] Authenticating with password.
[gulp] 'publish-manifest' errored after 10 s Timed out while waiting for handshake

/Users/adam/.../node_modules/gulp/node_modules/orchestrator/index.js:153
                        throw err;
                              ^
Error: Timed out while waiting for handshake
  at [object Object]._onTimeout (/Users/adam/.../node_modules/gulp-sftp/node_modules/ssh2/lib/Connection.js:232:17)
  at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)

adam-lynch commented 10 years ago

On Windows 8.1:

[14:56:49] Authenticating with password.
[14:56:59] 'publish-manifest' errored after 10 s
[14:56:59] Error in plugin 'gulp-sftp'
Timed out while waiting for handshake
[14:56:59] gulp-sftp SFTP abrupt closure
[14:56:59] Connection :: close

gtg092x commented 10 years ago

Adam,

It looks like you're having issues with the underlying ssh technology. Can you try connecting using only ssh2 module? I'm pretty sure you'll get the same errors. If you can connect successfully with just the ssh2 module, let me know what you did to make that happen.

https://github.com/mscdex/ssh2

Thanks, Matthew Drake

adam-lynch commented 10 years ago

Too busy right now. I'm just going to manually upload my stuff. Got a deadline coming up and this isn't a high priority and wouldn't actually save me a lot of time. Would've been nice, that's all. I'll have a look after this deadline.

gtg092x commented 10 years ago

I'm going to assume this is a connection issue - move to troubleshooting ssh2 and, if you can get that to work, open a new one.

Tolsi commented 10 years ago

adam-lynch,

please, read this https://github.com/mscdex/ssh2/issues/142