{"action":"created","issue":{"url":"https://api.github.com/repos/nextcloud/android/issues/234","repository_url":"https://api.github.com/repos/nextcloud/android","labels_url":"https://api.github.com/repos/nextcloud/android/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/android/issues/234/comments","events_url":"https://api.github.com/repos/nextcloud/android/issues/234/events","html_url":"https://github.com/nextcloud/android/issues/234","id":174507856,"number":234,"title":"Fails to upload bigfile when chunk assembly take more than 60 seconds","user":{"login":"seisen","id":107966,"avatar_url":"https://avatars.githubusercontent.com/u/107966?v=3","gravatar_id":"","url":"https://api.github.com/users/seisen","html_url":"https://github.com/seisen","followers_url":"https://api.github.com/users/seisen/followers","following_url":"https://api.github.com/users/seisen/following{/other_user}","gists_url":"https://api.github.com/users/seisen/gists{/gist_id}","starred_url":"https://api.github.com/users/seisen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seisen/subscriptions","organizations_url":"https://api.github.com/users/seisen/orgs","repos_url":"https://api.github.com/users/seisen/repos","events_url":"https://api.github.com/users/seisen/events{/privacy}","received_events_url":"https://api.github.com/users/seisen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-01T12:14:15Z","updated_at":"2016-09-01T12:14:45Z","closed_at":null,"body":"### Actual behaviour\r\nhe Android App upload a bigfile, it fails when upload seem to be complete.\r\nWhen the last chunk is uploaded, Owncloud Server assemble all chunks and the process can take a long time.\r\nIf it takes more than 60 seconds, the Android App abort and notify:\r\n\"An error occurred whilst waiting for the server, the operation couldn't be done\"\r\n\r\nOwncloud Server is served by nginx. A HTTP Code 499 means that the http client closed the socket.\r\n\r\n### Expected behaviour\r\nThe Android App should wait for the chunk assembly completion.\r\n \r\n### Steps to reproduce\r\n\r\n1.  With Android App, upload a big file, assembling all chunk must take more than 60 seconds\r\n2.  wait\r\n3.  Android App notify a socket error\r\n\r\n### Environment data\r\nAndroid version: 6.1.0\r\nDevice model: Sony Xperia Z5\r\nStock or customized system: stock\r\nownCloud app version: 1.2.0\r\nownCloud server version: 10.0.0\r\n\r\n### Logs\r\n```\r\n1.2.3.4 - user [01/Sep/2016:14:08:13 +0200] \"PUT\r\n /remote.php/webdav/Photos/Upload/videos/MOV_001.mp4-chunking-1901-575-573\r\n HTTP/1.1\" 201 1169 \"-\" \"Mozilla/5.0 (Android) ownCloud-android/1.2.0\" \"-\"\r\n msec=\"1472731693.423\" request_length=\"1024430\"\r\n request_time=\"2.795\" \"connection_requests=77\"\r\n1.2.3.4 - user [01/Sep/2016:14:09:13 +0200] \"PUT\r\n /remote.php/webdav/Photos/Upload/videos/MOV_001.mp4-chunking-1901-575-574 \r\n HTTP/1.1\" 499 0 \"-\" \"Mozilla/5.0 (Android) ownCloud-android/1.2.0\" \"-\" \r\n msec=\"1472731753.602\" request_length=\"281163\" \r\n request_time=\"60.086\" \"connection_requests=78\"\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/nextcloud/android/issues/comments/244060493","html_url":"https://github.com/nextcloud/android/issues/234#issuecomment-244060493","issue_url":"https://api.github.com/repos/nextcloud/android/issues/234","id":244060493,"user":{"login":"seisen","id":107966,"avatar_url":"https://avatars.githubusercontent.com/u/107966?v=3","gravatar_id":"","url":"https://api.github.com/users/seisen","html_url":"https://github.com/seisen","followers_url":"https://api.github.com/users/seisen/followers","following_url":"https://api.github.com/users/seisen/following{/other_user}","gists_url":"https://api.github.com/users/seisen/gists{/gist_id}","starred_url":"https://api.github.com/users/seisen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seisen/subscriptions","organizations_url":"https://api.github.com/users/seisen/orgs","repos_url":"https://api.github.com/users/seisen/repos","events_url":"https://api.github.com/users/seisen/events{/privacy}","received_events_url":"https://api.github.com/users/seisen/received_events","type":"User","site_admin":false},"created_at":"2016-09-01T12:14:45Z","updated_at":"2016-09-01T12:14:45Z","body":"also found in Owncloud https://github.com/owncloud/android/issues/1768"}}
{"actor":{"display_login":"seisen"}}