HI James,

I think we have already discussed this issue 
in https://github.com/grpc/grpc/issues/24018. The proven effective 
workaround is setting an environment variable `GRPC_DNS_RESOLVER=native`. 
The reason why the resolver behaves differently in Ubuntu 20 is still under 
investigation.

Lidi

On Thursday, August 27, 2020 at 1:05:47 PM UTC-7 james.w...@gmail.com wrote:

> I though I may add, if I interupt the client while I am waiting for the 
> response I get:
>
> ```
>   File "greeter_client.py", line 37, in <module>
>     run()
>   File "greeter_client.py", line 31, in run
>     response = stub.SayHello(helloworld_pb2.HelloRequest(name='you'))
>   File "/home/james/.local/lib/python3.8/site-packages/grpc/_channel.py", 
> line 824, in __call__
>     state, call, = self._blocking(request, timeout, metadata, credentials,
>   File "/home/james/.local/lib/python3.8/site-packages/grpc/_channel.py", 
> line 813, in _blocking
>     event = call.next_event()
>   File "src/python/grpcio/grpc/_cython/_cygrpc/channel.pyx.pxi", line 338, 
> in grpc._cython.cygrpc.SegregatedCall.next_event
>   File "src/python/grpcio/grpc/_cython/_cygrpc/channel.pyx.pxi", line 169, 
> in grpc._cython.cygrpc._next_call_event
>   File "src/python/grpcio/grpc/_cython/_cygrpc/channel.pyx.pxi", line 163, 
> in grpc._cython.cygrpc._next_call_event
>   File "src/python/grpcio/grpc/_cython/_cygrpc/completion_queue.pyx.pxi", 
> line 63, in grpc._cython.cygrpc._latent_event
>   File "src/python/grpcio/grpc/_cython/_cygrpc/completion_queue.pyx.pxi", 
> line 42, in grpc._cython.cygrpc._next
> KeyboardInterrupt
>
> ```
>
> On Thursday, August 27, 2020 at 3:51:31 PM UTC-4 James Spears wrote:
>
>> Hello All, 
>>
>> I am having a very strange issue with running gRPC Python on my Ubuntu 20 
>> machine. 
>>
>> I have created a stack over flow question where I have been trying to 
>> trouble shoot the problem, but I think it requires someone who has specific 
>> knowledge.
>>
>> Please see the stack overflow question here:
>>
>>
>> https://stackoverflow.com/questions/63621097/grpc-python-quickstart-helloworld-greeter-client-py-is-hanging-before-printing
>>
>> Thanks for your time!
>>
>> James
>>
>

-- 
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 grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/9ac23ee4-d65d-42c1-9648-515015036300n%40googlegroups.com.

Reply via email to