{"action":"created","issue":{"url":"https://api.github.com/repos/novastone-media/MQTT-Client-Framework/issues/395","repository_url":"https://api.github.com/repos/novastone-media/MQTT-Client-Framework","labels_url":"https://api.github.com/repos/novastone-media/MQTT-Client-Framework/issues/395/labels{/name}","comments_url":"https://api.github.com/repos/novastone-media/MQTT-Client-Framework/issues/395/comments","events_url":"https://api.github.com/repos/novastone-media/MQTT-Client-Framework/issues/395/events","html_url":"https://github.com/novastone-media/MQTT-Client-Framework/issues/395","id":273636915,"number":395,"title":"iOS 11 connect failed","user":{"login":"zzdota","id":16704305,"avatar_url":"https://avatars2.githubusercontent.com/u/16704305?v=4","gravatar_id":"","url":"https://api.github.com/users/zzdota","html_url":"https://github.com/zzdota","followers_url":"https://api.github.com/users/zzdota/followers","following_url":"https://api.github.com/users/zzdota/following{/other_user}","gists_url":"https://api.github.com/users/zzdota/gists{/gist_id}","starred_url":"https://api.github.com/users/zzdota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zzdota/subscriptions","organizations_url":"https://api.github.com/users/zzdota/orgs","repos_url":"https://api.github.com/users/zzdota/repos","events_url":"https://api.github.com/users/zzdota/events{/privacy}","received_events_url":"https://api.github.com/users/zzdota/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-11-14T01:28:46Z","updated_at":"2018-02-06T12:46:21Z","closed_at":null,"author_association":"NONE","body":"  When we use iPhone7, system version:iOS11.1.1 or iOS11.0.3, using wifi to create an MQTT connection,encountered a connection error. Strangely, when connected with 4G, everything is normal. Create connecting code as follows:\r\n    NSString *host = @\"*******\";\r\n    int port = 1883;\r\n    NSString *username = @\"*****\";\r\n    NSString *password = @\"******\";\r\n    [[MQTTTool shareInstance] ow_startConnectWithHost:host Port:port Username:username Password:password];\r\n    [MQTTTool shareInstance].delegate = self;\r\n\r\n\r\n![pasted graphic](https://user-images.githubusercontent.com/16704305/32757729-e068cbea-c91b-11e7-9fac-cab86664fc93.jpg)"},"comment":{"url":"https://api.github.com/repos/novastone-media/MQTT-Client-Framework/issues/comments/363411505","html_url":"https://github.com/novastone-media/MQTT-Client-Framework/issues/395#issuecomment-363411505","issue_url":"https://api.github.com/repos/novastone-media/MQTT-Client-Framework/issues/395","id":363411505,"user":{"login":"ckrey","id":4027289,"avatar_url":"https://avatars3.githubusercontent.com/u/4027289?v=4","gravatar_id":"","url":"https://api.github.com/users/ckrey","html_url":"https://github.com/ckrey","followers_url":"https://api.github.com/users/ckrey/followers","following_url":"https://api.github.com/users/ckrey/following{/other_user}","gists_url":"https://api.github.com/users/ckrey/gists{/gist_id}","starred_url":"https://api.github.com/users/ckrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckrey/subscriptions","organizations_url":"https://api.github.com/users/ckrey/orgs","repos_url":"https://api.github.com/users/ckrey/repos","events_url":"https://api.github.com/users/ckrey/events{/privacy}","received_events_url":"https://api.github.com/users/ckrey/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T12:46:21Z","updated_at":"2018-02-06T12:46:21Z","author_association":"CONTRIBUTOR","body":"did you check if your hostname is resolved the same way (in terms if IPV4 / IPv6) in the Wifi / 4G environment and if IPv6 is supported im both. iOS prefers v6 if available"}}
{"actor":{"display_login":"ckrey"}}