[grpc-io] Re: GRPC_ARG_KEEPALIVE_TIME_MS vs GRPC_ARG_HTTP2_MIN_SENT_PING_INTERVAL_WITHOUT_DATA_MS

2020-08-05 Thread tobias . krueger
Hi, thanks for your reply and clarifying the facts. On Thursday, August 6, 2020 at 1:06:43 AM UTC+2, yas...@google.com wrote: > > Hi, > > You are right. It is definitely not user friendly for someone trying to > set up keepalives to also have to set > GRPC_ARG_HTTP2_MIN_SENT_PING_INTERVAL_WITHOU

[grpc-io] Re: "Could not contact DNS servers" even setting GRPC_DNS_RESOLVER=native

2020-08-05 Thread belanke . darshan
Thanks for reply @Srini. Yes I resolved this issue by replacing the 127.0.0.1 with localhost. On Wednesday, August 5, 2020 at 11:08:55 PM UTC+5:30, Srini Polavarapu wrote: > > DNS is the default name resolver in gRPC. gRPC C++ uses C-Ares as default > library to resolve DNS unless you set GRP

[grpc-io] Re: grpc-java - how to close a channel that has an interceptor

2020-08-05 Thread 'zda...@google.com' via grpc.io
There is a reason for the API design of ClientInterceptors.intercept(..) returning a Channel rather than ManagedChannel: The original managed channel is the single entity that is responsible for the life-cycle of the channel. If you are not the owner of the original ManagedChannel instance, you

[grpc-io] Re: GRPC_ARG_KEEPALIVE_TIME_MS vs GRPC_ARG_HTTP2_MIN_SENT_PING_INTERVAL_WITHOUT_DATA_MS

2020-08-05 Thread 'yas...@google.com' via grpc.io
Hi, You are right. It is definitely not user friendly for someone trying to set up keepalives to also have to set GRPC_ARG_HTTP2_MIN_SENT_PING_INTERVAL_WITHOUT_DATA_MS. I believe the reason for this is mostly to deal with the fact that pings in gRPC Core can originate via either of 3 methods -

[grpc-io] Re: "Could not contact DNS servers" even setting GRPC_DNS_RESOLVER=native

2020-08-05 Thread 'Srini Polavarapu' via grpc.io
DNS is the default name resolver in gRPC. gRPC C++ uses C-Ares as default library to resolve DNS unless you set GRPC_DNS_RESOLVER=native. Check that you have valid nameserver in /etc/resolv.conf. It is strange that GRPC_DNS_RESOLVER=native did not help which should just use the system namereso

[grpc-io] GRPC_ARG_KEEPALIVE_TIME_MS vs GRPC_ARG_HTTP2_MIN_SENT_PING_INTERVAL_WITHOUT_DATA_MS

2020-08-05 Thread tobias . krueger
Hi, can somebody explain the relation between these two time settings on a client perspective? It seems to me, that GRPC_ARG_HTTP2_MIN_SENT_PING_INTERVAL_WITHOUT_DATA_MS is the lower limit for GRPC_ARG_KEEPALIVE_TIME_MS. But why does this GRPC_ARG_HTTP2_MIN_SENT_PING_INTERVAL_WITHOUT_DATA_MS ex

[grpc-io] Facing error while fetching documents from db using grpc

2020-08-05 Thread KALISETTI RAMKUMAR
Hi All, I'm using nodejs platform to build grpc application. I'm facing an error while inserting document (but successfully inserted in DB) and not able to retrieve documents from DB (using find method). As I am new to grpc not familiar on understanding the error. Please refer the attached scre