Re: [grpc-io] Unable to set-up SSL on gRPC server. org/eclipse/jetty/alpn/ALPN ClassNotFound.

2018-11-01 Thread Jaroslav Gorskov
EDIT: I added a -javaagent JVM argument and pointed it to ALPN. Apparently it should be executed before the jvm main. The question about why doesn't grpc recognize I have OpenSSL available is still open. чт, 1 нояб. 2018 г. в 16:25, : > I want to set-up SSL on my GRPC server. Here is what I'm

[grpc-io] How to install and use grpc c++ in Visual studio 2017

2018-11-01 Thread akshay . choudhary0489
Could you please let me know step by step how to compile and use grpc c++ on windows 10 with visual studio 2017. FYI - I have already tried using cmake but it doesn't seems to work, lots of linker issues -- You received this message because you are subscribed to the Google Groups "grpc.io"

Re: [grpc-io] how to create a server to consume messages from multiple clients in Nodejs?

2018-11-01 Thread Arunkumar P
Thanks a lot On Thu, 1 Nov 2018, 21:52 Nicolas Noble There's nothing special to do. Any gRPC server from any language should be > able to natively handle many different clients from many different origins > without any special handling. > > On Thu, Nov 1, 2018 at 5:51 AM wrote: > >> how to

Re: [grpc-io] how to create a server to consume messages from multiple clients in Nodejs?

2018-11-01 Thread Nicolas Noble
There's nothing special to do. Any gRPC server from any language should be able to natively handle many different clients from many different origins without any special handling. On Thu, Nov 1, 2018 at 5:51 AM wrote: > how to create a server to consume messages from multiple clients in >

Re: [grpc-io] server-side timeout?

2018-11-01 Thread robert engels
And the server side checking: Java if (Context.current().isCancelled()) { responseObserver.onError(Status.CANCELLED.withDescription("Cancelled by client").asRuntimeException()); return; } > On Nov 1, 2018, at 10:25 AM, robert engels wrote: > > Here: > > response =

Re: [grpc-io] server-side timeout?

2018-11-01 Thread robert engels
Here: response = blockingStub.withDeadlineAfter(deadlineMs, TimeUnit.MILLISECONDS).sayHello(request); from https://grpc.io/blog/deadlines > On Nov 1, 2018, at 10:22 AM, Vijay Lakshminarayanan > wrote: > > Thanks Robert. I forgot to mention that I'm using Java. I'll look > for the

Re: [grpc-io] Re: Is it availble to do RPC requests from server to client with gRPC?

2018-11-01 Thread fsl5987
Josh Humphries, thank you very much for detailed answer! I am not familiar with go, but i think that i can get some ideas and concepts from your code. четверг, 1 ноября 2018 г., 20:04:51 UTC+5 пользователь Josh Humphries написал: > > On Thu, Nov 1, 2018 at 8:16 AM > wrote: > >> >> >> четверг,

Re: [grpc-io] server-side timeout?

2018-11-01 Thread Vijay Lakshminarayanan
Thanks Robert. I forgot to mention that I'm using Java. I'll look for the equivalent APIs in Java. Thanks Vijay On Thu, Nov 1, 2018 at 8:50 PM robert engels wrote: > > In Go, you can set the Context with Deadline, and the server side handler can > check if the request should be aborted

Re: [grpc-io] server-side timeout?

2018-11-01 Thread robert engels
In Go, you can set the Context with Deadline, and the server side handler can check if the request should be aborted (which may happen automatically if the Context is passed to another service, like db connection). > On Nov 1, 2018, at 10:08 AM, Vijay Lakshminarayanan > wrote: > > Hi > >

[grpc-io] server-side timeout?

2018-11-01 Thread Vijay Lakshminarayanan
Hi I'd like to cap the longevity of any client request on the server's side. Is this possible? Thanks Vijay -- 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

Re: [grpc-io] Re: Is it availble to do RPC requests from server to client with gRPC?

2018-11-01 Thread Josh Humphries
On Thu, Nov 1, 2018 at 8:16 AM wrote: > > > четверг, 1 ноября 2018 г., 16:02:25 UTC+5 пользователь Ivan Penchev > написал: >> >> The only way to do this is, for the client first to contact the server. >> >> Then on the server you get an IServerStreamWriter, which gives you an >> option to steam

[grpc-io] Unable to set-up SSL on gRPC server. org/eclipse/jetty/alpn/ALPN ClassNotFound.

2018-11-01 Thread mrshaylois
I want to set-up SSL on my GRPC server. Here is what I'm doing: File certChain = new File("conf/server.crt"); File privateKey = new File("conf/pkcs8_key.pem"); Server server = NettyServerBuilder.forPort(8080) .useTransportSecurity(certChain, privateKey) .addService(new

[grpc-io] how to create a server to consume messages from multiple clients in Nodejs?

2018-11-01 Thread arunkumar . p
how to create a server to consume messages from multiple clients in Nodejs?i.e I should have one listener in Node Js and 500 clients push the different messages.My server should be able to consume all client messages. Thanks, Arun -- You received this message because you are subscribed to

[grpc-io] Re: Is it availble to do RPC requests from server to client with gRPC?

2018-11-01 Thread fsl5987
четверг, 1 ноября 2018 г., 16:02:25 UTC+5 пользователь Ivan Penchev написал: > > The only way to do this is, for the client first to contact the server. > > Then on the server you get an IServerStreamWriter, which gives you an > option to steam to the client . > > The reason you can do it the

[grpc-io] Re: Is it availble to do RPC requests from server to client with gRPC?

2018-11-01 Thread Ivan Penchev
The only way to do this is, for the client first to contact the server. Then on the server you get an IServerStreamWriter, which gives you an option to steam to the client . The reason you can do it the other way is, that the server must know all the IP addresses to connect to :) On

[grpc-io] Is it availble to do RPC requests from server to client with gRPC?

2018-11-01 Thread fsl5987
Foreword: I didn't use gRPC before. I only doing first look on this technology and trying to understand can i use it in my project or no. I using C# with net core 2.1, if it matters for something. Question: I have one server and miltiple clients and i need to do rpc requests from

[grpc-io] How to build gRPC for VS2017?

2018-11-01 Thread shubhamjainji94
Hi, I am trying to build gRPC to use with VS2017. Able to compile gRPC and generated the grpc.lib along with other libraries.But facing linking errors when trying to include these libraries in my client server code. Please can someone suggest where I am going wrong or can share the correct