{"action":"created","issue":{"url":"https://api.github.com/repos/circus-tent/circus/issues/875","labels_url":"https://api.github.com/repos/circus-tent/circus/issues/875/labels{/name}","comments_url":"https://api.github.com/repos/circus-tent/circus/issues/875/comments","events_url":"https://api.github.com/repos/circus-tent/circus/issues/875/events","html_url":"https://github.com/circus-tent/circus/issues/875","id":56998450,"number":875,"title":"Multicast Error","user":{"login":"geekrohit","id":543512,"avatar_url":"https://avatars.githubusercontent.com/u/543512?v=3","gravatar_id":"","url":"https://api.github.com/users/geekrohit","html_url":"https://github.com/geekrohit","followers_url":"https://api.github.com/users/geekrohit/followers","following_url":"https://api.github.com/users/geekrohit/following{/other_user}","gists_url":"https://api.github.com/users/geekrohit/gists{/gist_id}","starred_url":"https://api.github.com/users/geekrohit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekrohit/subscriptions","organizations_url":"https://api.github.com/users/geekrohit/orgs","repos_url":"https://api.github.com/users/geekrohit/repos","events_url":"https://api.github.com/users/geekrohit/events{/privacy}","received_events_url":"https://api.github.com/users/geekrohit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-09T07:42:12Z","updated_at":"2015-02-09T08:20:47Z","closed_at":null,"body":"Getting this while starting circusd : \r\n    2015-02-09 07:37:12 circus[67550] [WARNING] Multicast discovery is disabled, there was an error during udp socket creation.\r\nTraceback (most recent call last):\r\n  File \"/opt/local/lib/python3.4/site-packages/circus/controller.py\", line 61, in _init_multicast_endpoint\r\n    multicast_port)\r\n  File \"/opt/local/lib/python3.4/site-packages/circus/util.py\", line 927, in create_udp_socket\r\n    sock.setsockopt(socket.IPPROTO_IP, socket.IP_MULTICAST_TTL, 255)\r\nOSError: [Errno 22] Invalid argument\r\n\r\n\r\ncircus.ini contains : \r\n[circus]\r\nendpoint = tcp://127.0.0.1:5555\r\npubsub_endpoint = tcp://127.0.0.1:5556\r\nstats_endpoint = tcp://127.0.0.1:5557\r\nstatsd = True\r\n\r\nMulticast is enabled on the interface.\r\nOS is SunOS. \r\n\r\nI've tried same in py2.7, same error. Any pointers ? \r\nDue to the above error, not able to start web interface.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/circus-tent/circus/issues/comments/73471904","html_url":"https://github.com/circus-tent/circus/issues/875#issuecomment-73471904","issue_url":"https://api.github.com/repos/circus-tent/circus/issues/875","id":73471904,"user":{"login":"k4nar","id":2692721,"avatar_url":"https://avatars.githubusercontent.com/u/2692721?v=3","gravatar_id":"","url":"https://api.github.com/users/k4nar","html_url":"https://github.com/k4nar","followers_url":"https://api.github.com/users/k4nar/followers","following_url":"https://api.github.com/users/k4nar/following{/other_user}","gists_url":"https://api.github.com/users/k4nar/gists{/gist_id}","starred_url":"https://api.github.com/users/k4nar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k4nar/subscriptions","organizations_url":"https://api.github.com/users/k4nar/orgs","repos_url":"https://api.github.com/users/k4nar/repos","events_url":"https://api.github.com/users/k4nar/events{/privacy}","received_events_url":"https://api.github.com/users/k4nar/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T08:20:47Z","updated_at":"2015-02-09T08:20:47Z","body":"I think this may solve the issue: http://stackoverflow.com/questions/603852/multicast-in-python/21332405#21332405\r\n\r\nCould you try to make that change in `create_udp_socket` (`circus/util.py`) ?"}}