Closed paddy0489 closed 2 years ago
Hi,
What is output of docker exec cvat_worker_low bash -c 'cat /etc/hosts'
? Most likely the settings for this service are missing, try adding the following lines for cvat_worker_low
service
cvat_worker_low:
extra_hosts:
- "host.docker.internal:host-gateway"
@azhavoro
Also get this error:
Fetching inference status for the [task 60
Error: Inference status for the task 60 is failed. requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http://host.docker.internal:49371/
Ooh, this my code error, my model return a error value to function handler, sorry.
cvat_worker_low:
extra_hosts:
- "host.docker.internal:host-gateway"
This work for me. Thx.
Ooh, this my code error, my model return a error value to function handler, sorry.
cvat_worker_low: extra_hosts: - "host.docker.internal:host-gateway"
This work for me. Thx.
hi,where to modify this file? it's in the container of 'cvat_worker_low' or other? but it's likely that the fiels of the container will be restored when reboot the container
@MikoyChinese I have the same error logs
@MrRe0 You can create a new docker compose file as override such as docker-compose.override.yml
, then add some code like this:
version: '3.3'
services:
cvat_worker_low:
extra_hosts:
- "host.docker.internal:host-gateway"
then run this:
docker compose -f docker-compose.yml \
-f components/serverless/docker-compose.serverless.yml \
-f docker-compose.override.yml up -d
Finally, you need to clean your browser cookies to visit your host.
If you run this on develop branch, don't forget add CVAT_VERSION=dev
in your command enviroment.
@MikoyChinese thanks a lot, now it works.
cvat_worker_low:
extra_hosts:
- "host.docker.internal:host-gateway"
it works for me, Thank you :)
Ooh, this my code error, my model return a error value to function handler, sorry.
cvat_worker_low: extra_hosts: - "host.docker.internal:host-gateway"
This work for me. Thx.
i have same error with you :
Tracker initialization error Request failed with status code 500. "500 Server Error: Internal Server Error for url: http://host.docker.internal:32769/".
But add extra_hosts to cvat_worker_low not work for me. Please help.
Browser Console:
Docker: cvat_worker_low
Steps to Reproduce (for bugs)
sudo iptables -t nat -I PREROUTING 1 -d 172.17.0.1 -j DNAT --to 172.240.0.1
fixYour Environment
git log -1
): commit 4167a4e40c8cca2adcb9ebfcd40d859bfcebc5d9 (HEAD -> develop, origin/develop, origin/HEAD)