Re: [grpc-io] Best practice for client channel

2016-09-19 Thread 'Ran Bi' via grpc.io
Thanks for your reply, Eric! The bug I observed only happened in production environment, and I haven't figured out a way to repro it locally. I will definitely let you know if there is any updates. On Fri, Sep 16, 2016 at 9:25 PM Eric Anderson wrote: > Reading another thread made me want to twe

Re: [grpc-io] [grpc-java 0.14.0] gRPC calls not working after a certain period.

2016-09-19 Thread 'Eric Anderson' via grpc.io
On Sat, Sep 17, 2016 at 12:40 AM, wrote: > I lazily create my stub, so I've tried checking if stub is disconnected, > and creating a new one in that case, but I'm still not winning. Is there > some solution that you or anyone else could suggest? > The channel itself is lazy, so you could just cr

Re: [grpc-io] gRRC c# oAuth2/OpenID Connect

2016-09-19 Thread 'Jan Tattermusch' via grpc.io
For the server side: Unfortunately, C# servers don't expose authentication API yet (only C++ does). In order to authenticate the calls on the server side, you need to inspect contents of request headers (and look for the right metadata elements that contains the auth token) in your handlers and th