-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Intermittent timeout with image preivews #3019
Comments
Have patched by sending a dummy image through the api, obviously not the ideal solution as not previews are seen but cvat works well with that change. |
Do you have any issues with chunk loading? |
We don't seem to, however we do use a chunk size of 1 due to the resolutions of the images we are showing. |
Hi @natrad100, |
use the getPreview() in the api server, and before doing anything simply return an empty string. async function getPreview(tid) {
return ""; That's it! |
I will try your solution. |
My actions before raising this issue
Expected Behaviour
We have a docker-compose.overide that mounts the cvat_data to a nfs mount point. We expect that when we load any page that has a preview, the fetch request
/api/v1/tasks/10/data?type=preview
should return a successful fetchCurrent Behaviour
When we load a page such as Tasks or Projects, there is a 10% success rate in successfully fetching any image previews. The fetch will take anywhere up to 60k ms and will timeout, to which the page will then finally load without any images, and will display 'preview' in it's place.
This data is reachable and is fetched from this mounted point on a NAS.
Note that it will work perfectly for a while, then it suddenly stops working and becomes unusable.
Possible Solution
We've changed the way the drives are mounted multiple times (mounted to linux and fetched by directory verse mounted within the docker-compose) with no avail. It's possible that it might be to do with the networking link between a NAS and the docker container, but could be some other internal bug.
Steps to Reproduce (for bugs)
note sometimes it will use a cached response to display the preview images
Context
Just trying to get it working consistently
Your Environment
docker version
(e.g. Docker 17.0.05): 20.10.5docker logs cvat
Thanks for the help in advanced.
The text was updated successfully, but these errors were encountered: