egovernments / DIVOC

Open source digital platform for large scale vaccination and digital credentialing programs. Built for India scale, addresses future vaccination scenarios, digital credentialing, and beyond.
MIT License
161 stars 204 forks source link

[BUG] : Issue in deployment #564

Open amoljadhavhere opened 3 years ago

amoljadhavhere commented 3 years ago

Describe the bug While registering the new vaccines in the release 1.23.2. http 500 - Internal server is encountered.

To Reproduce Steps to reproduce the behavior: Post deployment, create a new vaccine

Expected behavior Vaccines should get registered

Screenshots Necessary log file attached for register service

VM details (please complete the following information):

Smartphone (please complete the following information): NA

Additional context Add any other context about the problem here. This error is consistently coming for the from 1.21 release registry_error.txt

gysenthil commented 3 years ago

Hi, This is the issue with the models. Through UI the Vaccine Model is not going as expected to the registry service. Through Postman I am able to create the Vaccine. I believe the models were not updated in the back end. { "name": "Covaxin", "provider": "Bharat Biotech", "vaccinationMode": "muscular injection", "doseIntervals": [ { "min": 2, "max": 42 } ], "effectiveUntil": 6, "status": "Active", "price": 200 } The above request will work through postman. For the Authorization Key you can take it from the browser console. This works but that is not a permanent solution. Models has to be updated either from the backend or FrontEnd.

tejash-jl commented 3 years ago

@amoljadhavhere can you share the screenshot of the UI when you are trying to create a vaccine.