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

Uploading huge yolo dataset causes error 500 #2332

Closed
stiv-yakovenko opened this issue Oct 19, 2020 · 7 comments · Fixed by #3692
Closed

Uploading huge yolo dataset causes error 500 #2332

stiv-yakovenko opened this issue Oct 19, 2020 · 7 comments · Fixed by #3692
Assignees
Labels
bug Something isn't working

Comments

@stiv-yakovenko
Copy link

I have 11G zip yolo dataset. When I try to upload it through web interface, i get these errors:

Uncaught (in promise) TypeError: Cannot read property 'toString' of undefined
    at create-task-content.tsx:156
:8080/api/v1/jobs/5/annotations?format=YOLO%201.1:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
cvat-app.tsx:217 Error: Request failed with status code 500. "Exception: Can't find image info for '/tmp/tmpnq5lma66/obj_train_data/frame_000000.png'\n".
e @ cvat-app.tsx:217
:8080/api/v1/tasks/6/data:1 Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)
cvat-app.tsx:217 Error: Request failed with status code 413. "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>413 Request Entity Too Large</title>\n</head><body>\n<h1>Request Entity Too Large</h1>\nThe requested resource does not allow request data with POST requests, or the amount of data provided in\nthe request exceeds the capacity limit.\n</body></html>\n".

how can we fix or workaround this?

@zhiltsov-max
Copy link
Contributor

Can you describe the task? It looks like it is a video, and frame 0 is missing in the task.

@bsekachev
Copy link
Member

To solve status code 413 (request entity too large), I would recommend you upload data via shared storage (not from local computer). You can attach the storage as it described here

@azhavoro
Copy link
Contributor

azhavoro commented Nov 9, 2020

@stiv-yakovenko Did you solve this issue?

@stiv-yakovenko
Copy link
Author

No, i gave up.

@ddebby
Copy link

ddebby commented Mar 17, 2021

See error, waiting for solution

Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)
cvat-app.tsx:208 Error: Request failed with status code 413. "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>413 Request Entity Too Large</title>\n</head><body>\n<h1>Request Entity Too Large</h1>\nThe requested resource does not allow request data with POST requests, or the amount of data provided in\nthe request exceeds the capacity limit.\n</body></html>\n".

@nmanovic nmanovic added the bug Something isn't working label Mar 17, 2021
@nmanovic nmanovic added this to the Backlog milestone Mar 17, 2021
@haviduck
Copy link

See error, waiting for solution

Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)
cvat-app.tsx:208 Error: Request failed with status code 413. "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>413 Request Entity Too Large</title>\n</head><body>\n<h1>Request Entity Too Large</h1>\nThe requested resource does not allow request data with POST requests, or the amount of data provided in\nthe request exceeds the capacity limit.\n</body></html>\n".

nginx is set client_max_body_size to 0 as should. is it django overriding or that sendfile lib? that one seems to utilize apache2, so im struggling ^^ Vinoguys! help? =)

@klakhov klakhov mentioned this issue Sep 21, 2021
8 tasks
@nmanovic nmanovic removed this from the Backlog milestone Nov 25, 2021
@nmanovic
Copy link
Contributor

#3692

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants