-
Notifications
You must be signed in to change notification settings - Fork 346
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
crapi-web Container is unhealthy #178
Comments
Having same error.. found any solution?? |
No, let me know if the problem is solved |
I just solved the problem my re installating the docker |
I have the same error for the WEB but the log provided above looks like its for another bug. Here's the docker logs from the failed one. ERROR: for crapi-web Container "0ad28bac3b34" is unhealthy. ┌──(root㉿kali)-[/home/kali/lab] Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Just re install the docker |
I had tried your suggestion and no go |
Do you have a specific solution? |
This is because there was an improper shutdown of crapi before and the test database was not deleted, can you remove the docker volume for the database and check? |
crapi-web log:
Creating test database for alias 'default'...
Creating test database for alias 'mongodb'...
root ERROR /workshop/api/mechanic/signup - {'name': 'MechRaju', 'email': '[email protected]', 'mechanic_code': 'TRAC_MEC_3', 'number': '9123456708'} - 400 -{'password': [ErrorDetail(string='This field is required.', code='required')]}
django.request WARNING Bad Request: /workshop/api/mechanic/signup
.django.request WARNING Bad Request: /workshop/api/mechanic/signup
.django.request WARNING Bad Request: /workshop/api/mechanic/signup
.django.request WARNING Unauthorized: /workshop/api/mechanic/
django.request WARNING Unauthorized: /workshop/api/mechanic/
.django.request WARNING Unauthorized: /workshop/api/mechanic/
..root ERROR /workshop/api/merchant/contact_mechanic - {'mechanic_api': 'https://www.google.com', 'number_of_repeats': 5, 'mechanic_code': 'TRAC_MEC_3', 'vin': '9NFXO86WBWA082766', 'problem_details': 'My Car is not working'} - 400 -{'repeat_request_if_failed': [ErrorDetail(string='This field is required.', code='required')]}
django.request WARNING Bad Request: /workshop/api/merchant/contact_mechanic
.root INFO Repeat count: 0
root INFO Repeat count: 1
root INFO Repeat count: 2
root INFO Repeat count: 3
root INFO Repeat count: 4
root INFO Repeat count: 5
django.request WARNING Bad Request: /workshop/api/merchant/contact_mechanic
....................
Runtime Environment
Docker version 20.10.12, build 20.10.12-0ubuntu4
docker-compose version 1.29.2, build unknown
ubuntu-desktop 22.04 amd64
The text was updated successfully, but these errors were encountered: