Skip to content

Can't fully utilize TUS protocol #4839

Closed
@yasakova-anastasia

Description

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:

  • more user traffic
  • possible filename conflicts (partially uploaded files are not autoremoved)

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

  • Git hash commit (git log -1):
  • Docker version docker version (e.g. Docker 17.0.05):
  • Are you using Docker Swarm or Kubernetes?
  • Operating System and version (e.g. Linux, Windows, MacOS):
  • Code example or link to GitHub repo or gist to reproduce problem:
  • Other diagnostic information / logs:
    Logs from `cvat` container

Issue by @zhiltsov-max

Metadata

Assignees

Labels

bugSomething isn't workingserver

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions