-
Notifications
You must be signed in to change notification settings - Fork 91
Description
Is your feature request related to a problem? Please describe.
Users are continuously experiencing reset connection errors which are retried in https://github.com/googleapis/google-api-python-client/releases/tag/v1.8.1. At the moment the error needs to be handled outside of the api_core package instead of being part of one of the supported exceptions in https://github.com/googleapis/python-api-core/blob/master/google/api_core/exceptions.py#L336 and surfaces transport library types when it should be wrapped.
Describe the solution you'd like
Include Reset Connection as a first class citizen in https://github.com/googleapis/python-api-core/blob/master/google/api_core/exceptions.py#L336
Describe alternatives you've considered
Including reset connection into library retry code manually for each manual library. It can instead be handled generally in api_core instead.