-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot connect to the CVAT server #6202
Comments
Did you follow the recommendation and check the container logs? |
I have the same issue (but I installed with a helm chart) in the backend server pod I ran health checks
the admin panel login works finehttp://cvat.gsrv.lan:32608/admin/ But this happends when I try to log in to the gui. this is the full backend server pod log
the ingress seem to be working as well
|
Here is a backend server log again (this time I was using the latest release branch) kubectl logs --namespace cvat-gsrv cvat-backend-server-d64969648-5zxg8 2023-05-27 17:45:12,677 DEBG 'ssh-agent' stderr output: 2023-05-27 17:45:12,682 DEBG 'runserver' stderr output: 2023-05-27 17:45:13,683 INFO success: ssh-agent entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2023-05-27 17:45:48,985 DEBG 'runserver' stderr output: 2023-05-27 17:45:49,200 DEBG 'ssh-agent' stderr output: 2023-05-27 17:45:49,203 DEBG 'ssh-agent' stderr output: 2023-05-27 17:45:49,221 DEBG 'ssh-agent' stderr output: 2023-05-27 17:45:49,222 DEBG 'ssh-agent' stderr output: 2023-05-27 17:45:49,224 DEBG 'ssh-agent' stderr output: 2023-05-27 17:45:49,224 DEBG 'runserver' stderr output: 2023-05-27 17:47:23,876 DEBG 'runserver' stdout output: Start schema migration... 2023-05-27 17:47:42,258 DEBG 'runserver' stderr output: 2023-05-27 17:47:42,258 DEBG 'runserver' stdout output: Schema migration is finished... Start data migration... 2023-05-27 17:47:42,258 DEBG 'runserver' stderr output: 2023-05-27 17:47:42,629 DEBG 'runserver' stdout output: 2023-05-27 17:47:43,741 DEBG 'runserver' stderr output: 2023-05-27 17:47:43,743 DEBG 'runserver' stdout output: 2023-05-27 17:47:43,743 DEBG 'runserver' stderr output: 2023-05-27 17:47:43,746 DEBG 'runserver' stdout output: 2023-05-27 17:47:45,495 DEBG 'runserver' stderr output: 2023-05-27 17:47:45,495 DEBG 'runserver' stdout output: 2023-05-27 17:47:45,496 DEBG 'runserver' stderr output: 2023-05-27 17:47:45,498 DEBG 'runserver' stdout output: 2023-05-27 17:47:45,517 DEBG 'runserver' stderr output: 2023-05-27 17:47:45,521 DEBG 'runserver' stdout output: Deleting Data previews... 2023-05-27 17:47:46,704 DEBG 'runserver' stderr output: 2023-05-27 17:47:46,708 DEBG 'runserver' stdout output: Deleting Job previews... 2023-05-27 17:47:46,708 DEBG 'runserver' stderr output: 2023-05-27 17:47:46,708 DEBG 'runserver' stdout output: Deleting CloudStorage previews... 2023-05-27 17:47:46,708 DEBG 'runserver' stderr output: 2023-05-27 17:47:46,717 DEBG 'runserver' stdout output: Deleting skeleton Labels without skeletons... 2023-05-27 17:47:46,777 DEBG 'runserver' stderr output: 2023-05-27 17:47:46,780 DEBG 'runserver' stdout output: Deleting duplicate skeleton sublabels and renaming duplicate Labels... 2023-05-27 17:47:46,780 DEBG 'runserver' stderr output: 2023-05-27 17:47:46,785 DEBG 'runserver' stdout output: 2023-05-27 17:47:49,114 DEBG 'ssh-agent' stderr output: 2023-05-27 17:47:49,115 DEBG 'ssh-agent' stderr output: 2023-05-27 17:47:49,116 DEBG 'ssh-agent' stderr output: 2023-05-27 17:47:49,116 DEBG 'ssh-agent' stderr output: 2023-05-27 17:47:49,119 DEBG 'ssh-agent' stderr output: 2023-05-27 17:47:50,046 DEBG 'runserver' stdout output: 166 static files copied to '/home/django/static'. 2023-05-27 17:47:50,566 DEBG 'ssh-agent' stderr output: 2023-05-27 17:47:50,567 DEBG 'ssh-agent' stderr output: 2023-05-27 17:47:50,568 DEBG 'ssh-agent' stderr output: 2023-05-27 17:47:50,572 DEBG 'ssh-agent' stderr output: 2023-05-27 17:48:16,264 DEBG 'runserver' stdout output: 2023-05-27 17:48:16,351 DEBG 'runserver' stderr output: 2023-05-27 17:48:16,351 DEBG 'runserver' stderr output: 2023-05-27 17:48:16,371 DEBG 'runserver' stderr output: 2023-05-27 17:48:16,375 DEBG 'runserver' stderr output: 2023-05-27 17:48:16,689 DEBG 'ssh-agent' stderr output: 2023-05-27 17:48:16,690 DEBG 'ssh-agent' stderr output: 2023-05-27 17:48:16,691 DEBG 'ssh-agent' stderr output: 2023-05-27 17:48:16,694 DEBG 'ssh-agent' stderr output: 2023-05-27 17:48:17,700 DEBG 'runserver' stderr output: 2023-05-27 17:48:17,701 DEBG 'runserver' stderr output: 2023-05-27 17:48:27,043 DEBG 'runserver' stderr output: 2023-05-27 17:48:27,043 DEBG 'runserver' stderr output: 2023-05-27 17:49:45,445 DEBG 'runserver' stderr output: 2023-05-27 17:49:47,571 DEBG 'runserver' stderr output: 2023-05-27 17:49:55,627 DEBG 'runserver' stderr output: 2023-05-27 17:50:03,707 DEBG 'runserver' stderr output: 2023-05-27 17:50:03,804 DEBG 'runserver' stderr output: 2023-05-27 17:50:08,804 DEBG 'runserver' stderr output: 2023-05-27 17:50:11,772 DEBG 'runserver' stderr output: 2023-05-27 17:50:19,843 DEBG 'runserver' stderr output: 2023-05-27 17:50:24,371 DEBG 'runserver' stderr output: 2023-05-27 17:50:27,971 DEBG 'runserver' stderr output: 2023-05-27 17:50:32,264 DEBG 'runserver' stderr output: 2023-05-27 17:50:32,264 DEBG 'runserver' stderr output: 2023-05-27 17:50:32,265 DEBG 'runserver' stderr output: 2023-05-27 17:50:32,493 DEBG 'runserver' stderr output: 2023-05-27 17:50:32,493 DEBG 'runserver' stderr output: 2023-05-27 17:50:32,494 DEBG 'runserver' stderr output: 2023-05-27 17:50:32,494 DEBG 'runserver' stderr output: 2023-05-27 17:50:32,515 DEBG 'runserver' stderr output: 2023-05-27 17:50:32,519 DEBG 'runserver' stderr output: 2023-05-27 17:50:32,833 DEBG 'ssh-agent' stderr output: 2023-05-27 17:50:32,834 DEBG 'ssh-agent' stderr output: 2023-05-27 17:50:32,835 DEBG 'ssh-agent' stderr output: 2023-05-27 17:50:32,839 DEBG 'ssh-agent' stderr output: 2023-05-27 17:50:33,827 DEBG 'runserver' stderr output: 2023-05-27 17:50:33,827 DEBG 'runserver' stderr output: 2023-05-27 17:50:33,827 DEBG 'runserver' stderr output: 2023-05-27 17:50:37,891 DEBG 'runserver' stderr output: 2023-05-27 17:50:37,894 DEBG 'runserver' stderr output: 2023-05-27 17:51:33,887 DEBG 'runserver' stderr output: 2023-05-27 17:51:33,888 DEBG 'runserver' stderr output: 2023-05-27 17:51:33,891 DEBG 'runserver' stderr output: |
Is it the following steps?
Results of
Results of
|
I checked #5922 and confirmed that there is no problem with the memory limit. |
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. |
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. |
I got the same problems and had already checked and confirmed that there is no problem with the memory. cvat_db log:
look like problems start from CREATE DATABASE
|
@shintaro-matsui did you solve it? I have the same issue |
same problem here, with v246 and v260. It works at the beginning for few hours and starts to fail, with a slightly different error.
|
Any workarounds found? |
Hi. I am sorry that I could not be of help. |
isnt it just |
I exactly have the same issue as the OP. Unfortunately docker compose down/up did not work. When I ran CVAT as per OP's description for the first time, it ran fine and was able to annotate an image. Later, when I wanted to start with the next image I got the same "Cannot connect to server" error. I deleted everything to start from scratch, but it was giving me the "Cannot connect to server" from the start. |
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. |
@bsekachev Just jumping in to say that I have this issue too running v2.16.2. Currently the only solution I know is to wipe docker clean and rebuild all over again, which is very inconvenient. Is there any other solution that exists? |
Thanks, the solution was to |
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 appearsPossible 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
I am not familiar with Docker and I have looked around but could not find a solution.
What should I check first?
The text was updated successfully, but these errors were encountered: