{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/etcd/issues/2868","labels_url":"https://api.github.com/repos/coreos/etcd/issues/2868/labels{/name}","comments_url":"https://api.github.com/repos/coreos/etcd/issues/2868/comments","events_url":"https://api.github.com/repos/coreos/etcd/issues/2868/events","html_url":"https://github.com/coreos/etcd/issues/2868","id":80541096,"number":2868,"title":"etcd start without error, but can't accept connection","user":{"login":"silenceleaf","id":3157196,"avatar_url":"https://avatars.githubusercontent.com/u/3157196?v=3","gravatar_id":"","url":"https://api.github.com/users/silenceleaf","html_url":"https://github.com/silenceleaf","followers_url":"https://api.github.com/users/silenceleaf/followers","following_url":"https://api.github.com/users/silenceleaf/following{/other_user}","gists_url":"https://api.github.com/users/silenceleaf/gists{/gist_id}","starred_url":"https://api.github.com/users/silenceleaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silenceleaf/subscriptions","organizations_url":"https://api.github.com/users/silenceleaf/orgs","repos_url":"https://api.github.com/users/silenceleaf/repos","events_url":"https://api.github.com/users/silenceleaf/events{/privacy}","received_events_url":"https://api.github.com/users/silenceleaf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-25T13:42:38Z","updated_at":"2015-05-25T21:33:06Z","closed_at":"2015-05-25T17:31:46Z","body":"etcd2 version: 2.01\r\n\r\nI am using public discovery service\r\n\r\nMy configuration:\r\n\r\n```YAML\r\ncoreos:\r\n  etcd2:\r\n    name: coreos1\r\n    discovery: https://discovery.etcd.io/a0fc6f91ae40f46c1d3a6c1b4f4f34d8\r\n    initial-cluster-token: etcd2-cluster-1\r\n    initial-advertise-peer-urls: http://192.168.0.111:2380\r\n    listen-peer-urls: http://192.168.0.111:2380\r\n    advertise-client-urls: http://192.168.0.111:2379\r\n    listen-client-urls: http://192.168.0.111:2379    \r\n    data-dir: /home/core/etcd2/\r\n    initial-cluster-state: new\r\n```\r\n\r\nJournal is OK\r\njournalctl -b -u etcd2 --no-pager\r\n```\r\nMay 25 13:21:21 coreos1 systemd[1]: Started etcd2.\r\nMay 25 13:21:21 coreos1 systemd[1]: Starting etcd2...\r\nMay 25 13:21:21 coreos1 etcd2[523]: 2015/05/25 13:21:21 etcd: listening for peers on http://192.168.0.111:2380\r\nMay 25 13:21:21 coreos1 etcd2[523]: 2015/05/25 13:21:21 etcd: listening for client requests on http://192.168.0.111:2379\r\nMay 25 13:21:21 coreos1 etcd2[523]: 2015/05/25 13:21:21 etcdserver: datadir is valid for the 2.0.1 format\r\nMay 25 13:21:22 coreos1 etcd2[523]: 2015/05/25 13:21:22 discovery: found self c5a74c1a94a0abf7 in the cluster\r\nMay 25 13:21:22 coreos1 etcd2[523]: 2015/05/25 13:21:22 discovery: found 1 peer(s), waiting for 4 more\r\n```\r\n\r\nWhen I use:\r\n```\r\netcdctl -C 192.168.0.111:2379 member list\r\n```\r\nIt give me\r\n```\r\ncontext deadline exceeded\r\n```\r\nWhen I check netstat -l\r\n```\r\nActive Internet connections (only servers)\r\nProto Recv-Q Send-Q Local Address           Foreign Address         State\r\ntcp        1      0 192.168.0.111:2379      *:*                     LISTEN\r\ntcp        0      0 192.168.0.111:2380      *:*                     LISTEN\r\n\r\n```\r\n\r\nRecv-Q have one waiting request. I think it means network is ok. The data haven't been consumed by etcd2.\r\n\r\nBecause I can't use etcdctl, I don't know if etcd work well.\r\n\r\n\r\nWould you mind diagnose this for me?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/coreos/etcd/issues/comments/105321482","html_url":"https://github.com/coreos/etcd/issues/2868#issuecomment-105321482","issue_url":"https://api.github.com/repos/coreos/etcd/issues/2868","id":105321482,"user":{"login":"silenceleaf","id":3157196,"avatar_url":"https://avatars.githubusercontent.com/u/3157196?v=3","gravatar_id":"","url":"https://api.github.com/users/silenceleaf","html_url":"https://github.com/silenceleaf","followers_url":"https://api.github.com/users/silenceleaf/followers","following_url":"https://api.github.com/users/silenceleaf/following{/other_user}","gists_url":"https://api.github.com/users/silenceleaf/gists{/gist_id}","starred_url":"https://api.github.com/users/silenceleaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silenceleaf/subscriptions","organizations_url":"https://api.github.com/users/silenceleaf/orgs","repos_url":"https://api.github.com/users/silenceleaf/repos","events_url":"https://api.github.com/users/silenceleaf/events{/privacy}","received_events_url":"https://api.github.com/users/silenceleaf/received_events","type":"User","site_admin":false},"created_at":"2015-05-25T21:33:06Z","updated_at":"2015-05-25T21:33:06Z","body":"The log of every machine said they are waiting for connection, but no connection come in.\r\n\r\n```\r\nMay 25 18:20:41 coreos2 etcd2[522]: 2015/05/25 18:20:41 discovery: found peer c5a74c1a94a0abf7 in the cluster\r\nMay 25 18:20:41 coreos2 etcd2[522]: 2015/05/25 18:20:41 discovery: found self 5b9b099334e46510 in the cluster\r\nMay 25 18:20:41 coreos2 etcd2[522]: 2015/05/25 18:20:41 discovery: found 2 peer(s), waiting for 3 more\r\nMay 25 18:21:40 coreos2 etcd2[522]: 2015/05/25 18:21:40 discovery: during waiting for other nodes connection to https://discovery.etcd.io timed out, retrying in 4h33m4s\r\n```"}}