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
Can't make max messages size larger than 209715200. Channel configuration is ok, but server can't take it.
error:
_grpc._channel._InactiveRpcError: <InactiveRpcError of RPC that terminated with:
status = StatusCode.RESOURCE_EXHAUSTED
details = "grpc: received message larger than max (236075865 vs. 209715200)"
debug_error_string = "UNKNOWN:Error received from peer ipv6:%5B::1%5D:3333 {grpc_message:"grpc: received message larger than max (236075865 vs. 209715200)", grpc_status:8, created_time:"2024-07-29T11:06:44.1927981+00:00"}"
Can't make max messages size larger than 209715200. Channel configuration is ok, but server can't take it.
error:
_grpc._channel._InactiveRpcError: <InactiveRpcError of RPC that terminated with:
status = StatusCode.RESOURCE_EXHAUSTED
details = "grpc: received message larger than max (236075865 vs. 209715200)"
debug_error_string = "UNKNOWN:Error received from peer ipv6:%5B::1%5D:3333 {grpc_message:"grpc: received message larger than max (236075865 vs. 209715200)", grpc_status:8, created_time:"2024-07-29T11:06:44.1927981+00:00"}"
code:
MAX_MESSAGE_LENGTH = (2 ** 20) * 500
class A2lParser(object):
def init(self, string):
self._dll = ctypes.cdll.LoadLibrary(os.path.join(os.path.dirname(file), 'a2l_grpc', get_shared_object_name()))
channel = grpc.insecure_channel('localhost:3333', options=[
('grpc.max_message_length', MAX_MESSAGE_LENGTH),
('grpc.max_send_message_length', MAX_MESSAGE_LENGTH),
('grpc.max_receive_message_length', MAX_MESSAGE_LENGTH),
])
client = A2LStub(channel)
if self._dll.Create(3333):
raise Exception(1)
self.ast = client.GetTreeFromA2L(TreeFromA2LRequest(a2l=string.encode())).tree
The text was updated successfully, but these errors were encountered: