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

Error: Server sent FIN packet unexpectedly, closing connection. #439

Open
pablomasc opened this issue Feb 10, 2024 · 1 comment
Open

Error: Server sent FIN packet unexpectedly, closing connection. #439

pablomasc opened this issue Feb 10, 2024 · 1 comment

Comments

@pablomasc
Copy link

Bug Description
Constantly getting error "Server sent FIN packet unexpectedly, closing connection" I tryed combinations of users and modes. I had to switch same action to airvzxf/ftp-deployment-action@master wo problem.
Ive tryed also older versions with the same output.
Thanks!! :)

My Action Config
deploy:
name: Deploy
needs: build
runs-on: ubuntu-latest
steps:
- name: Get latest code
uses: actions/checkout@v4
- name: Download artefacto
uses: actions/download-artifact@v4
with:
name: build
path: dist
- name: Sync files
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
with:
server: pamc.ferozo.com
username: pamc
password: ${{ secrets.FTP_PASSWORD }}
local-dir: ./dist/
server-dir: ./public_html/testGithub/


**My Action Log**

Run SamKirkland/FTP-Deploy-Action@v4.1.0

🚀 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
Using the following excludes filters: ["/.git*","/.git*/","/node_modules/**"]
Creating local state at ./dist/.ftp-deploy-sync-state.json
Local state created
Connected to 200.58.110.133:21 (No encryption)
Failed to connect, are you sure your server works via FTP or FTPS? Users sometimes get this error when the server only supports SFTP.


-------------- 🔥🔥🔥 an error occurred 🔥🔥🔥 --------------


---------------------- full error below ----------------------

Error: Server sent FIN packet unexpectedly, closing connection.
at Socket. (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/v4.1.0/dist/index.js:3788:56)
at Socket.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1358:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Error: Error: Server sent FIN packet unexpectedly, closing connection.

@sGoette
Copy link

sGoette commented Apr 21, 2024

Same problem here. The server supports FTP, I am able to connect to it from local clients but not from the Github workflow

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

2 participants