{"action":"created","issue":{"url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/14077","labels_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/14077/labels{/name}","comments_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/14077/comments","events_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/14077/events","html_url":"https://github.com/cocos2d/cocos2d-x/issues/14077","id":109928987,"number":14077,"title":"SocketIO - Connect failed after Disconnected","user":{"login":"ZeroHackeR","id":3157700,"avatar_url":"https://avatars.githubusercontent.com/u/3157700?v=3","gravatar_id":"","url":"https://api.github.com/users/ZeroHackeR","html_url":"https://github.com/ZeroHackeR","followers_url":"https://api.github.com/users/ZeroHackeR/followers","following_url":"https://api.github.com/users/ZeroHackeR/following{/other_user}","gists_url":"https://api.github.com/users/ZeroHackeR/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeroHackeR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeroHackeR/subscriptions","organizations_url":"https://api.github.com/users/ZeroHackeR/orgs","repos_url":"https://api.github.com/users/ZeroHackeR/repos","events_url":"https://api.github.com/users/ZeroHackeR/events{/privacy}","received_events_url":"https://api.github.com/users/ZeroHackeR/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-06T03:26:26Z","updated_at":"2015-10-06T06:29:38Z","closed_at":null,"body":"Setup:\r\n- Platform: Android\r\n- Framework: 3.8 (JS) (with SocketIO patch for incorrect packet format)\r\n- Create a button to Connect to any working SocektIO (v1+) server\r\n- Create on SocketIO's connect and disconnect event handlers\r\n\r\nTest Flow:\r\n- Connect to server\r\n- You should receive connect event\r\n- Disable your Wifi/Mobile Data\r\n- You should receive disconnect event\r\n- Now, enable your Wifi/Mobile Data\r\n- Try to connect again\r\n- No event fire"},"comment":{"url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/comments/145753427","html_url":"https://github.com/cocos2d/cocos2d-x/issues/14077#issuecomment-145753427","issue_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/14077","id":145753427,"user":{"login":"man2","id":167375,"avatar_url":"https://avatars.githubusercontent.com/u/167375?v=3","gravatar_id":"","url":"https://api.github.com/users/man2","html_url":"https://github.com/man2","followers_url":"https://api.github.com/users/man2/followers","following_url":"https://api.github.com/users/man2/following{/other_user}","gists_url":"https://api.github.com/users/man2/gists{/gist_id}","starred_url":"https://api.github.com/users/man2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/man2/subscriptions","organizations_url":"https://api.github.com/users/man2/orgs","repos_url":"https://api.github.com/users/man2/repos","events_url":"https://api.github.com/users/man2/events{/privacy}","received_events_url":"https://api.github.com/users/man2/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T06:29:38Z","updated_at":"2015-10-06T06:29:38Z","body":"I think it's because cocos2d-x socket.io implementation haven't implemented reconnect even. I don't know how to do it also. Tried with on \"reconnect\" event with no success"}}