Skip to content
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

Could not create the task Open the Browser Console to get details #5020

Closed
hadign20 opened this issue Sep 30, 2022 · 2 comments
Closed

Could not create the task Open the Browser Console to get details #5020

hadign20 opened this issue Sep 30, 2022 · 2 comments
Labels
need info Need more information to investigate the issue

Comments

@hadign20
Copy link

hadign20 commented Sep 30, 2022

My actions before raising this issue

  • Installed docker
  • Installed CVAT
  • ran docker-compose up -d
  • Opened localhost:8080 in chrome
  • Created an account
  • Created a project
  • Creating a task (this is where the error happens).

I have tried this in windows with the same video, so the problem is not from the data.

Current Behaviour

It shows this message:

Could not create the task
Open the Browser Console to get details

The Chrome console shows:

cvat-app.tsx:292 Error: tus: unexpected response while creating upload, originated from request (method: POST, url: http://localhost:8080/api/tasks/9/data/, response code: 403, response text: {"detail":"CSRF Failed: CSRF token missing or incorrect."}, request id: n/a).

Possible Solution

Seems to be a problem with authentication.

Your Environment

  • Operating System and version (e.g. Linux, Windows, MacOS): Ubuntu 20.4
  • Code example or link to GitHub repo or gist to reproduce problem:

Please let me know how to fix this.

Thank you.

@bsekachev
Copy link
Member

@hadi-ghnd

I can not reproduce it.

Could you please be more specific, provide exact CVAT commit hash, fill the issue template, provide some logs from the CVAT container?

@bsekachev bsekachev added the need info Need more information to investigate the issue label Oct 10, 2022
@hadign20
Copy link
Author

Thank you @bsekachev.
Your suggestion here fixed this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need info Need more information to investigate the issue
Projects
None yet
Development

No branches or pull requests

2 participants