-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't fully utilize TUS protocol #4839
Comments
After investigation, I found out that traefik is innocent. The one converting the requests is actually mod_wsgi, as explained here. I'm currently investigating if it would be safe to turn this functionality off (I believe it should be). |
Great news! The checks in the function suggest to look at the configuration parameters. |
@zhiltsov-max The description says that there's a workaround in the UI to always send files from scratch, but I don't see where this workaround is implemented. It seems like the UI just uses |
@SpecLad. Speaking about UI, I don't remember checking the library itself (maybe I did, but I just don't remember). I see there is a comment about the implementation that "we try, and if it fails, we start from scratch". |
My actions before raising this issue
Expected Behaviour
Current Behaviour
TUS protocol supposes a leading HEAD request to retrieve file state on the server. Server supports this, but
traefik
converts these HEAD requests to GET, and then server rejects it. Thus, we cannot continue an interrupted file uploading.Workaround: both UI and SDK always send files from scratch. It leads to:
Possible Solution
Steps to Reproduce (for bugs)
Context
Your Environment
git log -1
):docker version
(e.g. Docker 17.0.05):Logs from `cvat` container
Issue by @zhiltsov-max
The text was updated successfully, but these errors were encountered: