FTP-Deploy-Action icon indicating copy to clipboard operation
FTP-Deploy-Action copied to clipboard

None of the available transfer strategies work.

Open workatease opened this issue 4 years ago • 2 comments

Bug Description FTP deploy fails with the below error and stops.

My Action Config

        uses: SamKirkland/[email protected]
        with:
          server: ****
          username: *****
          password: ${{ secrets.FTP_PASSWORD }}
          server-dir: /
          log-level: verbose

My Action Log

CDUP < 250 OK. Current directory is /domains/*****/public_html

completed uploading "css/bootstrap.css" Trying to find optimal transfer strategy...

EPSV < 229 Extended Passive mode OK (|||35571|)

PASV < 227 Entering Passive Mode (5,2,89,15,137,27)

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 processTicksAndRejections (internal/process/task_queues.js:93:5) 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 processTicksAndRejections (internal/process/task_queues.js:93:5)

workatease avatar Jan 24 '21 22:01 workatease

Hi,

I ran into the same issue yesterday (although my log was maybe not as detailed). I just had to enable the passive mode if my vftps config file, adding the following lines :

# /etc/vsftpd.conf
pasv_enable=Yes
# Replace MIN/MAX with the correct numbers (something between 10000 and 11000 for instance
pasv_min_port=MIN
pasv_max_port=MAX

Does it help in any way ?

Sheepsody avatar Jan 26 '21 10:01 Sheepsody

@Sheepsody It's work fine, I did it, add this lines with the range 10000-11000 and add a output/input firewall rule to TCP between 10000 and 11000. Working perfect now.

luan-hubner avatar Nov 10 '21 14:11 luan-hubner