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

An error happened:(. Failure Error: Failure at SFTPStream.module.exports.157.SFTPStream._transfor #32

Open
agitnaeta opened this issue Aug 21, 2021 · 4 comments

Comments

@agitnaeta
Copy link

Establishing a SSH connection to ***.
(node:2349) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
🤝 Connected to .
Starting scp Action: website.tar.gz to /home/
/portal
⚠️ An error happened:(. Failure Error: Failure
at SFTPStream.module.exports.157.SFTPStream._transform (/home/runner/work/_actions/garygrossgarten/github-action-scp/release/dist/index.js:1277:27)
Error: Failure
at SFTPStream.Transform._read (_stream_transform.js:189:10)
at SFTPStream.module.exports.157.SFTPStream._read (/home/runner/work/_actions/garygrossgarten/github-action-scp/release/dist/index.js:1048:15)
at SFTPStream.Transform._write (_stream_transform.js:177:12)
at doWrite (_stream_writable.js:431:12)
at writeOrBuffer (_stream_writable.js:415:5)
at SFTPStream.Writable.write (_stream_writable.js:305:11)
at Channel.ondata (_stream_readable.js:727:22)
at Channel.emit (events.js:210:5)
at addChunk (_stream_readable.js:309:12)
✅ scp Action finished.

@julled
Copy link

julled commented Dec 16, 2021

I am getting exactly the same error. Would love to get it fixed.

jobs:
  build:
    runs-on:  ubuntu-18.04

    steps:
      - name: Checkout repo
        uses: actions/checkout@v2
        with:
          submodules: recursive
      
      - name: Copy single file to remote
        uses: garygrossgarten/github-action-scp@release
        with:
          local: README.md 
          remote: ~
          host: ${{ secrets.HOST }}
          username: ${{ secrets.SSH_USER }}
          password: ${{ secrets.PASSWORD }}
          port: ${{ secrets.PORT }}

@AxharKhan
Copy link

I am trying to upload a Zip file of almost 170mb and getting this error.

@sinanbozkus
Copy link

I am trying to upload a Zip file of almost 170mb and getting this error.

I have the same problem.

@DerKip
Copy link

DerKip commented Jul 10, 2023

It seems zipped file can't be uploaded

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

5 participants