crAPI icon indicating copy to clipboard operation
crAPI copied to clipboard

crapi-workshop is unhealthy

Open elit3pwner opened this issue 2 years ago • 6 comments

image

elit3pwner avatar Feb 23 '23 17:02 elit3pwner

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

mathew-jose avatar Mar 08 '23 08:03 mathew-jose

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': '[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 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

jinjiao070 avatar Mar 13 '23 10:03 jinjiao070

same problem, main branch can't normal startup

daonatural avatar Mar 27 '23 03:03 daonatural

image

daonatural avatar Apr 03 '23 07:04 daonatural

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

jpgong avatar May 11 '23 08:05 jpgong

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': '[email protected]', '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

XuCcc avatar Jun 13 '23 07:06 XuCcc