On Thursday, May 21, 2020 at 3:12:33 PM UTC+5:30, Pawan Kumar wrote: > > > Hi guys, > I am a newbie on gRPC. I wanna setup nonroot path-based routing. can > someone help me on this if missing? > I have created one gRPC client and server and its working, I have also > implemented envoy to send traffic to the server and its working fine on my > local. > Code I have added here, https://pastebin.com/BCbvMGxB > grpc_curl also working: > > grpc_cli ls > localhost:10000grpc.reflection.v1alpha.ServerReflectionhealthcheck.Greeter > > but when I am sending nonroot path based but getting failed and this route > I have added in envoy yaml. > > routes: > - name: grpc_route > match: > prefix: "/hello" > route: > prefix_rewrite: "/" > > Error: > > grpc_cli ls localhost:10000/hello > Received an error when querying services endpoint. > ServerReflectionInfo rpc failed. Error code: 14, message: Socket closed, > debug info: {"created":"@1590053896.870413000","description":"Error received > from peer ipv6:[::1]:10000","file":"s > >
-- 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 view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/d8ec8b6e-0b23-4a37-a0e1-4210dd1791c2%40googlegroups.com.
