firestore: handle transient connection errors #10350
Labels
api: firestore
Issues related to the Firestore API.
triage me
I really want to be triaged.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Client
Firestore
Environment
Cloud Run
Go Environment
n/a
Expected behavior
Reading any document from cloud run should always succeed without connection issues, general firebase admin sdk documentation states it should handle any connection resets
Actual behavior
The
syscall.ECONNRESET
andsyscall.ECONNREFUSED
errors are not handled but instead passed as error to the caller.This gives a message like:
Notes
errors.Is(err, syscall.ECONNRESET)
The text was updated successfully, but these errors were encountered: