-
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
Error when upploading images #6324
Comments
Fixed by #6308 |
Yes I rebuild and it works just fine perfect thanks ! |
sorry, I tried the solution above, but still get the error,
could u help me to figure out the reason?? thx |
@Votess4All how much memory you reserved for wsl? |
Hi, I am getting the same error. Its weird because I uploaded these same images a few minutes before, deleted the task and then went to recreate it. Now it throws this error. Any ideas? The system is Linux and has 256GB RAM Dev console logs:
|
I used mounted files to upload and create tasks,Then it failed,here is the console logs Error: tus: failed to upload chunk at offset 2097152, caused by [object ProgressEvent], originated from request (method: PATCH, url: http://localhost:8080/api/tasks/87/data/56cf40b3-c51d-4cc7-bfb1-55b6b42a7038, response code: n/a, response text: n/a, request id: n/a).` |
Have the same issue but on the online website. Has it been solved ? |
Doubt it, if any of the CVAT maintainers do answer, they usually say 'it works on my machine' and that's about it. |
My actions before raising this issue
When trying to upload an image I have the following error:
Error: tus: failed to upload chunk at offset 0, caused by [object ProgressEvent], originated from request (method: PATCH, url: http://.com/api/tasks/21/data/a99b69e9-e161-4392-af27-b202eb9d6814, response code: n/a, response text: n/a, request id: n/a
I have deployed cvat with https as detailed in the documentation :
export CVAT_HOST=<YOUR_DOMAIN>
export ACME_EMAIL=<YOUR_EMAIL>
and
docker compose -f docker-compose.yml -f docker-compose.https.yml up -d
However when uploading it is using a http URL .
I dug into the uppload.js file and in the _createUpload function line 593 : _this6.url = resolveUrl(_this6.options.endpoint, location);
resolveUrl(_this6.options.endpoint, location); returns a http url and not an https. even tho cvat is running fine with https and everything else works fine.
I tried to modify the variable on the fly with chrome debug tool but got the same exact error with https so maybe the probles is with the backend
Steps to Reproduce (for bugs)
2.Chose images to upload ! multiple images
3.create the task
!!error occurs with the following message:
Error: tus: failed to upload chunk at offset 0, caused by [object ProgressEvent], originated from request (method: PATCH, url: http://.com/api/tasks/21/data/a99b69e9-e161-4392-af27-b202eb9d6814, response code: n/a, response text: n/a, request id: n/a
Your Environment
commit 3eeaeb2 (HEAD -> develop, origin/develop, origin/HEAD)
Author: Kirill Lakhov kirill.9992@gmail.com
Date: Thu Jun 15 15:14:33 2023 +0300
AWS EC2 4cpu 16gb ram, 128 gb storage (8% used)
The text was updated successfully, but these errors were encountered: