GRPC Cancelled error intermittently

704 views
Skip to first unread message

parac...@gmail.com

unread,
Aug 1, 2018, 5:18:27 PM8/1/18
to grpc.io

Hi we are using python GRPC client and getting GRPC Cancelled error from server intermittently. 


"Traceback  line 77, in <listcomp>~  list_response = [MessageToDict(resp, required_fields) for resp in method_rpc.__call__(request_message,credentials=callcredential)]~ File '/usr/local/lib/python3.5/dist-packages/grpc/_channel.py', line 345, in __next__~  return self._next()~ File '/usr/local/lib/python3.5/dist-packages/grpc/_channel.py', line 339, in _next~  raise self~grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with:~\tstatus = **StatusCode.CANCELLED**~\tdetails = 'Server sendMessage() failed with Error'~\tdebug_error_string = '{'created':'@1533150277.238669666','description':'Error received from peer','file':'src/core/lib/surface/call.cc','file_line':1083,'grpc_message':'Server sendMessage() failed with Error','grpc_status':1}'

On the client side we are requesting a lot of data to be returned from the server and the process of retrieval is taking over 8-10 minutes and sometimes succeeds, but when it fails, we get the above error. 

Can someone please throw some light on this? 


juanl...@google.com

unread,
Aug 8, 2018, 1:32:51 PM8/8/18
to grpc.io
Hi, could you please share the reproduction steps (the shorter the better) and post the issue on https://github.com/grpc/grpc/issues. Thanks!
Reply all
Reply to author
Forward
0 new messages