Open Hegelim opened 1 year ago
Can you check the inspect element network tab to see what's gone wrong with the request? (CORS error etc.)
Additionally, make sure that you have proper forwarding headers set in your nginx config. Here's what my config looks like, as an example:
location / {
proxy_pass http://cvat_upstream:8080/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header X-Forwarded-Port $server_port;
proxy_max_temp_file_size 0;
client_max_body_size 0;
proxy_set_header Connection $http_connection;
proxy_set_header Upgrade $http_upgrade;
proxy_buffering off;
proxy_request_buffering off;
}
Thanks! I will try that. Here's the logs from the inspection (I am trying another way so the ip address is 127.0.0.1 instead of localhost but all the errors are the same)
I also noticed if I create a new task and upload more than 3 images, it will give me the same error (again the ip is 127.0.0.1 because I am doing a slightly different experiment, but all errors are the same)
I also noticed if I create a new task and upload more than 3 images, it will give me the same error (again the ip is 127.0.0.1 because I am doing a slightly different experiment, but all errors are the same)
I have the same question.Did you solve it? Thanks!
My actions before raising this issue
Have read the doc and searched all related issues #6078, #6309, #6219 The issue is pretty much the same. I followed the instructions to install CVAT on a EC2 AWS server, everything works except importing annotations. Whenever I click "import", it shows something like Looks like it does not go to the correct public domain address (for privacy reason I can't share it). Instead, it goes to localhost: 8080 If I replace this address with the intended public domain address, then I will go to this page
Steps to Reproduce (for bugs)
Mainly, just followed the installation steps here https://opencv.github.io/cvat/docs/administration/basics/installation/#ubuntu-1804-x86_64amd64 Additionally, I configured nginx such that proxy_pass=http://localhost:8080/; export $CVAT_HOST = localhost everything else is the same
Expected Behaviour
Importing annotations should work without errors
Current Behaviour
See attached image above
Possible Solution
Can't find a solution so far, been stuck on this for a long time.
Context
Your Environment
Git hash commit (
git log -1
): 429bf6e00f44ecc9576c805aa1cf59c264e8a8e4 (this is release-2.4.7, I also tried the latest version, same error)Docker version
docker version
(e.g. Docker 17.0.05): 24.0.4Are you using Docker Swarm or Kubernetes? No
Operating System and version (e.g. Linux, Windows, MacOS): centos
Other diagnostic information / logs: don't know what other logs are useful, please guide me