{"action":"created","issue":{"url":"https://api.github.com/repos/docker/compose/issues/1045","labels_url":"https://api.github.com/repos/docker/compose/issues/1045/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/1045/comments","events_url":"https://api.github.com/repos/docker/compose/issues/1045/events","html_url":"https://github.com/docker/compose/issues/1045","id":59372518,"number":1045,"title":"requests.exceptions.Timeout: UnixHTTPConnectionPool","user":{"login":"dimaip","id":837032,"avatar_url":"https://avatars.githubusercontent.com/u/837032?v=3","gravatar_id":"","url":"https://api.github.com/users/dimaip","html_url":"https://github.com/dimaip","followers_url":"https://api.github.com/users/dimaip/followers","following_url":"https://api.github.com/users/dimaip/following{/other_user}","gists_url":"https://api.github.com/users/dimaip/gists{/gist_id}","starred_url":"https://api.github.com/users/dimaip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimaip/subscriptions","organizations_url":"https://api.github.com/users/dimaip/orgs","repos_url":"https://api.github.com/users/dimaip/repos","events_url":"https://api.github.com/users/dimaip/events{/privacy}","received_events_url":"https://api.github.com/users/dimaip/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-03-01T02:39:48Z","updated_at":"2015-05-17T05:08:38Z","closed_at":null,"body":"Hi! I often get the following error on our Centos 6.5 server when executing `docker-compose up -d`:\r\n```\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 3, in <module>\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.cli.main\", line 31, in main\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.cli.docopt_command\", line 21, in sys_dispatch\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.cli.command\", line 27, in dispatch\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.cli.docopt_command\", line 24, in dispatch\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.cli.command\", line 59, in perform_command\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.cli.main\", line 155, in logs\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.project\", line 205, in containers\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/docker.client\", line 519, in containers\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/docker.client\", line 81, in _get\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/requests.sessions\", line 395, in get\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/requests.sessions\", line 383, in request\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/requests.sessions\", line 486, in send\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/requests.adapters\", line 387, in send\r\nrequests.exceptions.Timeout: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)\r\n```\r\n\r\nAny idea what's happening?"},"comment":{"url":"https://api.github.com/repos/docker/compose/issues/comments/102747737","html_url":"https://github.com/docker/compose/issues/1045#issuecomment-102747737","issue_url":"https://api.github.com/repos/docker/compose/issues/1045","id":102747737,"user":{"login":"kamermans","id":266265,"avatar_url":"https://avatars.githubusercontent.com/u/266265?v=3","gravatar_id":"","url":"https://api.github.com/users/kamermans","html_url":"https://github.com/kamermans","followers_url":"https://api.github.com/users/kamermans/followers","following_url":"https://api.github.com/users/kamermans/following{/other_user}","gists_url":"https://api.github.com/users/kamermans/gists{/gist_id}","starred_url":"https://api.github.com/users/kamermans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamermans/subscriptions","organizations_url":"https://api.github.com/users/kamermans/orgs","repos_url":"https://api.github.com/users/kamermans/repos","events_url":"https://api.github.com/users/kamermans/events{/privacy}","received_events_url":"https://api.github.com/users/kamermans/received_events","type":"User","site_admin":false},"created_at":"2015-05-17T05:08:38Z","updated_at":"2015-05-17T05:08:38Z","body":"I see this issue as well, perhaps 50% of the time when I launch `c3.xlarge` SSD-backed instances in AWS and put `docker-compose up -d` in `rc.local`.  I'm considering running `sleep 10` in `rc.local` to let the CPU settle down a bit before it dives into Docker.  I'm bringing up 7 containers via docker-compose.  I'm also curious about the timeout option.  Here's my output from an instance that was started from an autoscaling group:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 3, in <module>\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.cli.main\", line 31, in main\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.cli.docopt_command\", line 21, in sys_dispatch\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.cli.command\", line 27, in dispatch\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.cli.docopt_command\", line 24, in dispatch\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.cli.command\", line 59, in perform_command\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.cli.main\", line 464, in up\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.project\", line 208, in up\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.service\", line 222, in recreate_containers\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.service\", line 247, in recreate_container\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.container\", line 36, in create\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/docker.client\", line 425, in create_container\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/docker.client\", line 432, in create_container_from_config\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/docker.client\", line 119, in _post_json\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/docker.client\", line 79, in _post\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/requests.sessions\", line 425, in post\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/requests.sessions\", line 383, in request\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/requests.sessions\", line 486, in send\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/requests.adapters\", line 387, in send\r\nrequests.exceptions.Timeout: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)\r\n```\r\n\r\nI'm running `docker-compose 1.2.0`."}}