SamKirkland / FTP-Deploy-Action

Deploys a GitHub project to a FTP server using GitHub actions
MIT License
3.89k stars 375 forks source link

'Error: Timeout when trying to open data connection to {ip}' #398

Open orvituhgo opened 1 year ago

orvituhgo commented 1 year ago

I'm having trouble in the step to sync files, this error always throws Error: Error: None of the available transfer strategies work. Last error response was 'Error: Timeout when trying to open data connection to {ip}'... Can someone help me? The folders had been created but the files hadn't... I am using version 4.3.4, I already tried at 4.0.0 and 4.3.1

Obs.: I read the old post about this error but none configs said there can resolve this and I have permission to create dot archives the build of React (cli create-react-app) doesn't create any dot archive Obs2: I just tried with dry-run = true and all archives were uploaded

image

GazicAditya commented 1 year ago

I have the same issue here, even though it was running normally 14 hours ago.

orvituhgo commented 1 year ago

so sad, i'm trying to solve these issues for about two weeks, but I can't yet.. Did you solve it?

the-homeless-god commented 1 year ago

Same

ninianh commented 1 year ago

I was able to fix this issue by enable passive mode following steps:

orvituhgo commented 1 year ago

Hey guys, the error occurs just in Windows, i install ubuntu and run perfectly until now... It were not my first problem with windows, if I can give advice: install linux as dual boot.

the-homeless-god commented 1 year ago

Hey guys, the error occurs just in Windows, i install ubuntu and run perfectly until now... It were not my first problem with windows, if I can give advice: install linux as dual boot.

I've used it via GitHub Actions (Linux) with deployment to Linux,

I think it's still not resolved, just removed action and used sebastianpopp/ftp-action@releases/v2 instead.

orvituhgo commented 1 year ago

What was error showed? I had been trouble with API keys because i can't commit dotenv files, so i just able to commit the dotenv file even this is not recommended, i will try use this action, sebastianpopp

the-homeless-god commented 1 year ago

'Error: Timeout when trying to open data connection to {ip}'...

It was the same error

sabeelh commented 8 months ago

which ports should I allow now?

sabeelh commented 8 months ago

which ports should I allow now? @ninianh

AxonDivisionDev commented 6 months ago

The GitHub Actions IPs listed at https://api.github.com/meta are extensive and seem to rotate. If you're running into issues, whitelisting these IPs on your host should help, just as it did for me, @orvituhgo 🔐. Though there are a lot, you might want to track and filter specific IPs that you actually use to keep things manageable - hope this helps