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
When message is larger than maximum we crash instead of reporting the error to the peer:
[2019-03-06 09:53:54,561 - root - ERROR]: Got exception in main dispatch loop
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/purerpc/server.py", line 173, in __call__
async for stream in self.grpc_socket.listen():
File "/usr/local/lib/python3.6/site-packages/purerpc/grpc_socket.py", line 228, in listen
async for stream in self._listen():
File "/usr/local/lib/python3.6/site-packages/purerpc/grpc_socket.py", line 194, in _listen
events = self._grpc_connection.receive_data(data)
File "/usr/local/lib/python3.6/site-packages/purerpc/grpclib/connection.py", line 181, in receive_data
grpc_events.extend(self._data_received(event))
File "/usr/local/lib/python3.6/site-packages/purerpc/grpclib/connection.py", line 110, in _data_received
event.flow_controlled_length)
File "/usr/local/lib/python3.6/site-packages/purerpc/grpclib/buffers.py", line 78, in data_received
self._process_new_messages()
File "/usr/local/lib/python3.6/site-packages/purerpc/grpclib/buffers.py", line 116, in _process_new_messages
result, flow_controlled_length = self._parse_one_message()
File "/usr/local/lib/python3.6/site-packages/purerpc/grpclib/buffers.py", line 103, in _parse_one_message
raise MessageTooLargeError("Received message larger than max: "
purerpc.grpclib.exceptions.MessageTooLargeError: Received message larger than max: 4440990 > 4194304
[2019-03-06 09:53:54,563 - curio.kernel - ERROR]: Task Crash: Task(id=293457, name='ConnectionHandler.request_received', state='TERMINATED')
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/curio/kernel.py", line 736, in _run_coro
trap = current._send(current.next_value)
File "/usr/local/lib/python3.6/site-packages/curio/task.py", line 167, in _task_runner
return await coro
File "/usr/local/lib/python3.6/site-packages/purerpc/server.py", line 119, in request_received
await stream.start_response()
File "/usr/local/lib/python3.6/site-packages/purerpc/grpc_proto.py", line 37, in start_response
custom_metadata)
File "/usr/local/lib/python3.6/site-packages/purerpc/grpc_socket.py", line 153, in start_response
await self._socket.flush()
File "/usr/local/lib/python3.6/site-packages/purerpc/grpc_socket.py", line 42, in flush
await self._socket.sendall(data)
File "/usr/local/lib/python3.6/site-packages/curio/io.py", line 179, in sendall
nsent = self._socket_send(buffer, flags)
OSError: [Errno 9] Bad file descriptor
The text was updated successfully, but these errors were encountered:
When message is larger than maximum we crash instead of reporting the error to the peer:
The text was updated successfully, but these errors were encountered: