Accessing CVAT from local network

See original GitHub issue

My actions before raising this issue

Expected Behaviour

I would like to host a CVAT site from a server at my workplace to my colleagues, but I cannot acces it from outside of the machine (only localhost)

Current Behaviour

From outside - using the servers IP address - I only get a “404 page not found” error I ran through install guide,

Steps to Reproduce (for bugs)

  1. Follow the steps in the Install guide - Ubuntu section
  2. Try to acces the site from another machine connected to the same network as the server
  3. I also tried to manually create the stack in docker, but the cvat-server container always stopped immediately with the following error:
Error: Format string '%(ENV_HOME)s/wait-for-it.sh db:5432 -t 0 -- bash -ic \\n"/usr/bin/python3 ~/manage.py migrate && \\n/usr/bin/python3 ~/manage.py collectstatic --no-input && \\nexec /usr/bin/python3 $HOME/manage.py runmodwsgi --log-to-terminal --port 8080 \\n--limit-request-body 1073741824 --log-level INFO --include-file ~/mod_wsgi.conf \\n%(ENV_DJANGO_MODWSGI_EXTRA_ARGS)s --locale %(ENV_LC_ALL)s"' for 'program:runserver.command' contains names ('ENV_DJANGO_MODWSGI_EXTRA_ARGS') which cannot be expanded. Available names: ENV_CUDA_SUPPORT, ENV_DEXTR_MODEL_DIR, ENV_DJANGO_CONFIGURATION, ENV_HOME, ENV_HOSTNAME, ENV_LANG, ENV_LC_ALL, ENV_OPENVINO_TOOLKIT, ENV_PATH, ENV_REID_MODEL_DIR, ENV_TERM, ENV_TF_ANNOTATION, ENV_TF_ANNOTATION_MODEL_PATH, ENV_USER, ENV_WITH_DEXTR, ENV_http_proxy, ENV_https_proxy, ENV_no_proxy, ENV_socks_proxy, group_name, here, host_node_name, process_num, program_name in section 'program:runserver' (file: 'supervisord.conf')
For help, use /usr/bin/supervisord -h

Your Environment

  • Git hash commit (git log -1): commit 9d21b20845e59863488c4a5bbd049721fe897610 (HEAD -> develop, origin/develop, origin/HEAD)
  • Docker version docker version (e.g. Docker 17.0.05): Version: 20.10.11
  • Are you using Docker Swarm or Kubernetes?: No
  • Operating System and version (e.g. Linux, Windows, MacOS): Ubuntu Server 20.04.3 LTS

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

5reactions
bkbillycommented, Jul 12, 2022

If anyone is interested, I found a way to access CVAT from any hostname. It is very useful for me because I can now access it with the machine IP, as localhost or even as a tunnel using ngrok.

I’ve modified the traefik rules on the official docker-compose.yml file. You can find the file here.

2reactions
azhavorocommented, Dec 2, 2021

https://openvinotoolkit.github.io/cvat/docs/faq/#how-to-change-default-cvat-hostname-or-port Just set env variable export CVAT_HOST=<YOUR_HOSTNAME_OR_IP> and restart docker containers with docker-compose down && docker-compose up -d

Read more comments on GitHub >

github_iconTop Results From Across the Web

Accessing CVAT from local network · Issue #3982 - GitHub
If anyone is interested, I found a way to access CVAT from any hostname. It is very useful for me because I can...
Read more >
opencv-cvat/public - Gitter
I have changed values for ports to the docker-compose.yml & added 10.24.XXX.XXX to the Allowed_Hosts in base.py . Facing the network error issue...
Read more >
CVAT: Annotation Tool for Computer Vision [2022 Tutorial]
Learn about the Computer Vision Annotation Tool (CVAT), a software tool for annotating images for computer vision tasks. See how to install and...
Read more >
1-Local/1-Remote Access 8-Port Cat 5 KVM over IP Switch ...
1-Local/1-Remote Access 8-Port Cat 5 KVM over IP Switch with Virtual Media ... and access their entire data center over a network using...
Read more >
Computer Vision Annotation Tool (CVAT) Files - SourceForge
This is an exact mirror of the Computer Vision Annotation Tool (CVAT) project, ... CVAT_HOST when performing local installation for accessing over network...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found