Skip to content

Error when running sftploy remote via gitlab CI/CD #2

@deepsoul

Description

@deepsoul

Hi,
when i' running sftploy on a remote server via gitlab i get a fatal error

`> sftploy

events.js:167
throw er; // Unhandled 'error' event
^

Error: Timed out while waiting for handshake
at Timeout._onTimeout (/builds/scopes/node_modules/sftploy/node_modules/ssh2/lib/client.js:569:19)
at ontimeout (timers.js:427:11)
at tryOnTimeout (timers.js:289:5)
at listOnTimeout (timers.js:252:5)
at Timer.processTimers (timers.js:212:10)
Emitted 'error' event at:
at Client. (/builds/scopes/node_modules/sftploy/node_modules/scp2/lib/client.js:81:10)
at Client.emit (events.js:182:13)
at Timeout._onTimeout (/builds/scopes/node_modules/sftploy/node_modules/ssh2/lib/client.js:571:14)
at ontimeout (timers.js:427:11)
[... lines matching original stack trace ...]
at Timer.processTimers (timers.js:212:10)`

i googled to find a similar issue and i found a lot of similiar issues. like this one
https://github.com/mscdex/ssh2/issues/393, but this does not fix my error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions