IFRCGo / go-web-app

GO Web application! GO is a Red Cross Red Crescent platform to connect information on emergency needs with the right response.
https://go.ifrc.org
MIT License
8 stars 1 forks source link

Auto-translations are missing for certain emergencies #627

Open tovari opened 8 months ago

tovari commented 8 months ago

It looks like there are emergency pages, where the auto-translation was not triggered for some reason.

There are some recent emergency pages affected by the error: https://go.ifrc.org/emergencies/6851/details https://go.ifrc.org/emergencies/6807/details https://go.ifrc.org/emergencies/6768/details https://go.ifrc.org/emergencies/6729/details

Please investigate the reason and resolve the root cause.

thenav56 commented 8 months ago

Hey @tovari

Checking sentry, looks like we have lots of 500 (2.1k) from IFRC Translation service we are using. We should try to fix this on the translation service as well. cc: @szabozoltan69

https://sentry.northeurope.cloudapp.azure.com/organizations/ifrc-go/issues/913/

From go-api, we can add a retry mechanism to try again after a certain time. cc: @udaynwa

tovari commented 8 months ago

hi @thenav56,

we use the staging version for this microservice as there was no prod version that time. Now there is a more stable environment, so probably switching to that could improve the response. I will come back with url details.

tovari commented 8 months ago

The prod version development is still in progress. We can put this on hold now.