{"action":"closed","issue":{"url":"https://api.github.com/repos/owncloud/client/issues/5386","repository_url":"https://api.github.com/repos/owncloud/client","labels_url":"https://api.github.com/repos/owncloud/client/issues/5386/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/client/issues/5386/comments","events_url":"https://api.github.com/repos/owncloud/client/issues/5386/events","html_url":"https://github.com/owncloud/client/issues/5386","id":195856182,"number":5386,"title":"[Qt 4] Qt network issue with nginx/https? QNetworkReply::RemoteHostClosedError","user":{"login":"moscicki","id":621965,"avatar_url":"https://avatars2.githubusercontent.com/u/621965?v=4","gravatar_id":"","url":"https://api.github.com/users/moscicki","html_url":"https://github.com/moscicki","followers_url":"https://api.github.com/users/moscicki/followers","following_url":"https://api.github.com/users/moscicki/following{/other_user}","gists_url":"https://api.github.com/users/moscicki/gists{/gist_id}","starred_url":"https://api.github.com/users/moscicki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moscicki/subscriptions","organizations_url":"https://api.github.com/users/moscicki/orgs","repos_url":"https://api.github.com/users/moscicki/repos","events_url":"https://api.github.com/users/moscicki/events{/privacy}","received_events_url":"https://api.github.com/users/moscicki/received_events","type":"User","site_admin":false},"labels":[{"id":12406861,"url":"https://api.github.com/repos/owncloud/client/labels/bug","name":"bug","color":"fc2929","default":true},{"id":18107822,"url":"https://api.github.com/repos/owncloud/client/labels/Design%20&%20UX","name":"Design & UX","color":"cc317c","default":false},{"id":120033825,"url":"https://api.github.com/repos/owncloud/client/labels/sev3-medium","name":"sev3-medium","color":"fc2929","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-12-15T16:49:21Z","updated_at":"2017-07-27T11:02:47Z","closed_at":"2017-07-27T11:02:47Z","body":"Is there a known Qt bug or issue that is related to QNetworkReply::RemoteHostClosedError over https (with nginx proxies)? \r\n\r\nWhile nginx (1.6.2) serves GET request the client gets Connection Closed (error code 2) which seems to correspond to QNetworkReply::RemoteHostClosedError (http://doc.qt.io/qt-4.8/qnetworkreply.html)\r\n\r\nIn the nginx server log the response is correctly logged at GET 200 and the correct number of bytes transferred (file size).\r\n\r\nThe temporary file created by the sync client contains only first 16K bytes of the file. In the client strace there are 2 writes of 8K pages and then the file is closed.\r\n\r\nI actually compared byte-by-byte the temporary file with the first 16K bytes of the original file and they match. Meaning: this really is the beginning of the file that was downloaded.\r\n\r\nIt seems that some platforms are less affected (OSX) than others (Linux/Ubuntu) where it happens once every few 1000 requests. The result is that for a large file collection the client chokes multiple times on errors before completing the job. For the user it not only takes longer to synchronise but also shows back errors and confuses them.\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/40103388-qt-4-qt-network-issue-with-nginx-https-qnetworkreply-remotehostclosederror?utm_campaign=plugin&utm_content=tracker%2F216457&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F216457&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}
{"actor":{"display_login":"guruz"}}