Closed antstorm closed 2 years ago
@gopalchouhan thanks, I'll try to use yab to check if the server is configured properly (I assume it is, since it also has a Thrift/TChannel endpoint that I used before.
Can you please expand on how yarpc determines which procedure is being called?
Ok, figured it out — the content type had to be proto
, not application/proto
. The error message could have been a bit more legible — maybe include the available procedures?
I believe error message is clear enough here. Given that issue look to be resolved, closing the issue.
Hey,
I'm building an integration with a YARPC API (using gRPC transport and protobuf encoding). Unfortunately I can't use YARPC generated code since the language I'm using (Ruby) is not supported. I'm trying to connect using plain gRPC-generated definitions, but ran into some issues. I was able to manually set caller, service name and encoding using gRPC metadata, but I can't get past setting the correct procedure name:
I tried using the
rpc-caller-procedure
header, but it seems like it's not taken into account the same way as other headers (such asrpc-caller
andrpc-service
).Does anyone know what other manipulations I need to do to the native gRPC request to trick a YARPC server to accept it?