Cvat: Could not login on the server

Created on 13 May 2020  路  6Comments  路  Source: openvinotoolkit/cvat

I am getting problem in login :
"Could not check authorization on the server
Open the Browser Console to get details":

Failed to load resource: the server responded with a status of 502 (Bad Gateway)
cvat-app.tsx:159 Error: Request failed with status code 502. "\r\n502 Bad Gateway\r\n\r\n

502 Bad Gateway

\r\n
nginx/1.16.1
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n".
e @ index.js:8

Most helpful comment

It's working now after runing :
docker-compose down
docker-compose up -d

All 6 comments

Hi, please don't ignore the issue template and add more details about CVAT version, OS, etc. Also please attach logs docker logs cvat and docker logs cvat_proxy.

It's working now after runing :
docker-compose down
docker-compose up -d

I also meet this problem, but can't work around by docker-compose down and up
image

image

cvat_proxy | 2020/08/01 10:27:24 [error] 7#7: *9 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.103, server: 192.168.1.107, request: "POST /api/v1/auth/login HTTP/1.1", upstream: "http://172.19.0.4:8080/api/v1/auth/login", host: "192.168.1.107:8080", referrer: "http://192.168.1.107:8080/auth/login"

I used this version
image

and when I run "docker-compose up", These information printed
cvat | 2020-08-01 10:41:08,810 INFO success: ssh-agent entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
cvat | 2020-08-01 10:41:08,810 INFO spawnerr: command at '/home/django/wait-for-it.sh' is not executable
cvat | 2020-08-01 10:41:08,811 INFO spawnerr: command at '/home/django/wait-for-it.sh' is not executable
cvat | 2020-08-01 10:41:08,811 INFO spawnerr: command at '/home/django/wait-for-it.sh' is not executable
cvat | 2020-08-01 10:41:08,812 INFO spawnerr: command at '/home/django/wait-for-it.sh' is not executable
cvat | 2020-08-01 10:41:08,812 INFO spawnerr: command at '/home/django/wait-for-it.sh' is not executable
cvat | 2020-08-01 10:41:08,812 INFO spawnerr: command at '/home/django/wait-for-it.sh' is not executable
cvat | 2020-08-01 10:41:10,824 INFO spawnerr: command at '/home/django/wait-for-it.sh' is not executable
cvat | 2020-08-01 10:41:10,825 INFO spawnerr: command at '/home/django/wait-for-it.sh' is not executable
cvat | 2020-08-01 10:41:10,825 INFO spawnerr: command at '/home/django/wait-for-it.sh' is not executable
cvat | 2020-08-01 10:41:10,826 INFO spawnerr: command at '/home/django/wait-for-it.sh' is not executable
cvat | 2020-08-01 10:41:10,826 INFO spawnerr: command at '/home/django/wait-for-it.sh' is not executable
cvat | 2020-08-01 10:41:10,826 INFO spawnerr: command at '/home/django/wait-for-it.sh' is not executable
cvat | 2020-08-01 10:41:13,835 INFO spawnerr: command at '/home/django/wait-for-it.sh' is not executable
cvat | 2020-08-01 10:41:13,835 INFO gave up: rqscheduler entered FATAL state, too many start retries too quickly
cvat | 2020-08-01 10:41:13,835 INFO spawnerr: command at '/home/django/wait-for-it.sh' is not executable
cvat | 2020-08-01 10:41:13,835 INFO gave up: runserver entered FATAL state, too many start retries too quickly
cvat | 2020-08-01 10:41:13,836 INFO spawnerr: command at '/home/django/wait-for-it.sh' is not executable
cvat | 2020-08-01 10:41:13,836 INFO gave up: rqworker_low entered FATAL state, too many start retries too quickly
cvat | 2020-08-01 10:41:13,836 INFO spawnerr: command at '/home/django/wait-for-it.sh' is not executable
cvat | 2020-08-01 10:41:13,836 INFO gave up: rqworker_default_0 entered FATAL state, too many start retries too quickly
cvat | 2020-08-01 10:41:13,837 INFO spawnerr: command at '/home/django/wait-for-it.sh' is not executable
cvat | 2020-08-01 10:41:13,837 INFO gave up: rqworker_default_1 entered FATAL state, too many start retries too quickly
cvat | 2020-08-01 10:41:13,837 INFO spawnerr: command at '/home/django/wait-for-it.sh' is not executable
cvat | 2020-08-01 10:41:13,837 INFO gave up: git_status_updater entered FATAL state, too many start retries too quickly

U can try with "chmod -R 777 wait-for-it.sh"

U can try with "chmod -R 777 wait-for-it.sh"

I'm not sure why, but after this my 'docker-composer up' took all the steps in building 'cvat' once again and it solved my problem that was very similar to xuanwu348

Was this page helpful?
0 / 5 - 0 ratings