steelbrain / steelbrain/node-ssh
Timeout handshake
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1k
- Forks
- 94
- PR merge metrics
- No merged PRs in 30d
Description
Hey,
How to catch error inside client?
const err = new Error('Timed out while waiting for handshake');
Error: Timed out while waiting for handshake
at Timeout._onTimeout (server/node_modules/ssh2/lib/client.js:1014:23)
at listOnTimeout (node:internal/timers:564:17)
at process.processTimers (node:internal/timers:507:7) {
level: 'client-timeout'
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the timeout stack trace at server/node_modules/ssh2/lib/client.js:1014 and reproduce the handshake timeout in the client. The issue does not identify a project source file, test, or expected error-handling behavior, so confirm the intended way to catch the client-timeout error before defining done.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100