Skip to content
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-workshop is unhealthy #175

Open
elit3pwner opened this issue Feb 23, 2023 · 6 comments
Open

crapi-workshop is unhealthy #175

elit3pwner opened this issue Feb 23, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@elit3pwner
Copy link

image

@elit3pwner elit3pwner added the bug Something isn't working label Feb 23, 2023
@elit3pwner elit3pwner changed the title crapi-workshop is uunhealthy crapi-workshop is unhealthy Feb 23, 2023
@mathew-jose
Copy link
Collaborator

Can you provide the logs of the containers to help us debug.

@jinjiao070
Copy link

Can you provide the logs of the containers to help us debug.

Creating test database for alias 'default'...
Creating test database for alias 'mongodb'...
root ERROR /workshop/api/mechanic/signup - {'name': 'MechRaju', 'email': 'mechraju@crapi.com', '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
Fdjango.request ERROR Service Unavailable: /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 Not Found: /workshop/api/merchant/contact_mechanic

I have the same problem,this is my logs

@daonatural
Copy link

same problem, main branch can't normal startup

@daonatural
Copy link

image

@jpgong
Copy link

jpgong commented May 11, 2023

same problem, develop branch can't normal startup. and trying the "docker volume rm" also does not solve the problem,and pulls the latest branch.
image
The error seems tobe that the "password" and "repeat_request_if_failed" fields are not set.
image

@XuCcc
Copy link

XuCcc commented Jun 13, 2023

same problem

crapi-workshop  | Creating test database for alias 'default'...
crapi-workshop  | Creating test database for alias 'mongodb'...
crapi-workshop  | root         ERROR    /workshop/api/mechanic/signup - {'name': 'MechRaju', 'email': 'mechraju@crapi.com', 'mechanic_code': 'TRAC_MEC_3', 'number': '9123456708'} - 400 -{'password': [ErrorDetail(string='This field is required.', code='required')]}
crapi-workshop  | django.request WARNING  Bad Request: /workshop/api/mechanic/signup
crapi-workshop  | .django.request WARNING  Bad Request: /workshop/api/mechanic/signup
crapi-workshop  | .django.request WARNING  Bad Request: /workshop/api/mechanic/signup
crapi-workshop  | .django.request WARNING  Unauthorized: /workshop/api/mechanic/
crapi-workshop  | django.request WARNING  Unauthorized: /workshop/api/mechanic/
crapi-workshop  | .django.request WARNING  Unauthorized: /workshop/api/mechanic/
crapi-workshop  | ..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')]}
crapi-workshop  | django.request WARNING  Bad Request: /workshop/api/merchant/contact_mechanic
crapi-workshop  | .root         INFO     Repeat count: 0
crapi-workshop  | root         INFO     Repeat count: 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants
@XuCcc @jpgong @daonatural @jinjiao070 @mathew-jose @elit3pwner and others