{"action":"created","issue":{"url":"https://api.github.com/repos/cockpit-project/cockpit/issues/8589","repository_url":"https://api.github.com/repos/cockpit-project/cockpit","labels_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/8589/labels{/name}","comments_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/8589/comments","events_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/8589/events","html_url":"https://github.com/cockpit-project/cockpit/issues/8589","id":295678773,"number":8589,"title":"The diagnostic reports page fails to download large sos reports","user":{"login":"jeepingben","id":8668066,"avatar_url":"https://avatars3.githubusercontent.com/u/8668066?v=4","gravatar_id":"","url":"https://api.github.com/users/jeepingben","html_url":"https://github.com/jeepingben","followers_url":"https://api.github.com/users/jeepingben/followers","following_url":"https://api.github.com/users/jeepingben/following{/other_user}","gists_url":"https://api.github.com/users/jeepingben/gists{/gist_id}","starred_url":"https://api.github.com/users/jeepingben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeepingben/subscriptions","organizations_url":"https://api.github.com/users/jeepingben/orgs","repos_url":"https://api.github.com/users/jeepingben/repos","events_url":"https://api.github.com/users/jeepingben/events{/privacy}","received_events_url":"https://api.github.com/users/jeepingben/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-08T21:53:36Z","updated_at":"2018-02-09T13:22:59Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"If the sos report generated in the Diagnostic Reports page is bigger than 16MB (the default max size in src/bridge/cockpitfsread.c), the download fails. Increasing the max size for sos reports appears to be a matter of including it in the request from sosreports/index.js.\r\n\r\nWhen this error happens, the error returned from the back end has no details, it just says internal server error.  Getting a more specific error from the back end looks like it could be harder.\r\n![screen shot 2018-02-08 at 4 44 28 pm](https://user-images.githubusercontent.com/8668066/36000324-8bff7f4a-0cf0-11e8-8848-3f61cc3e0e7a.png)\r\n\r\n\r\nThe easiest way to reproduce this is probably to generate a sos report, then before hitting download, ssh into the system extend the file containing the report.  Once the file has been extended, click download and you should see the error."},"comment":{"url":"https://api.github.com/repos/cockpit-project/cockpit/issues/comments/364432291","html_url":"https://github.com/cockpit-project/cockpit/issues/8589#issuecomment-364432291","issue_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/8589","id":364432291,"user":{"login":"stefwalter","id":795070,"avatar_url":"https://avatars1.githubusercontent.com/u/795070?v=4","gravatar_id":"","url":"https://api.github.com/users/stefwalter","html_url":"https://github.com/stefwalter","followers_url":"https://api.github.com/users/stefwalter/followers","following_url":"https://api.github.com/users/stefwalter/following{/other_user}","gists_url":"https://api.github.com/users/stefwalter/gists{/gist_id}","starred_url":"https://api.github.com/users/stefwalter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefwalter/subscriptions","organizations_url":"https://api.github.com/users/stefwalter/orgs","repos_url":"https://api.github.com/users/stefwalter/repos","events_url":"https://api.github.com/users/stefwalter/events{/privacy}","received_events_url":"https://api.github.com/users/stefwalter/received_events","type":"User","site_admin":false},"created_at":"2018-02-09T13:22:59Z","updated_at":"2018-02-09T13:22:59Z","author_association":"CONTRIBUTOR","body":"@mvollmer Do we just need to set the max file size option in the channel that downloads the file?\r\n\r\nIn addition there's definitely another bug here. A file that's too big should have an intelligent error message, rather than the general \"Internal Server Error\".\r\n\r\n@jeepingben You can almost certainly see more failure details in the system journal, but nevertheless this is still a bug on both counts."}}
{"actor":{"display_login":"stefwalter"}}