{"action":"created","issue":{"url":"https://api.github.com/repos/emqtt/emqttd/issues/151","repository_url":"https://api.github.com/repos/emqtt/emqttd","labels_url":"https://api.github.com/repos/emqtt/emqttd/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/emqtt/emqttd/issues/151/comments","events_url":"https://api.github.com/repos/emqtt/emqttd/issues/151/events","html_url":"https://github.com/emqtt/emqttd/issues/151","id":83865603,"number":151,"title":"duplex clientId lead continual reconect","user":{"login":"roytan883","id":4022752,"avatar_url":"https://avatars.githubusercontent.com/u/4022752?v=3","gravatar_id":"","url":"https://api.github.com/users/roytan883","html_url":"https://github.com/roytan883","followers_url":"https://api.github.com/users/roytan883/followers","following_url":"https://api.github.com/users/roytan883/following{/other_user}","gists_url":"https://api.github.com/users/roytan883/gists{/gist_id}","starred_url":"https://api.github.com/users/roytan883/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roytan883/subscriptions","organizations_url":"https://api.github.com/users/roytan883/orgs","repos_url":"https://api.github.com/users/roytan883/repos","events_url":"https://api.github.com/users/roytan883/events{/privacy}","received_events_url":"https://api.github.com/users/roytan883/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/emqtt/emqttd/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"emqplus","id":11869,"avatar_url":"https://avatars.githubusercontent.com/u/11869?v=3","gravatar_id":"","url":"https://api.github.com/users/emqplus","html_url":"https://github.com/emqplus","followers_url":"https://api.github.com/users/emqplus/followers","following_url":"https://api.github.com/users/emqplus/following{/other_user}","gists_url":"https://api.github.com/users/emqplus/gists{/gist_id}","starred_url":"https://api.github.com/users/emqplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emqplus/subscriptions","organizations_url":"https://api.github.com/users/emqplus/orgs","repos_url":"https://api.github.com/users/emqplus/repos","events_url":"https://api.github.com/users/emqplus/events{/privacy}","received_events_url":"https://api.github.com/users/emqplus/received_events","type":"User","site_admin":false},"assignees":[{"login":"emqplus","id":11869,"avatar_url":"https://avatars.githubusercontent.com/u/11869?v=3","gravatar_id":"","url":"https://api.github.com/users/emqplus","html_url":"https://github.com/emqplus","followers_url":"https://api.github.com/users/emqplus/followers","following_url":"https://api.github.com/users/emqplus/following{/other_user}","gists_url":"https://api.github.com/users/emqplus/gists{/gist_id}","starred_url":"https://api.github.com/users/emqplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emqplus/subscriptions","organizations_url":"https://api.github.com/users/emqplus/orgs","repos_url":"https://api.github.com/users/emqplus/repos","events_url":"https://api.github.com/users/emqplus/events{/privacy}","received_events_url":"https://api.github.com/users/emqplus/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/emqtt/emqttd/milestones/39","html_url":"https://github.com/emqtt/emqttd/milestones/0.13.0","labels_url":"https://api.github.com/repos/emqtt/emqttd/milestones/39/labels","id":1236567,"number":39,"title":"0.13.0","description":"","creator":{"login":"emqplus","id":11869,"avatar_url":"https://avatars.githubusercontent.com/u/11869?v=3","gravatar_id":"","url":"https://api.github.com/users/emqplus","html_url":"https://github.com/emqplus","followers_url":"https://api.github.com/users/emqplus/followers","following_url":"https://api.github.com/users/emqplus/following{/other_user}","gists_url":"https://api.github.com/users/emqplus/gists{/gist_id}","starred_url":"https://api.github.com/users/emqplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emqplus/subscriptions","organizations_url":"https://api.github.com/users/emqplus/orgs","repos_url":"https://api.github.com/users/emqplus/repos","events_url":"https://api.github.com/users/emqplus/events{/privacy}","received_events_url":"https://api.github.com/users/emqplus/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":15,"state":"closed","created_at":"2015-08-02T03:06:33Z","updated_at":"2016-06-01T03:00:34Z","due_on":"2015-11-01T16:00:00Z","closed_at":"2015-11-11T05:25:35Z"},"comments":20,"created_at":"2015-06-02T06:20:10Z","updated_at":"2016-09-10T03:12:04Z","closed_at":null,"body":"I'm confused about session, then read protocol again：\r\n\"Session:  \r\nA stateful interaction between a Client and a Server. Some Sessions last only as long as the Network  Connection, others can span multiple consecutive Network Connections between a Client and a Server. \"\r\n\r\nDoes it mean one clientID can have multiple connection with server? Like android, ios, pc client use the same clientID to connect mqtt server.\r\n\r\nThen i try to conect emqttd with two equal clientID\r\nmosquitto_sub -c -d -i user5 -q 2 -t topic1\r\nmosquitto_sub -c -d -i user5 -q 2 -t topic1\r\n\r\nIf only start one client, every thing works fine.\r\nWhen the second mosquitto_sub start, both mosquitto_sub keep continual reconect. It looks like in some kind of conflict situation.\r\n\r\nClient user5 sending CONNECT\r\nClient user5 received CONNACK\r\nClient user5 sending SUBSCRIBE (Mid: 1, Topic: topic1, QoS: 2)\r\nClient user5 received SUBACK\r\nSubscribed (mid: 1): 2\r\nClient user5 sending CONNECT\r\nClient user5 received CONNACK\r\nClient user5 sending SUBSCRIBE (Mid: 2, Topic: topic1, QoS: 2)\r\nClient user5 received SUBACK\r\nSubscribed (mid: 2): 2\r\nClient user5 sending CONNECT\r\nClient user5 received CONNACK\r\nClient user5 sending SUBSCRIBE (Mid: 3, Topic: topic1, QoS: 2)\r\nClient user5 received SUBACK\r\nSubscribed (mid: 3): 2\r\nClient user5 sending CONNECT\r\nClient user5 received CONNACK\r\nClient user5 sending SUBSCRIBE (Mid: 4, Topic: topic1, QoS: 2)\r\nClient user5 received SUBACK\r\nSubscribed (mid: 4): 2"},"comment":{"url":"https://api.github.com/repos/emqtt/emqttd/issues/comments/246084874","html_url":"https://github.com/emqtt/emqttd/issues/151#issuecomment-246084874","issue_url":"https://api.github.com/repos/emqtt/emqttd/issues/151","id":246084874,"user":{"login":"chrisp22","id":5436153,"avatar_url":"https://avatars.githubusercontent.com/u/5436153?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisp22","html_url":"https://github.com/chrisp22","followers_url":"https://api.github.com/users/chrisp22/followers","following_url":"https://api.github.com/users/chrisp22/following{/other_user}","gists_url":"https://api.github.com/users/chrisp22/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisp22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisp22/subscriptions","organizations_url":"https://api.github.com/users/chrisp22/orgs","repos_url":"https://api.github.com/users/chrisp22/repos","events_url":"https://api.github.com/users/chrisp22/events{/privacy}","received_events_url":"https://api.github.com/users/chrisp22/received_events","type":"User","site_admin":false},"created_at":"2016-09-10T03:12:04Z","updated_at":"2016-09-10T03:12:04Z","body":"Thanks for clearing the air about the same id problem, at-least i know how to handle it."}}
{"actor":{"display_login":"chrisp22"}}