-
Notifications
You must be signed in to change notification settings - Fork 375
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: None of the available transfer strategies work. #469
Comments
Try updating |
thanks for replying updated then i have follwoing |
Try checking if your server needs a special port for FTP. From your original comment I assume you are using FTP on port 21 (default values), maybe your host uses a different port for FTP or only accepts FTPS connections (which need to be set in the action YML file) |
I'm having the same issue! Any ideas how to solve this? FTP transfers works fine through other FTP clients, but I'm getting the same errer as above when running the GitHub action! |
Just as I posted this I realized that the issue was related to passive FTP mode and adding the passive ports (49152-65534) to the server firewall solved the issue! |
Does anyone get a solution? |
I get the same error. Perhaps Any help will be greatly appreciated. |
Check your Firewall, Creating Problems in Almalinux. Same Time-out error. Once disable the Firewall it Works |
Facing same issue! |
name: Deploy Project on push
on:
push:
branches:
- master
jobs:
web-deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Get the latest code
uses: actions/[email protected]
- name: d
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.SERVER }}
username: ${{ secrets.USER_NAME }}
password: ${{ secrets.SERVER_PASS }}
server-dir: ${{ secrets.SERVER_PATH }}/
Error: None of the available transfer strategies work.
at Client.prepareTransfer (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/4.0.0/dist/index.js:3308:19)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Client._uploadFromStream (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/4.0.0/dist/index.js:2997:13)
at async Client._uploadLocalFile (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/4.0.0/dist/index.js:2983:20)
Error: None of the available transfer strategies work.
at Client.prepareTransfer (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/4.0.0/dist/index.js:3308:19)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Client._uploadFromStream (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/4.0.0/dist/index.js:2997:13)
at async Client._uploadLocalFile (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/4.0.0/dist/index.js:2983:20)
Time spent hashing: 5.2 seconds
Time spent connecting to server: 213 milliseconds
Time spent deploying: 16 minutes 37.1 seconds (179 kB/second)
The text was updated successfully, but these errors were encountered: