FTP-Deploy-Action: Similar issue as in #137: "Server sent FIN packet unexpectedly"
Bug Description Just like in #137 Iโm not able to deploy to the FTP server however, Iโm confident my hosting provider provides FTP (port 21) and an SFTP(port 5544). When attempting to connect I use the default port number 21 and therefore, as far as I understand connect over the normal FTP protocol. When using Filezilla with the credentials stored in the secrets it works as it should, but not with the action.
My Action Config
on:
push:
branches:
- main
name: ๐ Deploy to production
jobs:
web-deploy:
name: ๐ Prod Deployment
runs-on: ubuntu-latest
steps:
- name: ๐ Get latest code
uses: actions/checkout@v2
- name: ๐ Sync files
uses: SamKirkland/FTP-Deploy-Action@4.0.0
with:
server: ${{ secrets.ftp_server }}
username: ${{ secrets.ftp_user_prod }}
password: ${{ secrets.ftp_password_prod }}
My Action Log
Run SamKirkland/FTP-Deploy-Action@4.0.0
with:
server: ***
username: ***
password: ***
log-level: verbose
----------------------------------------------------------------
๐ Thanks for using ftp-deploy. Let's deploy some stuff!
----------------------------------------------------------------
If you found this project helpful, please support it
by giving it a โญ on Github --> https://github.com/SamKirkland/FTP-Deploy-Action
or add a badge ๐ท๏ธ to your projects readme --> https://github.com/SamKirkland/FTP-Deploy-Action#badge
Creating local state at ./.ftp-deploy-sync-state.json
Local state created
Connected to 116.202.46.46:21 (No encryption)
----------------------------------------------------------------
--------------- ๐ฅ๐ฅ๐ฅ A error occurred ๐ฅ๐ฅ๐ฅ --------------
----------------------------------------------------------------
----------------------------------------------------------------
---------------------- Full Error below ----------------------
Error: Server sent FIN packet unexpectedly, closing connection.
at Socket.<anonymous> (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/4.0.0/dist/index.js:3602:56)
at Socket.emit (events.js:215:7)
at endReadableNT (_stream_readable.js:1184:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
Error: Error: Server sent FIN packet unexpectedly, closing connection.
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 2
- Comments: 15
I also have the same problem if I use SFTP. Moreover, 1&1 by Ionos does not offer FTP and FTPS anymore, but only SFTP. GitHub Actions are bad and unusable. I hope the author (@SamKirkland) will succeed in seducing us with new features.
Edit ๐ Otherwise, with version 3.3.1 everything works fine! I canโt wait for version 4 to be operational!
on: push name: ๐ Dรฉployer le site web en push jobs: web-deploy: name: ๐ Dรฉployer runs-on: ubuntu-latest steps: - name: ๐ Obtenir le code le plus rรฉcent uses: actions/checkout@v2 with: lfs: true fetch-depth : 100
Thanks a lot @lecomteb27!
I had the same issue. I switched to version 3.1.1, and it works now.
I just figured out that the option
--dry-run
is not working in version 3.1.1 (especially in combination with the option--insecure
). I added dry-run for testing purpose in the first place, when I removed that option, it works for me.@freakyshine > No idea, I tested with it works.