[grpc-io] Re: Using TLS in gRPC C++ program

2021-12-01 Thread 'Zhen Lian' via grpc.io
Both `Ssl*Credentials` and `Tls*Credentials` inherently use TLS as its transport protocol. `Ssl*Credentials` was named by historical reasons but we don't support SSL anymore. The difference between the two is that `Tls*Credentials` is still experimental, and it contains many new advanced

[grpc-io] gRFC A50: gRPC xDS Outlier Detection Support

2021-12-01 Thread 'Michael Lumish' via grpc.io
I have opened a gRFC for xDS Outlier Detection support: https://github.com/grpc/proposal/pull/281 -- 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] Re: gRPC client stream error semantics when server is shutdown but TCP connection remains

2021-12-01 Thread C. Schneider
I ended up restarting the RPC call every 60s, since a dedicated app ping RPC call would continue to work even though the long running RPC call state had been silently lost server side. It seems a bit inefficient. Semantically speaking what is the intended behavior when a long running RPC call

[grpc-io] Re: Using the gRPC AsyncIO API in python

2021-12-01 Thread 'Lidi Zheng' via grpc.io
Hi, Here is an unit test case using stream.write() and stream.read() to communicate in bidirectional streaming: https://github.com/grpc/grpc/blob/master/src/python/grpcio_tests/tests_aio/unit/channel_test.py#L180 Sorry that we didn't have an example to demonstrate this usage. On Tuesday,

[grpc-io] Re: Incoming frame of size N exceeds local window size of 0

2021-12-01 Thread 'yas...@google.com' via grpc.io
It looks like there is a bug around handling of flow control windows either in the client or the server. Based on the error log, I would presume that the server's flow control implementation is buggy. To dig deeper, we would need to look at what flow control updates are being sent. On Monday,

[grpc-io] Re: How Does grpcio - Python handle interceptor exceptions?

2021-12-01 Thread 'Richard Belleville' via grpc.io
I think this is the code block you're wondering about. There's one for each of the four arities. I hope that answers your question. Let me know if you want any more info.

[grpc-io] Re: Cross Language support C++, .NET 4.8, .Net Core...

2021-12-01 Thread 'yas...@google.com' via grpc.io
I don't know of any issues doing this. On Friday, November 19, 2021 at 3:40:58 AM UTC-8 thecpu...@gmail.com wrote: > How feasible is it to have implementations where one end is in: > > * C++ (native) > * C# running .NET 4.8 full framework > * C# running .NET Core 5.0 or later > > And the other

[grpc-io] Re: Some clients can't connect to our server.

2021-12-01 Thread 'yas...@google.com' via grpc.io
That is probably the issue that you are running into. Please refer - https://github.com/grpc/grpc/blob/master/doc/environment_variables.md for the environment variables that gRPC uses. You can override by using the channel arg - GRPC_ARG_ENABLE_HTTP_PROXY and setting it to 0. On Wednesday,

[grpc-io] Re: ImportError: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.33' not found

2021-12-01 Thread Dayton Turner
Same, I'm also just running into this and looking for a solution too! please let us know if you figure it out! On Tuesday, 30 November 2021 at 21:15:53 UTC-8 jeremy scott wrote: > I'm having the same exact issue. Did this issue ever get resolved? > > > On Wednesday, October 27, 2021 at 8:44:54

[grpc-io] Re: grpcio_testing code samples

2021-12-01 Thread 'yas...@google.com' via grpc.io
Thank you for the feedback! Do the examples in https://github.com/grpc/grpc/tree/master/examples and https://github.com/grpc/grpc/tree/master/test help? On Tuesday, November 16, 2021 at 6:32:13 AM UTC-8 M T wrote: > Hi all, > > I'm just starting to get into grpc, and was wondering about tests.

[grpc-io] Re: Server restart during client side streaming

2021-12-01 Thread 'yas...@google.com' via grpc.io
I can think of a few ways to achieve this (with keepalives configured ofcourse). One way to detect this would be to perform a `Read()` on the stream. If the channel dies, the stream would die too and the read would fail. On Tuesday, November 16, 2021 at 3:08:46 AM UTC-8 paulin...@gmail.com

[grpc-io] gRPC-Core Release 1.42.0

2021-12-01 Thread 'Mark D. Roth' via grpc.io
This is the 1.42.0 (granola) release announcement for gRPC-Core and the wrapped languages C++, C#, Objective-C, Python, PHP and Ruby. Latest release notes are here . This release contains refinements, improvements, and bug fixes, with highlights

[grpc-io] Re: Is this a valid way to multi thread RPC handlers in gRPC async server in C++?

2021-12-01 Thread 'yas...@google.com' via grpc.io
Completion queues are thread-safe. CallData is an application-level construct. gRPC itself won't be accessing the internals of the struct. It just uses it as an opaque pointer. If the application level logic is such that CallData can be accessed from multiple threads, you would need to

[grpc-io] Re: Why GRPC server running on EC2/AWS returns RST_STREAM error for a GET Call?

2021-12-01 Thread 'yas...@google.com' via grpc.io
I think more logs are needed here. From the logs that you did post, it seems like the connection was established but I don't see any details of the RPC itself. Your code doesn't show the RPC either. On Thursday, November 11, 2021 at 5:21:39 PM UTC-8 kiranku...@gmail.com wrote: > GRPC Client

[grpc-io] Re: gRPC client stream error semantics when server is shutdown but TCP connection remains

2021-12-01 Thread 'yas...@google.com' via grpc.io
Having a HTTP/2 proxy in between is muddying the waters for keepalive. I believe istio/envoy have settings for keepalives that you might be able to employ here. If that doesn't work for you either, you might want to consider a custom application level ping. On Tuesday, November 9, 2021 at

[grpc-io] Re: gRPC wait server ready

2021-12-01 Thread 'yas...@google.com' via grpc.io
I think this API is pretty stable and should be promoted. https://github.com/grpc/grpc/pull/28247 On Tuesday, November 9, 2021 at 1:06:03 PM UTC-8 Сергей Соболев wrote: > Hi, everyone! > I'm writing test (with gtest) with grpc similar to the following (in C++ > pseudocode): > > class Fixture {

[grpc-io] Re: Flow Based Load Balancing

2021-12-01 Thread 'yas...@google.com' via grpc.io
I am not sure I completely understand the question but I'll give it a shot. On any new RPC (can either be unary or streaming), after load-balancing is done, gRPC ends up choosing a backend server for that RPC. If there isn't an existing transport connection to that backend, a connection is

[grpc-io] Re: Translation service

2021-12-01 Thread Cissy Chen
Dear Team, It's nice to re-meet you here and I hope my email finds you well. This is Cissy Chen from Mars Translation. I wanted to see if you’re looking to expand your business globally? As an ISO certified company and a member of American Translators Association (ATA), we strictly follow the