{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/engine.io-client/issues/371","labels_url":"https://api.github.com/repos/Automattic/engine.io-client/issues/371/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/engine.io-client/issues/371/comments","events_url":"https://api.github.com/repos/Automattic/engine.io-client/issues/371/events","html_url":"https://github.com/Automattic/engine.io-client/issues/371","id":56195482,"number":371,"title":"Disconnecting returns different reasons for each browser and transport.","user":{"login":"ladymalie","id":5070518,"avatar_url":"https://avatars.githubusercontent.com/u/5070518?v=3","gravatar_id":"","url":"https://api.github.com/users/ladymalie","html_url":"https://github.com/ladymalie","followers_url":"https://api.github.com/users/ladymalie/followers","following_url":"https://api.github.com/users/ladymalie/following{/other_user}","gists_url":"https://api.github.com/users/ladymalie/gists{/gist_id}","starred_url":"https://api.github.com/users/ladymalie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ladymalie/subscriptions","organizations_url":"https://api.github.com/users/ladymalie/orgs","repos_url":"https://api.github.com/users/ladymalie/repos","events_url":"https://api.github.com/users/ladymalie/events{/privacy}","received_events_url":"https://api.github.com/users/ladymalie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-02T04:42:42Z","updated_at":"2015-02-02T04:47:05Z","closed_at":null,"body":"On disconnect, the value for reason for closing changes for every browser changes.\r\nThe following are the results.\r\n                                                   polling                       websockets\r\ngoogle chrome     -             Transport Error             Transport Close\r\nIE10                      -             Ping Timeout                Transport Close\r\nSafari                    -              Ping Timeout               Transport Close\r\n\r\nOn checking in the logs (client-side), this error is shown right before the call on the disconnect() method.\r\n\r\n    Error: xhr poll error {type: \"TransportError\", description: 0, stack: (...), message: \"xhr poll error\"}\r\n\r\nWhy is this so?"},"comment":{"url":"https://api.github.com/repos/Automattic/engine.io-client/issues/comments/72405994","html_url":"https://github.com/Automattic/engine.io-client/issues/371#issuecomment-72405994","issue_url":"https://api.github.com/repos/Automattic/engine.io-client/issues/371","id":72405994,"user":{"login":"nkzawa","id":775227,"avatar_url":"https://avatars.githubusercontent.com/u/775227?v=3","gravatar_id":"","url":"https://api.github.com/users/nkzawa","html_url":"https://github.com/nkzawa","followers_url":"https://api.github.com/users/nkzawa/followers","following_url":"https://api.github.com/users/nkzawa/following{/other_user}","gists_url":"https://api.github.com/users/nkzawa/gists{/gist_id}","starred_url":"https://api.github.com/users/nkzawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkzawa/subscriptions","organizations_url":"https://api.github.com/users/nkzawa/orgs","repos_url":"https://api.github.com/users/nkzawa/repos","events_url":"https://api.github.com/users/nkzawa/events{/privacy}","received_events_url":"https://api.github.com/users/nkzawa/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T04:47:05Z","updated_at":"2015-02-02T04:47:05Z","body":"Thank you for your report! Can you explain how to reproduce this?"}}