{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/paho.mqtt.python/issues/129","repository_url":"https://api.github.com/repos/eclipse/paho.mqtt.python","labels_url":"https://api.github.com/repos/eclipse/paho.mqtt.python/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/paho.mqtt.python/issues/129/comments","events_url":"https://api.github.com/repos/eclipse/paho.mqtt.python/issues/129/events","html_url":"https://github.com/eclipse/paho.mqtt.python/issues/129","id":192828293,"number":129,"title":"IPv6","user":{"login":"hermanil","id":23533679,"avatar_url":"https://avatars.githubusercontent.com/u/23533679?v=3","gravatar_id":"","url":"https://api.github.com/users/hermanil","html_url":"https://github.com/hermanil","followers_url":"https://api.github.com/users/hermanil/followers","following_url":"https://api.github.com/users/hermanil/following{/other_user}","gists_url":"https://api.github.com/users/hermanil/gists{/gist_id}","starred_url":"https://api.github.com/users/hermanil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hermanil/subscriptions","organizations_url":"https://api.github.com/users/hermanil/orgs","repos_url":"https://api.github.com/users/hermanil/repos","events_url":"https://api.github.com/users/hermanil/events{/privacy}","received_events_url":"https://api.github.com/users/hermanil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-01T12:04:23Z","updated_at":"2016-12-01T14:47:58Z","closed_at":null,"body":"I cant make it work with IPv6. Is it supported or am I mistaken about the format ? Tested with both python 2 and 3\r\n\r\nmqttc.connect(\"2001:db8::1\", 1883)"},"comment":{"url":"https://api.github.com/repos/eclipse/paho.mqtt.python/issues/comments/264191554","html_url":"https://github.com/eclipse/paho.mqtt.python/issues/129#issuecomment-264191554","issue_url":"https://api.github.com/repos/eclipse/paho.mqtt.python/issues/129","id":264191554,"user":{"login":"PierreF","id":359833,"avatar_url":"https://avatars.githubusercontent.com/u/359833?v=3","gravatar_id":"","url":"https://api.github.com/users/PierreF","html_url":"https://github.com/PierreF","followers_url":"https://api.github.com/users/PierreF/followers","following_url":"https://api.github.com/users/PierreF/following{/other_user}","gists_url":"https://api.github.com/users/PierreF/gists{/gist_id}","starred_url":"https://api.github.com/users/PierreF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PierreF/subscriptions","organizations_url":"https://api.github.com/users/PierreF/orgs","repos_url":"https://api.github.com/users/PierreF/repos","events_url":"https://api.github.com/users/PierreF/events{/privacy}","received_events_url":"https://api.github.com/users/PierreF/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T14:47:58Z","updated_at":"2016-12-01T14:47:58Z","body":"Yes, it should work. the host (\"2001:db8::1\" in your example, \"::1\" in my test) is passed as-is to socket.create_connection which support IPv6.\r\n\r\nYou may also get more message to added a callback to on_log:\r\n```\r\ndef on_log(client, userdata, level, buf):\r\n    print(buf)\r\n\r\nmqttc.on_log = on_log\r\n[...]\r\nmqttc.connect(...)\r\n```"}}
{"actor":{"display_login":"PierreF"}}