Intermittent Authentication Issue with Google Cloud Vision API for Text Detection in Production Environment
I’m experiencing an intermittent authentication issue with the Google Cloud Vision API when running in production. The service, uses a service account json file for authentication and then perform text detection API via Python’s ImageAnnotatorClient. This works fine on both localhost and the development server. However, in production, it occasionally fails with an authentication error.