To understand the issue correctly, you can run the server, but you get that error when running the client? Can you please share your server and client code and how you are running them?On 4 Jul 2021, at 12:17 am, momo95 <morga...@gmail.com> wrote:Hi all,I just started using grpcio a couple of days ago. I'm on python==3.7.6 and OS Catalina 10.15.4. I want to run the greeter example. I have got all the dependencies in place, virtualenv etc - I can start the server no problem but when I run the client I get this error:Traceback (most recent call last):
File "greeter_client.py", line 45, in <module>
run()
File "greeter_client.py", line 37, in run
response = stub.SayHello(helloworld_pb2.HelloRequest(name='you'))
File ".../grpc/lib/python3.7/site-packages/grpc/_channel.py", line 946, in __call__
return _end_unary_response_blocking(state, call, False, None)
File ".../grpc/lib/python3.7/site-packages/grpc/_channel.py", line 849, in _end_unary_response_blocking
raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNIMPLEMENTED
details = "Method not found!"
debug_error_string = "{"created":"@1625321565.427556000","description":"Error received from peer ipv6:[::1]:50051","file":"src/core/lib/surface/call.cc","file_line":1067,"grpc_message":"Method not found!","grpc_status":12}"
>
I also get the same error when trying to run my own grpc system. I tried running with the original helloworld docs in the github repo, and also with the modifications suggested in the grpc.io Quick Start docs.
Thanks in advance if anyone can help! :)
Mo
--
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+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/cdc10c8f-b050-41a6-b015-802428171359n%40googlegroups.com.
On 4 Jul 2021, at 6:32 pm, momo95 <morga...@gmail.com> wrote:Hello, thanks for your help!In the end it was a problem with the ports not matching :)
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/301b10f9-d2b8-4a6e-b342-098d50c1e1f1n%40googlegroups.com.