You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am also seeing this error using the Ruby client. It seems like the only option is to avoid retry policies for streaming endpoints, because if you receive a retryable error like this before any messages have been received, your entire application process will be aborted.
Probably worth noting that if you receive an error AFTER the client has received any streaming messages, it correctly cancels the stream and throws the GRPC status error without retrying.
@yashykt are you sure the Python label is correct? If the failure is also happening in other client bindings and happens because of an assert in core, isn't this more probably a core issue?
What version of gRPC and what language are you using?
1.34.0, python
(Though also tried grpcio 1.33.2 and 1.32.0)
What operating system (Linux, Windows,...) and version?
Tested on Ubuntu 20.04 (docker), buster (docker) and MacOS 11.1 results were the same in all cases
What runtime / compiler are you using (e.g. python version or version of gcc)
python 3.8
What did you do?
Created a server that when heavily loaded will return RESOURCE_EXHAUSTED to the client and have the client use a service config to retry.
Steps to reproduce:
Server:
Client:
proto file:
requirements.txt
What did you expect to see?
Expected client to retry 4 times and then raise a RESOURCE_EXHAUSTED error
What did you see instead?
An error in an underlying library caused the call to crash and bring down client that the call was run from, not allowing python to handle the error.
With GRPC_VERBOSITY=debug, the following stack trace was generated:
Anything else we should know about your project / environment?
The text was updated successfully, but these errors were encountered: