[grpc-io] [gRPC-C++] Detect if Stream is closed for writes without triggering new Write

2024-04-19 Thread 'Matthew MacGregor' via grpc.io
Is there a way to detect if a stream has been closed for writes without making another call to Write or Finish, when using the Async Completion Queue API? Currently, with this PR was merged, the only way to detect if the stream is writable, without

[grpc-io] [gRPC-G++] Check if Call has been closed as non-writable with C++ Async API

2024-04-19 Thread 'Matthew MacGregor' via grpc.io
*Main Question:* Is there any way to check if an internal error was set by the server without making a new Write operation in a single direction Client->Server streaming scenario, and without calling Finish. Currently we are using a client and server with the gRPC C++ client streaming to a

Re: [grpc-io] [grpc-Java] Query regarding ping deadline exceeded

2024-04-19 Thread 'Eric Anderson' via grpc.io
On Fri, Apr 12, 2024 at 11:53 AM R Chinmay wrote: > In both cases we receive a generic log with status DEADLINE_EXCEEDED. I see "[grpc-Java]" in the email subject. Are you actually using grpc-java? gRPC Java provides a lot of information in the string part of the status. > 1. Can you provide

Re: [grpc-io] GRPC client getting error while connecting to service UNAVAILABLE

2024-04-19 Thread 'Eric Anderson' via grpc.io
On Thu, Apr 18, 2024 at 1:28 PM shobhit agarwal wrote: > suddenly it started failing with error:UNAVAILABLE while service was up > and running > What was the error message? -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this

[grpc-io] intercept new connections in c++ server

2024-04-19 Thread Karoly Horvath
Hi, is it possible to somehow intercept a new connection in a gRPC server? I'm not interested in every RPC call, just new connections. Thank you. -- Karoly Horvath rhsw...@gmail.com -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe

[grpc-io] Measuring argument offset in gRPC classes

2024-04-19 Thread Youssef Esseddiq
Hi, As a simple example of my problem, I'm trying to measure the offset of the argument 'send_initial_metadata' in the 'grpc_chttp2_stream' class. This has been done for older versions of gRPC < v1.41.1 but as you know the grpc codebase keeps changing and the offset calculation needs to be

Re: [grpc-io] What is the suggested way to use onError on StreamObserver?

2024-04-19 Thread Debraj
For more context, I am using gRPC 1.55.1. We are calling gRPC services like below gRPC1 --> gRCP2 -> HttpServer If the HttpServer is not available then from gRPC2 server Status.UNAVAILABLE error is thrown with some Metadata as shown below. But we are observing that sometimes the Metadata is