{"action":"created","issue":{"url":"https://api.github.com/repos/toddmedema/echo/issues/9","repository_url":"https://api.github.com/repos/toddmedema/echo","labels_url":"https://api.github.com/repos/toddmedema/echo/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/toddmedema/echo/issues/9/comments","events_url":"https://api.github.com/repos/toddmedema/echo/issues/9/events","html_url":"https://github.com/toddmedema/echo/issues/9","id":240841803,"number":9,"title":"example-mqtt.py Doesn't Work","user":{"login":"vatrat","id":12566788,"avatar_url":"https://avatars2.githubusercontent.com/u/12566788?v=3","gravatar_id":"","url":"https://api.github.com/users/vatrat","html_url":"https://github.com/vatrat","followers_url":"https://api.github.com/users/vatrat/followers","following_url":"https://api.github.com/users/vatrat/following{/other_user}","gists_url":"https://api.github.com/users/vatrat/gists{/gist_id}","starred_url":"https://api.github.com/users/vatrat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vatrat/subscriptions","organizations_url":"https://api.github.com/users/vatrat/orgs","repos_url":"https://api.github.com/users/vatrat/repos","events_url":"https://api.github.com/users/vatrat/events{/privacy}","received_events_url":"https://api.github.com/users/vatrat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-07-06T04:30:51Z","updated_at":"2017-07-07T14:12:27Z","closed_at":null,"body":"When I try to run the `example-mqtt.py` file, I get an error (Fedora 25, 64-bit).\r\n```\r\n$ python example-mqtt.py \r\nTraceback (most recent call last):\r\n  File \"example-mqtt.py\", line 41, in <module>\r\n    client.connect(MQTT_HOST, MQTT_PORT, 60)\r\n  File \"/usr/lib/python2.7/site-packages/paho/mqtt/client.py\", line 760, in connect\r\n    return self.reconnect()\r\n  File \"/usr/lib/python2.7/site-packages/paho/mqtt/client.py\", line 887, in reconnect\r\n    sock = socket.create_connection((self._host, self._port), source_address=(self._bind\r\n_address, 0))                                                                          \r\n  File \"/usr/lib64/python2.7/socket.py\", line 557, in create_connection\r\n    for res in getaddrinfo(host, port, 0, SOCK_STREAM):\r\nsocket.gaierror: [Errno -2] Name or service not known\r\n```\r\n\r\n`example-minimal.py` works as expected."},"comment":{"url":"https://api.github.com/repos/toddmedema/echo/issues/comments/313693649","html_url":"https://github.com/toddmedema/echo/issues/9#issuecomment-313693649","issue_url":"https://api.github.com/repos/toddmedema/echo/issues/9","id":313693649,"user":{"login":"toddmedema","id":775657,"avatar_url":"https://avatars1.githubusercontent.com/u/775657?v=3","gravatar_id":"","url":"https://api.github.com/users/toddmedema","html_url":"https://github.com/toddmedema","followers_url":"https://api.github.com/users/toddmedema/followers","following_url":"https://api.github.com/users/toddmedema/following{/other_user}","gists_url":"https://api.github.com/users/toddmedema/gists{/gist_id}","starred_url":"https://api.github.com/users/toddmedema/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toddmedema/subscriptions","organizations_url":"https://api.github.com/users/toddmedema/orgs","repos_url":"https://api.github.com/users/toddmedema/repos","events_url":"https://api.github.com/users/toddmedema/events{/privacy}","received_events_url":"https://api.github.com/users/toddmedema/received_events","type":"User","site_admin":false},"created_at":"2017-07-07T14:12:27Z","updated_at":"2017-07-07T14:12:27Z","body":"Actually, looks like it might be a config or Python issue on your computer? https://stackoverflow.com/questions/23777121/why-am-i-getting-socket-gaierror-errno-2-from-python-httplib"}}
{"actor":{"display_login":"toddmedema"}}