{"action":"created","issue":{"url":"https://api.github.com/repos/docker/swarm/issues/972","labels_url":"https://api.github.com/repos/docker/swarm/issues/972/labels{/name}","comments_url":"https://api.github.com/repos/docker/swarm/issues/972/comments","events_url":"https://api.github.com/repos/docker/swarm/issues/972/events","html_url":"https://github.com/docker/swarm/issues/972","id":89225342,"number":972,"title":"Etcd Connectivity Issue with proxy mode","user":{"login":"UserTaken","id":8722625,"avatar_url":"https://avatars.githubusercontent.com/u/8722625?v=3","gravatar_id":"","url":"https://api.github.com/users/UserTaken","html_url":"https://github.com/UserTaken","followers_url":"https://api.github.com/users/UserTaken/followers","following_url":"https://api.github.com/users/UserTaken/following{/other_user}","gists_url":"https://api.github.com/users/UserTaken/gists{/gist_id}","starred_url":"https://api.github.com/users/UserTaken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UserTaken/subscriptions","organizations_url":"https://api.github.com/users/UserTaken/orgs","repos_url":"https://api.github.com/users/UserTaken/repos","events_url":"https://api.github.com/users/UserTaken/events{/privacy}","received_events_url":"https://api.github.com/users/UserTaken/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/swarm/labels/area/discovery","name":"area/discovery","color":"fbca04"},{"url":"https://api.github.com/repos/docker/swarm/labels/kind/bug","name":"kind/bug","color":"207de5"},{"url":"https://api.github.com/repos/docker/swarm/labels/priority/P2","name":"priority/P2","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"abronan","id":1655859,"avatar_url":"https://avatars.githubusercontent.com/u/1655859?v=3","gravatar_id":"","url":"https://api.github.com/users/abronan","html_url":"https://github.com/abronan","followers_url":"https://api.github.com/users/abronan/followers","following_url":"https://api.github.com/users/abronan/following{/other_user}","gists_url":"https://api.github.com/users/abronan/gists{/gist_id}","starred_url":"https://api.github.com/users/abronan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abronan/subscriptions","organizations_url":"https://api.github.com/users/abronan/orgs","repos_url":"https://api.github.com/users/abronan/repos","events_url":"https://api.github.com/users/abronan/events{/privacy}","received_events_url":"https://api.github.com/users/abronan/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/docker/swarm/milestones/6","html_url":"https://github.com/docker/swarm/milestones/1.1.0","labels_url":"https://api.github.com/repos/docker/swarm/milestones/6/labels","id":1383101,"number":6,"title":"1.1.0","description":"","creator":{"login":"aluzzardi","id":179503,"avatar_url":"https://avatars.githubusercontent.com/u/179503?v=3","gravatar_id":"","url":"https://api.github.com/users/aluzzardi","html_url":"https://github.com/aluzzardi","followers_url":"https://api.github.com/users/aluzzardi/followers","following_url":"https://api.github.com/users/aluzzardi/following{/other_user}","gists_url":"https://api.github.com/users/aluzzardi/gists{/gist_id}","starred_url":"https://api.github.com/users/aluzzardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aluzzardi/subscriptions","organizations_url":"https://api.github.com/users/aluzzardi/orgs","repos_url":"https://api.github.com/users/aluzzardi/repos","events_url":"https://api.github.com/users/aluzzardi/events{/privacy}","received_events_url":"https://api.github.com/users/aluzzardi/received_events","type":"User","site_admin":false},"open_issues":34,"closed_issues":58,"state":"open","created_at":"2015-10-29T10:11:13Z","updated_at":"2016-01-30T00:54:01Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2015-06-18T07:52:47Z","updated_at":"2016-01-30T06:16:52Z","closed_at":null,"body":"Docker Swarm seems to have intermittent difficulty connecting to etcd even though it is available and works the majority of the time. It will not fail and retry either, just continue to error out indefinitely. \r\n\r\n\r\n```\r\nJun 18 06:25:47 localhost systemd[1]: Started Swarm Agent.\r\nJun 18 06:25:47 localhost dockerd[740]: time=\"2015-06-18T06:25:47Z\" level=info msg=\"Registering on the discovery service every 20s...\" addr=\"192.168.1.71:2375\" discovery=\"etcd://127.0.0.1:4001\"\r\nJun 18 06:25:47 localhost dockerd[740]: time=\"2015-06-18T06:25:47Z\" level=error msg=\"502:  (unhandled http status [Service Unavailable] with body [{\\\"message\\\":\\\"proxy: zero endpoints currently available\\\"}]) [0]\"\r\nJun 18 06:26:07 localhost dockerd[740]: time=\"2015-06-18T06:26:07Z\" level=info msg=\"Registering on the discovery service every 20s...\" addr=\"192.168.1.71:2375\" discovery=\"etcd://127.0.0.1:4001\"\r\nJun 18 06:26:08 localhost dockerd[740]: time=\"2015-06-18T06:26:08Z\" level=error msg=\"501: All the given peers are not reachable (failed to propose on members [{\\\"message\\\":\\\"proxy: zero endpoints currently available\\\"}] twice [last error: Put %7B%22message%22:%22proxy:%20zero%20endpoints%20currently%20available%22%7D/v2/keys/docker/swarm/nodes/192.168.1.71:2375: unsupported protocol scheme \\\"\\\"]) [0]\"\r\nJun 18 06:26:28 localhost dockerd[740]: time=\"2015-06-18T06:26:28Z\" level=info msg=\"Registering on the discovery service every 20s...\" addr=\"192.168.1.71:2375\" discovery=\"etcd://127.0.0.1:4001\"\r\nJun 18 06:26:28 localhost dockerd[740]: time=\"2015-06-18T06:26:28Z\" level=error msg=\"501: All the given peers are not reachable (failed to propose on members [{\\\"message\\\":\\\"proxy: zero endpoints currently available\\\"}] twice [last error: Put %7B%22message%22:%22proxy:%20zero%20endpoints%20currently%20available%22%7D/v2/keys/docker/swarm/nodes/192.168.1.71:2375: unsupported protocol scheme \\\"\\\"]) [0]\"\r\n...\r\n```\r\n\r\n\r\n```\r\n#cloud-config\r\n...\r\n    - name: docker.service\r\n      command: start\r\n      content: |\r\n            [Unit]\r\n            Description=Docker Daemon\r\n            After=docker.socket flanneld.service\r\n            Requires=docker.socket flanneld.service\r\n            \r\n            [Service]\r\n            MountFlags=slave\r\n            LimitNOFILE=1048576\r\n            LimitNPROC=1048576\r\n            EnvironmentFile=-/run/flannel_docker_opts.env\r\n            EnvironmentFile=-/etc/environment\r\n            Environment=TMPDIR=/var/tmp\r\n            ExecStartPre=/opt/bin/GET_IP\r\n            ExecStart=/usr/lib/coreos/dockerd -D -d -s overlay -H fd:// -H tcp://0.0.0.0:2375 $DOCKER_OPTS $DOCKER_OPT_DNS $DOCKER_OPT_BIP $DOCKER_OPT_MTU $DOCKER_OPT_IPMASQ\r\n            ExecStartPost=/usr/lib/coreos/dockerd info\r\n            Restart=always\r\n            \r\n            [Install]\r\n            WantedBy=multi-user.target\r\n    - name: swarm.service\r\n      command: start\r\n      content: |\r\n            [Unit]\r\n            Description=Swarm Agent\r\n            After=docker.service\r\n            Requires=docker.service\r\n            \r\n            [Service]\r\n            EnvironmentFile=-/etc/environment\r\n            Environment=\"VER=0.3.0-rc3\"\r\n            ExecStartPre=-/usr/lib/coreos/dockerd kill swarm-agent\r\n            ExecStopPost=-/usr/lib/coreos/dockerd rm swarm-agent\r\n            ExecStartPre=/usr/lib/coreos/dockerd pull swarm\r\n            ExecStart=/usr/lib/coreos/dockerd run --name swarm-agent --net host swarm:${VER} join --addr ${SWARM_IP}:2375 etcd://127.0.0.1:2379\r\n            ExecStop=/usr/lib/coreos/dockerd stop swarm-agent\r\n            Restart=always\r\n            \r\n            [Install]\r\n            WantedBy=multi-user.target\r\n...\r\n```"},"comment":{"url":"https://api.github.com/repos/docker/swarm/issues/comments/177084575","html_url":"https://github.com/docker/swarm/issues/972#issuecomment-177084575","issue_url":"https://api.github.com/repos/docker/swarm/issues/972","id":177084575,"user":{"login":"amitshukla","id":6538998,"avatar_url":"https://avatars.githubusercontent.com/u/6538998?v=3","gravatar_id":"","url":"https://api.github.com/users/amitshukla","html_url":"https://github.com/amitshukla","followers_url":"https://api.github.com/users/amitshukla/followers","following_url":"https://api.github.com/users/amitshukla/following{/other_user}","gists_url":"https://api.github.com/users/amitshukla/gists{/gist_id}","starred_url":"https://api.github.com/users/amitshukla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitshukla/subscriptions","organizations_url":"https://api.github.com/users/amitshukla/orgs","repos_url":"https://api.github.com/users/amitshukla/repos","events_url":"https://api.github.com/users/amitshukla/events{/privacy}","received_events_url":"https://api.github.com/users/amitshukla/received_events","type":"User","site_admin":false},"created_at":"2016-01-30T06:16:52Z","updated_at":"2016-01-30T06:16:52Z","body":"@UserTaken is this still an issue?"}}