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

Process complete successfully but package throws error #9

Closed
elvis-chuks opened this issue May 31, 2020 · 5 comments
Closed

Process complete successfully but package throws error #9

elvis-chuks opened this issue May 31, 2020 · 5 comments

Comments

@elvis-chuks
Copy link

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

Error: read ECONNRESET
at TCP.onStreamRead (internal/stream_base_commons.js:201:27)
Emitted 'error' event on Client instance at:
at Socket. (D:\a_actions\garygrossgarten\github-action-ssh\release\dist\index.js:9728:10)
at Socket.emit (events.js:210:5)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
errno: 'ECONNRESET',
code: 'ECONNRESET',
syscall: 'read',
level: 'client-socket'
}

@boomalator
Copy link

I get the same error thrown. occurs both on github-action-ssh and github-action-scp

`✅ SSH Action finished.
events.js:187
throw er; // Unhandled 'error' event
^

Error: read ECONNRESET
at TCP.onStreamRead (internal/stream_base_commons.js:201:27)
Emitted 'error' event on Client instance at:
at Socket. (/home/runner/work/_actions/garygrossgarten/github-action-ssh/release/dist/index.js:9728:10)
at Socket.emit (events.js:210:5)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
errno: 'ECONNRESET',
code: 'ECONNRESET',
syscall: 'read',
level: 'client-socket'
}`

steps: - name: Invoke dev-publish-iis uses: garygrossgarten/github-action-ssh@release with: Command: powershell -executionpolicy bypass D:\Gits\Elks2020\Tools\deploy-dev-iis.ps1 local: /home/runner/work/Elks2020/Elks2020/deploy/ host: ${{ secrets.HOST }} username: ${{ secrets.SSH_DEV1_USER }} password: ${{ secrets.SSH_DEV1_PASS }}

@garygrossgarten
Copy link
Owner

@boomalator @elvis-chuks Sorry I don't know how to resolve this. Is this still a problem in the latest release / 0.6.1?

@elvis-chuks
Copy link
Author

@boomalator @elvis-chuks Sorry I don't know how to resolve this. Is this still a problem in the latest release / 0.6.1?

I’ll have a look and maybe get back to you, itst been a while

@garygrossgarten
Copy link
Owner

Yeah sorry about that

@garygrossgarten
Copy link
Owner

garygrossgarten commented Jan 8, 2021

#21 might fix this yet it's hard for me to verify as i don't know how to force a ECONNRESET manually. It's available in 0.6.4. If no issues occur I will eventually update the release tag to this version. For now you can use the version by specifying

...
  uses: garygrossgarten/github-action-ssh@0.6.4
...

Available in release now!

Thanks to @zzzz465

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