{"action":"created","issue":{"url":"https://api.github.com/repos/darkgaro/kubernetes-reverseproxy/issues/3","labels_url":"https://api.github.com/repos/darkgaro/kubernetes-reverseproxy/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/darkgaro/kubernetes-reverseproxy/issues/3/comments","events_url":"https://api.github.com/repos/darkgaro/kubernetes-reverseproxy/issues/3/events","html_url":"https://github.com/darkgaro/kubernetes-reverseproxy/issues/3","id":53319402,"number":3,"title":"etcd from inside container blocked","user":{"login":"raphaelhoffmann","id":991789,"avatar_url":"https://avatars.githubusercontent.com/u/991789?v=3","gravatar_id":"","url":"https://api.github.com/users/raphaelhoffmann","html_url":"https://github.com/raphaelhoffmann","followers_url":"https://api.github.com/users/raphaelhoffmann/followers","following_url":"https://api.github.com/users/raphaelhoffmann/following{/other_user}","gists_url":"https://api.github.com/users/raphaelhoffmann/gists{/gist_id}","starred_url":"https://api.github.com/users/raphaelhoffmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphaelhoffmann/subscriptions","organizations_url":"https://api.github.com/users/raphaelhoffmann/orgs","repos_url":"https://api.github.com/users/raphaelhoffmann/repos","events_url":"https://api.github.com/users/raphaelhoffmann/events{/privacy}","received_events_url":"https://api.github.com/users/raphaelhoffmann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-03T23:55:32Z","updated_at":"2015-01-06T03:17:32Z","closed_at":null,"body":"My docker logs show\r\n2015-01-03T23:34:55Z 479b278d606a confd[35]: ERROR cannot connect to etcd cluster: 10.240.62.210:4001\r\n[nginx] waiting for confd to refresh nginx.conf\r\n...\r\n\r\nIt looks like etcd is not accessible from inside the container:\r\n\r\nroot@2ccc689b0175:/# curl -L http://k8s-abc-master:4001/version\r\ncurl: (7) Failed to connect to k8s-abc-master port 4001: Connection refused\r\n\r\nOn the GCE nodes, this works fine\r\ncurl -L http://k8s-abc-master:4001/version\r\netcd 0.4.6\r\n\r\nAm I missing something?\r\n"},"comment":{"url":"https://api.github.com/repos/darkgaro/kubernetes-reverseproxy/issues/comments/68820747","html_url":"https://github.com/darkgaro/kubernetes-reverseproxy/issues/3#issuecomment-68820747","issue_url":"https://api.github.com/repos/darkgaro/kubernetes-reverseproxy/issues/3","id":68820747,"user":{"login":"darkgaro","id":3021484,"avatar_url":"https://avatars.githubusercontent.com/u/3021484?v=3","gravatar_id":"","url":"https://api.github.com/users/darkgaro","html_url":"https://github.com/darkgaro","followers_url":"https://api.github.com/users/darkgaro/followers","following_url":"https://api.github.com/users/darkgaro/following{/other_user}","gists_url":"https://api.github.com/users/darkgaro/gists{/gist_id}","starred_url":"https://api.github.com/users/darkgaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkgaro/subscriptions","organizations_url":"https://api.github.com/users/darkgaro/orgs","repos_url":"https://api.github.com/users/darkgaro/repos","events_url":"https://api.github.com/users/darkgaro/events{/privacy}","received_events_url":"https://api.github.com/users/darkgaro/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T03:17:32Z","updated_at":"2015-01-06T03:17:32Z","body":"What is k8s-abc-master pointing too ?     most likely that hostname is not being resolved from inside the container, find out the hosts ip address from within container. "}}