roadrunner
roadrunner copied to clipboard
[🐛 BUG]: GRPC Reflection server on 2.11.0-beta.1
Discussed in https://github.com/roadrunner-server/roadrunner/discussions/1223
Originally posted by genhoi July 23, 2022 I tried the new RoadRunner beta (2.11.0-beta.1) for GRPC Reflection for Postman and GrpcUI, for some reason it didn't work for me, is there any way to tell me what I'm doing wrong?
I added a flag to the settings to enable.

RR log output:
[INFO] RoadRunner server started; version: 2.11.0-beta.1, buildtime: 2022-07-18T14:43:58+0000
Postman output:

grpcui output:
docker compose logs grpcui
grpcui-1 | Failed to compute set of methods to expose: Symbol not found: utp.catalog_write.v1.CatalogWriteService
Although the methods themselves work, if you call the GRPC methods at this address
@genhoi 👋🏻
I guess I found the issue. We missed in our docs that you should use a --php_out=<OUTPUT DIRECTORY> protoc option.
W/o this option, the protoreflect server can't find the proto_description of the service. I recompiled my test proto files and was able to see the full description of the gRPC methods:

Ah, that won't help you. I found a real issue, the fix will be in the beta.2.
Reopening. Include files from the imports.
ref: https://github.com/roadrunner-server/roadrunner/issues/1208