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
Got 425 Cannot open data connection when uploading files through ftp #9347
Comments
I think this is a variation of #9112 (comment). |
@BanzaiMan Thanks for pointing out. To give some more information: The target ftp server I'm uploading with is an Azure Web App ftp server. And is there any suggestion on how to mitigate this? |
If you can run your builds on containers, do. (https://docs.travis-ci.com/user/reference/overview/#Virtualization-environments) We have not figured out how the failures are happening with FTP servers. |
The problem seems resolved after I switch to the containers. Thanks. |
For those like me that are searching why are getting errors with ftp connections, here is the answer https://blog.travis-ci.com/2018-07-23-the-tale-of-ftp-at-travis-ci. If you want to use FTP you need to set travis to run on a container-based environment. A note from travis doc:
|
Hi, Have you a new solution or hints ? We only have FTP as option and not HTTPS or SFTP as advice in the FTP blog post linked above. There is something mentioned about a VPN tunnelling option. Did you try ? |
Hi team.
I'm using travis CI to run some integration test for my project. The integration test is trying to upload some files onto the target ftp server. The ftp client is using local passive mode.
The integration test works well previously, but start from some time ago, it always get '425 Cannot open data connection' when doing the uploading. (Actually not every time but almost.)
I've run the integration test locally and it can upload the files correctly. Is that related with the CI firewall setting? Any suggestions about this?
Thanks!
The text was updated successfully, but these errors were encountered: