In my system the grpc server is running a secure server behind port 80. The
apache server takes request at port 443 and proxies it to port 80. I could
see that the server is getting the request and processing it. But after its
done, the client errors out with the following:
Traceback (most recent call last):
File "grpc_secure_client.py", line 40, in <module>
response = stub. Process(request)
File
"/home/harora/.pyenv/versions/py-3.5.0-grpc/lib/python3.5/site-packages/grpc/_channel.py",
line 550, in __call__
return _end_unary_response_blocking(state, call, False, None)
File
"/home/harora/.pyenv/versions/py-3.5.0-grpc/lib/python3.5/site-packages/grpc/_channel.py",
line 467, in _end_unary_response_blocking
raise _Rendezvous(state, None, None, deadline)
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "No status received"
debug_error_string =
"{"created":"@1548225523.353383280","description":"No status
received","file":"src/core/lib/surface/call.cc","file_line":1058,"grpc_status":2}"
>
The apache logs shows the following line:
-- 23/Jan/2019:15:59:08 +0000] "POST /service/Process HTTP/2.0" 200 7 "-"
"grpc-python/1.18.0 grpc-c/7.0.0 (manylinux; chttp2; goose)" "-" 18539
Any help to debug this would be really appreciated.
For what its worth, i am using python-grpcio compiled with openssl, Apache
has h2 enabled and is listening at port 443.
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit
https://groups.google.com/d/msgid/grpc-io/205185cd-beca-4d78-90c5-983c349c7476%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.