{"action":"created","issue":{"url":"https://api.github.com/repos/Mashape/kong/issues/1107","repository_url":"https://api.github.com/repos/Mashape/kong","labels_url":"https://api.github.com/repos/Mashape/kong/issues/1107/labels{/name}","comments_url":"https://api.github.com/repos/Mashape/kong/issues/1107/comments","events_url":"https://api.github.com/repos/Mashape/kong/issues/1107/events","html_url":"https://github.com/Mashape/kong/issues/1107","id":144193499,"number":1107,"title":"Could Not Start Kong","user":{"login":"timothyley","id":11401225,"avatar_url":"https://avatars.githubusercontent.com/u/11401225?v=3","gravatar_id":"","url":"https://api.github.com/users/timothyley","html_url":"https://github.com/timothyley","followers_url":"https://api.github.com/users/timothyley/followers","following_url":"https://api.github.com/users/timothyley/following{/other_user}","gists_url":"https://api.github.com/users/timothyley/gists{/gist_id}","starred_url":"https://api.github.com/users/timothyley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timothyley/subscriptions","organizations_url":"https://api.github.com/users/timothyley/orgs","repos_url":"https://api.github.com/users/timothyley/repos","events_url":"https://api.github.com/users/timothyley/events{/privacy}","received_events_url":"https://api.github.com/users/timothyley/received_events","type":"User","site_admin":false},"labels":[{"id":350155804,"url":"https://api.github.com/repos/Mashape/kong/labels/area/cluster","name":"area/cluster","color":"d4c5f9","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-03-29T08:29:40Z","updated_at":"2016-11-24T19:08:02Z","closed_at":"2016-06-01T00:13:00Z","body":"Hi, Kong was working fine previously. However about 2 weeks ago, it started to give me error when I start Kong. I am not sure what the problem is. It gave me this error.\n\n```\ndex@kongcassandra2:~$ sudo kong start\n[INFO] Kong 0.6.1\n[INFO] Using configuration: /etc/kong/kong.yml\n[INFO] database...........cassandra replication_factor=1 ssl=verify=false enabled=false data_centers=        timeout=5000 replication_strategy=SimpleStrategy contact_points=127.0.0.1:9042 keyspace=kong\n[INFO] dnsmasq............address=127.0.0.1:8053 dnsmasq=true port=8053\n[WARN] ulimit is currently set to \"1024\". For better performance set it to at least \"4096\" using \"ulimit -n\"\n[INFO] nginx .............admin_api_listen=0.0.0.0:8001 proxy_listen=0.0.0.0:80     proxy_listen_ssl=0.0.0.0:443\n[INFO] Leaving cluster..\n[ERR] Could not start serf: Failed to start the Serf agent: Error creating Serf: Failed to create     memberlist: No private IP address found, and explicit IP not provided\n[ERR] Could not start Kong\ndex@kongcassandra2:~$ \n```\n\nLooking for some help please.\n"},"comment":{"url":"https://api.github.com/repos/Mashape/kong/issues/comments/262833354","html_url":"https://github.com/Mashape/kong/issues/1107#issuecomment-262833354","issue_url":"https://api.github.com/repos/Mashape/kong/issues/1107","id":262833354,"user":{"login":"DonMartin76","id":7326883,"avatar_url":"https://avatars.githubusercontent.com/u/7326883?v=3","gravatar_id":"","url":"https://api.github.com/users/DonMartin76","html_url":"https://github.com/DonMartin76","followers_url":"https://api.github.com/users/DonMartin76/followers","following_url":"https://api.github.com/users/DonMartin76/following{/other_user}","gists_url":"https://api.github.com/users/DonMartin76/gists{/gist_id}","starred_url":"https://api.github.com/users/DonMartin76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DonMartin76/subscriptions","organizations_url":"https://api.github.com/users/DonMartin76/orgs","repos_url":"https://api.github.com/users/DonMartin76/repos","events_url":"https://api.github.com/users/DonMartin76/events{/privacy}","received_events_url":"https://api.github.com/users/DonMartin76/received_events","type":"User","site_admin":false},"created_at":"2016-11-24T19:08:02Z","updated_at":"2016-11-24T19:08:02Z","body":"I just ran into this, as I had a network clash inside a docker network built with `docker-compose` with a network we were actually using inside our company (172.18.x.x). The super strange part with this is that `serf` works with 172.18.x.x, which is also not a private network range actually, but it does not work if I change the default network to:\r\n\r\n```yml\r\nnetworks:\r\n  wicked:\r\n    driver: bridge\r\n    ipam:\r\n      driver: default\r\n      config:\r\n      - subnet: 172.200.0.0/16\r\n        gateway: 172.200.0.1\r\n```\r\n\r\nThis is quite strange, and I have no clue who is the culprit here. The only way I could make Kong accept an IP address in the 172.200.x.x range was to explicitly assign the address to the container, plus add `KONG_CLUSTER_ADVERTISE=172.200.0.3:7946` to my `docker-compose.yml`. That way it works, but it would break as soon as I tried to scale the Kong instances up, as each Kong instance would need its own IP address obviously.\r\n"}}
{"actor":{"display_login":"DonMartin76"}}