{"action":"created","issue":{"url":"https://api.github.com/repos/etsy/statsd/issues/503","labels_url":"https://api.github.com/repos/etsy/statsd/issues/503/labels{/name}","comments_url":"https://api.github.com/repos/etsy/statsd/issues/503/comments","events_url":"https://api.github.com/repos/etsy/statsd/issues/503/events","html_url":"https://github.com/etsy/statsd/issues/503","id":65781973,"number":503,"title":"Hashring 3.1.0 breaks proxy.js on node v0.10.25","user":{"login":"ktheory","id":975,"avatar_url":"https://avatars.githubusercontent.com/u/975?v=3","gravatar_id":"","url":"https://api.github.com/users/ktheory","html_url":"https://github.com/ktheory","followers_url":"https://api.github.com/users/ktheory/followers","following_url":"https://api.github.com/users/ktheory/following{/other_user}","gists_url":"https://api.github.com/users/ktheory/gists{/gist_id}","starred_url":"https://api.github.com/users/ktheory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktheory/subscriptions","organizations_url":"https://api.github.com/users/ktheory/orgs","repos_url":"https://api.github.com/users/ktheory/repos","events_url":"https://api.github.com/users/ktheory/events{/privacy}","received_events_url":"https://api.github.com/users/ktheory/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/etsy/statsd/labels/proxy","name":"proxy","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-01T21:23:37Z","updated_at":"2015-10-30T16:43:07Z","closed_at":"2015-10-30T16:43:07Z","body":"I had some trouble running statsd proxy from 23b33189.\r\n\r\nI was using an Ubuntu 14.04 server with the stock nodejs & npm versions (`apt-get install -y nodejs npm`).\r\n\r\nWhen I ran `proxy.js` with 2 workers, every metric I sent was dropped with the error:\r\n\r\n```\r\nWarning: No backend statsd nodes available!\r\n```\r\n\r\nI knew my workers were healthy, b/c they were responding to the health check. And I could see them being added/removed in the proxy logs as I stopped/started them:\r\n\r\n```\r\nRemoving node 127.0.0.1:8126 from the ring.\r\nAdding node 127.0.0.1:8126 to the ring.\r\n```\r\n\r\nI reverted 40647cb to go back to hashring v1.0.1, and now proxy.js works.\r\n\r\n### Configs\r\n\r\nHere's my proxy config:\r\n```\r\n{\"nodes\":[{\"host\":\"127.0.0.1\",\"port\":8126,\"adminport\":8127},{\"host\":\"127.0.0.1\",\"port\":8128,\"adminport\":8129}],\"port\":8125,\"udp_version\":\"udp4\"}\r\n```\r\n\r\nAnd here's a worker config (other worker is the same except for ports):\r\n\r\n```\r\n{\"graphitePort\":2003,\"graphiteHost\":\"localhost\",\"port\":8126,\"mgmt_port\":8127,\"deleteGauges\":true,\"flush_counts\":false,\"deleteIdleStats\":true}\r\n```"},"comment":{"url":"https://api.github.com/repos/etsy/statsd/issues/comments/152582192","html_url":"https://github.com/etsy/statsd/issues/503#issuecomment-152582192","issue_url":"https://api.github.com/repos/etsy/statsd/issues/503","id":152582192,"user":{"login":"mrtazz","id":68183,"avatar_url":"https://avatars.githubusercontent.com/u/68183?v=3","gravatar_id":"","url":"https://api.github.com/users/mrtazz","html_url":"https://github.com/mrtazz","followers_url":"https://api.github.com/users/mrtazz/followers","following_url":"https://api.github.com/users/mrtazz/following{/other_user}","gists_url":"https://api.github.com/users/mrtazz/gists{/gist_id}","starred_url":"https://api.github.com/users/mrtazz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrtazz/subscriptions","organizations_url":"https://api.github.com/users/mrtazz/orgs","repos_url":"https://api.github.com/users/mrtazz/repos","events_url":"https://api.github.com/users/mrtazz/events{/privacy}","received_events_url":"https://api.github.com/users/mrtazz/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T16:43:07Z","updated_at":"2015-10-30T16:43:07Z","body":"fixed with https://github.com/etsy/statsd/pull/538"}}