As detailed here: https://issuetracker.google.com/issues/113672049
Cross-posted here: https://github.com/GoogleCloudPlatform/google-cloud-python/issues/5879)
I'm getting a connection reset error when using the Firebase Storage API from a Google Cloud Function in Python.
The deployed function is calling one blob-get i.e.
from firebase_admin import storage
def fn(request):
bucket = 'my-firebase-bucket'
path = '/thing'
blob = storage.bucket(bucket).get_blob(path)
The failure is intermittent; the function has around a 90% success rate.
It seems more likely to fail the first time the function is called after it is deployed.