{"action":"created","issue":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/3692","labels_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/3692/labels{/name}","comments_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/3692/comments","events_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/3692/events","html_url":"https://github.com/travis-ci/travis-ci/issues/3692","id":69202208,"number":3692,"title":"Can't download file from FTP in docker container","user":{"login":"ElDeveloper","id":375307,"avatar_url":"https://avatars.githubusercontent.com/u/375307?v=3","gravatar_id":"","url":"https://api.github.com/users/ElDeveloper","html_url":"https://github.com/ElDeveloper","followers_url":"https://api.github.com/users/ElDeveloper/followers","following_url":"https://api.github.com/users/ElDeveloper/following{/other_user}","gists_url":"https://api.github.com/users/ElDeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/ElDeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ElDeveloper/subscriptions","organizations_url":"https://api.github.com/users/ElDeveloper/orgs","repos_url":"https://api.github.com/users/ElDeveloper/repos","events_url":"https://api.github.com/users/ElDeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/ElDeveloper/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/travis-ci/travis-ci/labels/docker","name":"docker","color":"d4c5f9"},{"url":"https://api.github.com/repos/travis-ci/travis-ci/labels/networking%20issue","name":"networking issue","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-17T19:28:40Z","updated_at":"2015-04-18T00:36:38Z","closed_at":null,"body":"Our Travis build is using a container based configuration, and as of yesterday we started seeing that downloads from an FTP site (ftp://ftp.microbio.me) would fail with the following error (build [here](https://travis-ci.org/biocore/qiita/jobs/58954743)):\r\n\r\n```\r\n$ wget ftp://ftp.microbio.me/pub/QIIME-v1.9.0-dependencies/suma_package_V_1.0.00.tar.gz\r\n--2015-04-17 19:25:19--  ftp://ftp.microbio.me/pub/QIIME-v1.9.0-dependencies/suma_package_V_1.0.00.tar.gz\r\n           => `suma_package_V_1.0.00.tar.gz'\r\nResolving ftp.microbio.me (ftp.microbio.me)... 169.228.46.98\r\nConnecting to ftp.microbio.me (ftp.microbio.me)|169.228.46.98|:21... connected.\r\nLogging in as anonymous ... Logged in!\r\n==> SYST ... done.    ==> PWD ... done.\r\n==> TYPE I ... done.  ==> CWD (1) /pub/QIIME-v1.9.0-dependencies ... done.\r\n==> SIZE suma_package_V_1.0.00.tar.gz ... 903474\r\n==> PASV ... done.    ==> RETR suma_package_V_1.0.00.tar.gz ... done.\r\nLength: 903474 (882K) (unauthoritative)\r\n\r\n 0% [                                       ] 0           --.-K/s              \r\n```\r\n\r\nTesting this, it doesn't seem like it's a problem specific to our FTP server (microbio.me), we also tried wgeting a README from kernel.org and the connection seemed to time out as well (build [here](https://travis-ci.org/biocore/qiita/jobs/58952833)):\r\n\r\n```\r\n$ wget ftp://mirrors.kernel.org/gnu/flex/flex.README\r\n--2015-04-17 19:02:01--  ftp://mirrors.kernel.org/gnu/flex/flex.README\r\n           => `flex.README'\r\nResolving mirrors.kernel.org (mirrors.kernel.org)... 149.20.37.36, 198.145.20.143, 2620:3:c000:a:0:1994:3:14, ...\r\nConnecting to mirrors.kernel.org (mirrors.kernel.org)|149.20.37.36|:21... connected.\r\nLogging in as anonymous ... Logged in!\r\n==> SYST ... done.    ==> PWD ... done.\r\n==> TYPE I ... done.  ==> CWD (1) /gnu/flex ... done.\r\n==> SIZE flex.README ... 237\r\n==> PASV ... couldn't connect to 10.0.7.35 port 30662: Connection timed out\r\nRetrying.\r\n--2015-04-17 19:04:10--  ftp://mirrors.kernel.org/gnu/flex/flex.README\r\n  (try: 2) => `flex.README'\r\nConnecting to mirrors.kernel.org (mirrors.kernel.org)|149.20.37.36|:21... connected.\r\nLogging in as anonymous ... Logged in!\r\n==> SYST ... done.    ==> PWD ... done.\r\n==> TYPE I ... done.  ==> CWD (1) /gnu/flex ... done.\r\n==> SIZE flex.README ... 237\r\n==> PASV ... couldn't connect to 10.0.7.35 port 30844: Connection timed out\r\nRetrying.\r\n--2015-04-17 19:06:21--  ftp://mirrors.kernel.org/gnu/flex/flex.README\r\n  (try: 3) => `flex.README'\r\nConnecting to mirrors.kernel.org (mirrors.kernel.org)|149.20.37.36|:21... connected.\r\nLogging in as anonymous ... Logged in!\r\n==> SYST ... done.    ==> PWD ... done.\r\n==> TYPE I ... done.  ==> CWD (1) /gnu/flex ... done.\r\n==> SIZE flex.README ... 237\r\n==> PASV ... couldn't connect to 10.0.7.35 port 30088: Connection timed out\r\nRetrying.\r\n--2015-04-17 19:08:32--  ftp://mirrors.kernel.org/gnu/flex/flex.README\r\n  (try: 4) => `flex.README'\r\nConnecting to mirrors.kernel.org (mirrors.kernel.org)|149.20.37.36|:21... connected.\r\nLogging in as anonymous ... Logged in!\r\n==> SYST ... done.    ==> PWD ... done.\r\n==> TYPE I ... done.  ==> CWD (1) /gnu/flex ... done.\r\n==> SIZE flex.README ... 237\r\n==> PASV ... couldn't connect to 10.0.7.35 port 30900: Connection timed out\r\nRetrying.\r\n--2015-04-17 19:10:44--  ftp://mirrors.kernel.org/gnu/flex/flex.README\r\n  (try: 5) => `flex.README'\r\nConnecting to mirrors.kernel.org (mirrors.kernel.org)|149.20.37.36|:21... connected.\r\nLogging in as anonymous ... Logged in!\r\n==> SYST ... done.    ==> PWD ... done.\r\n==> TYPE I ... done.  ==> CWD (1) /gnu/flex ... done.\r\n==> SIZE flex.README ... 237\r\n==> PASV ... \r\n```\r\n\r\nWhen we switch to a **non-docker-based** build, we don't see the problem. The first time we began seeing failures was yesterday.\r\n\r\nFinally, is there a way to get the docker image being used for travis builds?\r\n\r\ncc @josenavas, @antgonza, @wasade, @squirrelo, @adamrp "},"comment":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/comments/94106331","html_url":"https://github.com/travis-ci/travis-ci/issues/3692#issuecomment-94106331","issue_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/3692","id":94106331,"user":{"login":"BanzaiMan","id":25666,"avatar_url":"https://avatars.githubusercontent.com/u/25666?v=3","gravatar_id":"","url":"https://api.github.com/users/BanzaiMan","html_url":"https://github.com/BanzaiMan","followers_url":"https://api.github.com/users/BanzaiMan/followers","following_url":"https://api.github.com/users/BanzaiMan/following{/other_user}","gists_url":"https://api.github.com/users/BanzaiMan/gists{/gist_id}","starred_url":"https://api.github.com/users/BanzaiMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BanzaiMan/subscriptions","organizations_url":"https://api.github.com/users/BanzaiMan/orgs","repos_url":"https://api.github.com/users/BanzaiMan/repos","events_url":"https://api.github.com/users/BanzaiMan/events{/privacy}","received_events_url":"https://api.github.com/users/BanzaiMan/received_events","type":"User","site_admin":false},"created_at":"2015-04-18T00:36:38Z","updated_at":"2015-04-18T00:36:38Z","body":"@wasade Thanks for the detailed analysis. <3 We will take this into consideration for our troubleshooting."}}