cvat: Cannot connect to the CVAT server
My actions before raising this issue
Searched for previous issues (#5591)
Expected Behaviour
I was expecting CVAT to run in browser at http://localhost:8080, as described in the guidelines.
Current Behaviour
After running docker compose up -d and then accessing http://localhost:8080, the following pop-up error appears
Cannot connect to the server Make sure the CVAT backend and all necessary services (Database, Redis and Open Policy Agent) are running and available. 0 or >earlier, manual actions may be needed, see the Upgrade Guide.
Possible Solution
I started my PC and run CVAT, and now I get the above error. I don’t remember doing anything special the last time I did this.
Your Environment
- Ubuntu 18.04 LTS
- Docker version 23.0.3, build 3e7cbfd
I am not familiar with Docker and I have looked around but could not find a solution. What should I check first?
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 20 (1 by maintainers)
I have the same error. Tried installing it on a new PC, it was working in the beginning, then after deploying Segment anything on Nuclio I got the same error on the new PC as well. When I delete the function in the nuclio dashboard, it is still not working.
cvat_server takes time to initialize. It’s normal to see the following error message sometimes during initialization:
Wait for a few minutes, and then check if you can access your application.
*Remember to persist your CVAT_HOST environment variable.
@azhavoro
Is it the following steps? My CVAT root directory seems to have no
.env.Results of
docker psResults of
docker logs cvat_opasame problem here, with v246 and v260. It works at the beginning for few hours and starts to fail, with a slightly different error.
I got the same problems and had already checked and confirmed that there is no problem with the memory. For me I found out that the problems may related to cvat_db -> there are no table created ( no List of relations found in cvat_db) but still not yet found out where the problems come from
cvat_db log:
look like problems start from CREATE DATABASE
I got the same problems, at first it will works fine but then. The error appears to be said the server is error like posr above.