{"action":"created","issue":{"url":"https://api.github.com/repos/strophe/strophejs-plugins/issues/102","repository_url":"https://api.github.com/repos/strophe/strophejs-plugins","labels_url":"https://api.github.com/repos/strophe/strophejs-plugins/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/strophe/strophejs-plugins/issues/102/comments","events_url":"https://api.github.com/repos/strophe/strophejs-plugins/issues/102/events","html_url":"https://github.com/strophe/strophejs-plugins/issues/102","id":159085009,"number":102,"title":"IOS very slow connecting speed [xmppStream setHostName:@“server.com”]; ??","user":{"login":"clarklight","id":9299584,"avatar_url":"https://avatars.githubusercontent.com/u/9299584?v=3","gravatar_id":"","url":"https://api.github.com/users/clarklight","html_url":"https://github.com/clarklight","followers_url":"https://api.github.com/users/clarklight/followers","following_url":"https://api.github.com/users/clarklight/following{/other_user}","gists_url":"https://api.github.com/users/clarklight/gists{/gist_id}","starred_url":"https://api.github.com/users/clarklight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarklight/subscriptions","organizations_url":"https://api.github.com/users/clarklight/orgs","repos_url":"https://api.github.com/users/clarklight/repos","events_url":"https://api.github.com/users/clarklight/events{/privacy}","received_events_url":"https://api.github.com/users/clarklight/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-06-08T05:54:48Z","updated_at":"2016-06-08T09:04:53Z","closed_at":null,"body":"I am using Phonegap/Cordova to run the strophe.js but i am having problem with the connecting speed on IOS(totally no problem on ANdroid),it is very slow around 17 seconds for the socket to connect. I have read that it is because of the SRV lookup... and that if i set [xmppStream setHostName:@\"server.com\"]; then it will behave normally. \r\n\r\n\r\nI see that on the log it is frozen between the challenge and success\r\n`RECV: <body xmlns='http://jabber.org/protocol/httpbind'><challenge xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>cj1kNDFkOGNkOThmMDBiMjA0ZTk4MDA5OThlY2Y4NDI3ZUNSa3p4V2tjTHpjK1pZaFloS2FhTEE9PSxzPTkzMGY2dy9iWTRRajRxa24xWGZ5cWc9PSxpPTQwOTY=</challenge></body>`\r\n\r\n\r\n\r\n`RECV: <body xmlns='http://jabber.org/protocol/httpbind'><success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>dj1VNzg2THV4MFRHQ2hud0ZEWVJzWGlWUWpLZUk9</success></body>`\r\nI am wondering if it is something that i can set with Strophe.js?? or if it is a phonegap thing? \r\n\r\nAlso when the connection process is ongoing, everything is frozen up. "},"comment":{"url":"https://api.github.com/repos/strophe/strophejs-plugins/issues/comments/224531658","html_url":"https://github.com/strophe/strophejs-plugins/issues/102#issuecomment-224531658","issue_url":"https://api.github.com/repos/strophe/strophejs-plugins/issues/102","id":224531658,"user":{"login":"clarklight","id":9299584,"avatar_url":"https://avatars.githubusercontent.com/u/9299584?v=3","gravatar_id":"","url":"https://api.github.com/users/clarklight","html_url":"https://github.com/clarklight","followers_url":"https://api.github.com/users/clarklight/followers","following_url":"https://api.github.com/users/clarklight/following{/other_user}","gists_url":"https://api.github.com/users/clarklight/gists{/gist_id}","starred_url":"https://api.github.com/users/clarklight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarklight/subscriptions","organizations_url":"https://api.github.com/users/clarklight/orgs","repos_url":"https://api.github.com/users/clarklight/repos","events_url":"https://api.github.com/users/clarklight/events{/privacy}","received_events_url":"https://api.github.com/users/clarklight/received_events","type":"User","site_admin":false},"created_at":"2016-06-08T09:04:53Z","updated_at":"2016-06-08T09:04:53Z","body":"I think it is to do with the IOS devices when they base64 encodes the final sasl message as a response that is taking the time and freezing up everything..... because i segregated and tested, the freezing up starts when the client receives the challenge and soon as the response is sent back , the freezing up stops and the success is received.... but that process took 5seconds atleast...."}}
{"actor":{"display_login":"clarklight"}}