[grpc-io] Re: RpcException when calling MoveNext C#

2018-10-03 Thread tyczj359
Here is the server code class Program { static void Main(string[] args) { Server server = new Server { Services = { Logger.Logger.BindService(new LoggerImp()) }, Ports = { new ServerPort("192.168.1.223", 50051, ServerCred

[grpc-io] Non experimental way to allow a client to gracefully cancel streaming service in Java

2018-10-03 Thread sankate via grpc.io
Since all StreamObserver (CallStreamObserver, ServerCallStreamObserver) classes are marked as experimental https://github.com/grpc/grpc-java/issues/1788 , What is a stable way to allow a client to gracefully cancel streaming service by signaling the server to stop sending messages? Also, if

Re: [grpc-io] grpc-web

2018-10-03 Thread 'Stanley Cheung' via grpc.io
This is from https://github.com/improbable-eng/grpc-web right? Please contact the maintainers of that project. Thanks! On Sat, Sep 29, 2018 at 2:45 AM Naveed rajput wrote: > Hi, i am facing problem in ts-protoc-gen > > //error > protoc > --plugin=protoc-gen-js_service=./node_modules/.bin/protoc

[grpc-io] Re: RpcException when calling MoveNext C#

2018-10-03 Thread Benjamin Krämer
If you have a look at https://github.com/grpc/grpc/blob/master/src/csharp/Grpc.Core/Internal/ServerCallHandler.cs#L340 this usually happens if the server throws any exception that is not of the type RpcException. -- You received this message because you are subscribed to the Google Groups "g

[grpc-io] Re: RpcException when calling MoveNext C#

2018-10-03 Thread Benjamin Krämer
Looks to my like the server side threw an exception. Can you also paste the server side? -- 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 grpc-io+unsubscr...@googlegr

[grpc-io] Re: is this the correct way of using grpc ?

2018-10-03 Thread Benjamin Krämer
You can use the Any type with any proto message.Since PersonFilter is now a proto message and not any java class, it should definetly work. You should also check the type of the any before deserializing it if you want to support multiple ones. Not sure how this looks like in Java since I'm most

[grpc-io] Re: is this the correct way of using grpc ?

2018-10-03 Thread 'Carl Mastrangelo' via grpc.io
Responses inline On Wednesday, October 3, 2018 at 5:04:07 AM UTC-7, omid pourhadi wrote: > > Thank you. > > I had the same conversation here > > https://groups.google.com/forum/#!topic/protobuf/JwiAkWbEAYI > > and I came to conclusion that Any is for messages with type and it is not > good for j

[grpc-io] Re: Is there a way to tell if Write failed because the msg is too big

2018-10-03 Thread 'Srini Polavarapu' via grpc.io
After the write fails, you have to call Finish() to get the status. See example here: https://grpc.io/docs/tutorials/async/helloasync-cpp.html On Wednesday, September 26, 2018 at 12:17:05 PM UTC-7, dataman wrote: > > > Thanks for the response! I am using the async Write. There is no status > re

[grpc-io] grpc++: issues with opencensus tracing [cmake]

2018-10-03 Thread nathan . prat
Hello, I have some issues setting up grpc++ and Opencensus. Before anything else, I have built grpc_opencensus_plugin(and its dependencies) with Cmake. Could I have missed something regarding some kind of static init? Dynamic linking? Anyway, the prometheus stats are correctly exported, b

[grpc-io] Re: is this the correct way of using grpc ?

2018-10-03 Thread omid pourhadi
Thank you. I had the same conversation here https://groups.google.com/forum/#!topic/protobuf/JwiAkWbEAYI and I came to conclusion that Any is for messages with type and it is not good for java serialization I tried it and I got this error. Type of the Any message does not match the given class

[grpc-io] gRPC interoperable C++ server framework without C++11 ?

2018-10-03 Thread Robert Bielik
Hi all, Is there some C++ framework available without need for C++11 that is interoperable with gRPC clients ? We've had a request from a customer who still hangs on to an ancient gcc without C++11... :( Regards /Robert -- You received this message because you are subscribed to the Google G