Hi Team- My below grpc channel creation blocks for infinite amount of time
and doesn't raise any error. I am not sure why this is happening, this
happens few of the times while calling this code. Can you please guide what
can be the root cause here of channel_future getting blocked?
with grpc.insecure_channel(
"localhost:"+str(PORT),
options=[
('grpc.max_send_message_length', MAX_MESSAGE_LENGTH),
('grpc.max_receive_message_length', MAX_MESSAGE_LENGTH),
],
) as channel:
channel_future = grpc.channel_ready_future(channel)
channel_future.result(timeout=30)---> This is getting blocked and
doesn’t honor the timeout
Thanks
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.
--
You received this message because you are subscribed to the Google Groups
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/grpc-io/2ee6ff32-7f2c-4115-8408-a09a9f99dc8fn%40googlegroups.com.