-
Notifications
You must be signed in to change notification settings - Fork 8
10 seconds timeout (Connection reset) instead of 403 #155
Copy link
Copy link
Open
Labels
bugstaleFor marking issues as stale. Labeled issues will be closed soon if label is not removed.For marking issues as stale. Labeled issues will be closed soon if label is not removed.
Description
If you start uploading a big file that will take more than 10 seconds to upload, and you don't have the permission to do so, the connection will be reset after 10 seconds, and you will have no idea why.
If the file can be uploaded in less than 10 seconds, you'll have a proper 403.
This wasn't easy to understand because I didn't see anything in the logs, and 10 seconds didn't seem to relate to anything in the settings. It's only when I tried uploading a small file that I got the permission error, and then understood that it might cause the issue.
I guess the proper fix here would be to have a 403 straight away (and not once the file is uploaded... or 10 seconds have elapsed).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugstaleFor marking issues as stale. Labeled issues will be closed soon if label is not removed.For marking issues as stale. Labeled issues will be closed soon if label is not removed.