You did get error information: "Rpc failed with status code 12 error message unknown service my_agent.MyServiceAPI " The part that says "unknown service my_agent.MyServiceAPI" means that the server does not have an implementation of a service with that name, and status code 12 means "unimplemented". This probably means that either your server is misconfigured or that you are not using the right proto file in your grpc_cli invocation.
On Fri, Feb 10, 2017 at 7:41 AM Sanket Lawangare <[email protected]> wrote: I am using the grpc command line tool to test response for my request. This is the official link to the grpc command line tool: https://github.com/grpc/grpc/blob/master/doc/command_line_tool.md In the response I am getting it says that there are some errors however, it does not show what the errors are. Here is the response I got from my client request: Failed to read response. Rpc failed with status code 12 error message unknown service my_agent.MyServiceAPI I am running the command from the location where my protocol file resides. I am sending a request like this, (FYI: I am also sending the metadata. Irrespective of including the metadata or not I am getting the same error message) : ~/my_workspace/src/github.com/grpc/bins/opt/grpc_cli call 0.0.0.0:50051 MyGrpcMethod <name_of_my_proto_file.proto> "abc : '12-34-56-78', xyz: '1234'" --metadata "auth:<auth_token>:space:xxx:org:xxx" --enable_ssl=false -- 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/e4f07e6e-44ae-4bd9-ba43-9ca1c283450c%40googlegroups.com <https://groups.google.com/d/msgid/grpc-io/e4f07e6e-44ae-4bd9-ba43-9ca1c283450c%40googlegroups.com?utm_medium=email&utm_source=footer> . For more options, visit https://groups.google.com/d/optout. -- 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/CAPK2-4di6uYMKBnxiO477dpeuY0BhyMjefao--V1gngvn50F8Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
smime.p7s
Description: S/MIME Cryptographic Signature
