{"action":"created","issue":{"url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/213","repository_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push","labels_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/213/labels{/name}","comments_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/213/comments","events_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/213/events","html_url":"https://github.com/nordnet/cordova-hot-code-push/issues/213","id":175332524,"number":213,"title":"Large sync leads to timeout on iOS","user":{"login":"bbreijer","id":17591682,"avatar_url":"https://avatars.githubusercontent.com/u/17591682?v=3","gravatar_id":"","url":"https://api.github.com/users/bbreijer","html_url":"https://github.com/bbreijer","followers_url":"https://api.github.com/users/bbreijer/followers","following_url":"https://api.github.com/users/bbreijer/following{/other_user}","gists_url":"https://api.github.com/users/bbreijer/gists{/gist_id}","starred_url":"https://api.github.com/users/bbreijer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbreijer/subscriptions","organizations_url":"https://api.github.com/users/bbreijer/orgs","repos_url":"https://api.github.com/users/bbreijer/repos","events_url":"https://api.github.com/users/bbreijer/events{/privacy}","received_events_url":"https://api.github.com/users/bbreijer/received_events","type":"User","site_admin":false},"labels":[{"id":239098204,"url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/labels/bug","name":"bug","color":"fc2929","default":true},{"id":312182677,"url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/labels/fixed%20in%20repo","name":"fixed in repo","color":"009800","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/milestones/17","html_url":"https://github.com/nordnet/cordova-hot-code-push/milestones/v1.5.2","labels_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/milestones/17/labels","id":2006179,"number":17,"title":"v1.5.2","description":"Bug fixes","creator":{"login":"nikDemyankov","id":13447778,"avatar_url":"https://avatars.githubusercontent.com/u/13447778?v=3","gravatar_id":"","url":"https://api.github.com/users/nikDemyankov","html_url":"https://github.com/nikDemyankov","followers_url":"https://api.github.com/users/nikDemyankov/followers","following_url":"https://api.github.com/users/nikDemyankov/following{/other_user}","gists_url":"https://api.github.com/users/nikDemyankov/gists{/gist_id}","starred_url":"https://api.github.com/users/nikDemyankov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikDemyankov/subscriptions","organizations_url":"https://api.github.com/users/nikDemyankov/orgs","repos_url":"https://api.github.com/users/nikDemyankov/repos","events_url":"https://api.github.com/users/nikDemyankov/events{/privacy}","received_events_url":"https://api.github.com/users/nikDemyankov/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":8,"state":"open","created_at":"2016-09-15T08:23:31Z","updated_at":"2016-11-06T15:35:18Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2016-09-06T19:39:13Z","updated_at":"2016-11-06T15:35:18Z","closed_at":"2016-11-06T15:35:18Z","body":"##### Problem\n\nA large (or rather long) sync leads to a timeout on iOS. The behaviour is dependant on internet connection and transfer size.\n\nThe timeout is caused the session timeout: cordova-hot-code-push-plugin/src/ios/Network/HCPFileDownloader.m:37\nSince all files are handled in a single session, the timeout is likely to occur on large transfers with slow connections.\n(see also: http://stackoverflow.com/questions/23428793/nsurlsession-how-to-increase-time-out-for-url-requests)\n\nImho a (sequenced) session per file would be better. Another thing which might help to cope with this problem is setting the timeout from the config.xml.\n##### Steps to reproduce\n1. create a (very) large change on the server\n2. try to download this change from an iOS device using a slow internet connection (transfer should be longer than 60 sec).\n##### System info\n\nRun `cordova info` (or `ionic info`) and paste it here, or give us information like:\n- Platform: iOS 9.3.5\n- Platform version: \n- Cordova version: 6.2.0\n- Node version: 5\n"},"comment":{"url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/comments/258688656","html_url":"https://github.com/nordnet/cordova-hot-code-push/issues/213#issuecomment-258688656","issue_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/213","id":258688656,"user":{"login":"nikDemyankov","id":13447778,"avatar_url":"https://avatars.githubusercontent.com/u/13447778?v=3","gravatar_id":"","url":"https://api.github.com/users/nikDemyankov","html_url":"https://github.com/nikDemyankov","followers_url":"https://api.github.com/users/nikDemyankov/followers","following_url":"https://api.github.com/users/nikDemyankov/following{/other_user}","gists_url":"https://api.github.com/users/nikDemyankov/gists{/gist_id}","starred_url":"https://api.github.com/users/nikDemyankov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikDemyankov/subscriptions","organizations_url":"https://api.github.com/users/nikDemyankov/orgs","repos_url":"https://api.github.com/users/nikDemyankov/repos","events_url":"https://api.github.com/users/nikDemyankov/events{/privacy}","received_events_url":"https://api.github.com/users/nikDemyankov/received_events","type":"User","site_admin":false},"created_at":"2016-11-06T15:35:18Z","updated_at":"2016-11-06T15:35:18Z","body":"Released in v1.5.2."}}
{"actor":{"display_login":"nikDemyankov"}}