[grpc-io] 1 Week Until gRPConf 2023 - Almost Sold Out!

2023-09-13 Thread 'Terry Wilson' via grpc.io


Hello gRPC Community!

We are one week away from gRPConf 2023 and tickets are close to selling 
out. If you haven’t had a chance to register yet, please do so soon. 
Tickets are still available for only $99.

We’re also excited to share that we have added a limited number of “Meet a 
Maintainer” Sessions. These sessions are a chance to do an 1on1 meeting 
with one of the maintainers of gRPC in place of watching one of the gRPConf 
talks. You can sign up by completing this form. 


All the details are below. We’re looking forward to seeing everyone on 
September 20th!

️Register Here 
 

️September 20, 2023

Google Cloud Campus - Sunnyvale, CA

⏰Doors open at 8:30AM

藺Meet a Maintainer 

View the Schedule 



Thank you,

Terry Wilson and the gRPC Team

gRPConf 2023 Sunnyvale, CA | Register Now 


-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/e3aea7ae-c6d1-4caf-8815-e82f3a0a5194n%40googlegroups.com.


[grpc-io] Re: C++ gRPC with PKCS#11

2023-09-13 Thread 'Luwei Ge' via grpc.io
Hi,

I assume you are building gRPC with OpenSSL.

1. We do have some support for the Engine APIs 
(https://github.com/grpc/grpc/blob/6534f0a6bfc1cfae6db931f9ee16f480de980374/src/core/tsi/ssl_transport_security.cc#L568)
 
of OpenSSL 1.0.2. Unfortunately, because the feature was implemented quite 
a while ago, the test 
(https://github.com/grpc/grpc/blob/3717ff04bafd18504d8613d753d4605927305de3/test/core/end2end/h2_ssl_cert_test.cc#L263)
 
has been broken and yet to be fixed. Regardless of the test, if we assume 
this still works, would it accommodate your use case? Note that you'd be 
locked into OpenSSL 1.0.2.

2. If the option 1 above is not viable but OpenSSL Engine APIs will indeed 
solve your problem. Would you be interested in contributing to supporting 
this feature for more recent OpenSSL versions (namely, OpenSSL 3)?

Please let us know if you got any questions.

Best,
Luwei


On Saturday, September 9, 2023 at 5:29:20 PM UTC-4 GoogleUser Zak wrote:

> Hi,
> I am looking for a GRPC library implementation/version where a C++ gRPC 
> client, namely CreateChannel(),  can refer to the mTLS private key using 
> PKCS#11 URI, and therefore the private key doesn't need to be read in the 
> user space, and will stay in the HSM secure memory.
>
> Is there a way to use openSSL with pkcs11 engine in the gRPC library? If 
> so, any pointers about how to create that gRPC library?
>
> Thanks
> --
> Hakim
>  
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/8d002db7-98f7-4a8d-a472-a8e782f934a2n%40googlegroups.com.


[grpc-io] Re: The following imported targets are referenced, but are missing: absl::any_invocable while trying to use gRPC for a project

2023-09-13 Thread Abhishek Ghosh
Yes, it was answered.

On Wednesday, September 13, 2023 at 11:23:34 PM UTC+5:30 AJ Heller wrote:

> I believe this was answered in https://github.com/grpc/grpc/issues/34299
>
> On Monday, September 11, 2023 at 2:29:30 AM UTC-7 Abhishek Ghosh wrote:
>
>> The contents of the file /usr/local/lib/cmake/grpc/gRPCConfig.cmake
>> # Module path list(APPEND CMAKE_MODULE_PATH 
>> ${CMAKE_CURRENT_LIST_DIR}/modules) 
>> # Depend packages if(NOT TARGET absl::strings) find_package(absl CONFIG) 
>> endif() # Targets include(${CMAKE_CURRENT_LIST_DIR}/gRPCTargets.cmake) 
>> if(NOT 
>> CMAKE_CROSSCOMPILING) 
>> include(${CMAKE_CURRENT_LIST_DIR}/gRPCPluginTargets.cmake) 
>> endif() 
>> ​
>> On Monday, September 11, 2023 at 2:53:30 PM UTC+5:30 Abhishek Ghosh wrote:
>>
>>> I am using the latest version as of the 10th of September, 2023. I am 
>>> using gRPC for C++ on linux.
>>> PACKAGE VERSION 1.59.0-dev CORE VERSION 35.0.0 
>>>
>>> I am trying to set up the code base of a project from Github. The code 
>>> base uses gRPC and cmake to establish the dependencies.
>>>
>>> From the CMakeLists.txt:
>>> find_package(gRPC CONFIG REQUIRED) message(STATUS "Using gRPC 
>>> ${gRPC_VERSION}") 
>>>
>>> I think that I have successfully installed gRPC and its required 
>>> dependencies. At least, while building gRPC from its source and then trying 
>>> to install it (used cmake to make and install the packages) did not 
>>> find any issues or errors.
>>> $ git clone https://github.com/grpc/grpc/ $ cd grpc $ git submodule 
>>> update --init --recursive $ cd cmake $ mkdir build $ cd build $ cmake ../.. 
>>> $ make -j`nproc` $ sudo make install 
>>>
>>> But while trying to build the project which I am trying to setup (the 
>>> corresponding CMakeLists.txt file 
>>> ),
>>>  
>>> I get the following error:
>>> Call Stack (most recent call first): 
>>> /usr/share/cmake-3.25/Modules/ExternalProject.cmake:4185 
>>> (_ep_add_download_command) worker/CMakeLists.txt:17 (ExternalProject_Add) 
>>> This warning is for project developers. Use -Wno-dev to suppress it. Using 
>>> protobuf 24.2.0 CMake Error at worker/serverless_gpu/CMakeLists.txt:16 
>>> (find_package): Found package configuration file: 
>>> /usr/local/lib/cmake/grpc/gRPCConfig.cmake but it set gRPC_FOUND to FALSE 
>>> so package "gRPC" is considered to be NOT FOUND. Reason given by package: 
>>> The following imported targets are referenced, but are missing: 
>>> absl::any_invocable 
>>>
>>> I am new to building systems that too using cmake. I am not very 
>>> experienced. Can anyone please guide me to fix this issue?
>>>
>>> I am using Ubuntu 18.04 with 5.4.0-150-generic kernel.
>>> ​
>>>
>>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/5caf580e-4890-40dd-9d3d-58da9bd73c1bn%40googlegroups.com.


[grpc-io] Re: Using the certificate fetcher API

2023-09-13 Thread 'Luwei Ge' via grpc.io
Hi,

Does the FileWatcherCertificateProvider work 
at 
https://github.com/grpc/grpc/blob/master/include/grpcpp/security/tls_certificate_provider.h
 
for your use case? It's an experimental API but we plan to stabilize it 
soon.

Best,
Luwei

On Tuesday, September 12, 2023 at 2:13:32 PM UTC-4 Amirsaman Memaripour 
wrote:

Following up on this question, is there a plan for supporting the 
certificate fetcher API in the public facing headers?

On Thursday, August 31, 2023 at 6:10:52 PM UTC-4 Amirsaman Memaripour wrote:

Hi,

We are working on using the C++ implementation of gRPC and wanted to see 
what's the best way to implement certificate rotation. I was able to rotate 
certificates using the certificate fetcher callback API, but noticed that 
it's only available through the private headers of the core library. Are 
there plans to make this API public? Just checking to make sure the feature 
is not going to be deprecated and entirely removed form the repository. 
Thank you! 

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/2f0ef6bf-1f2e-429c-8e5c-b4a94c3b0e1bn%40googlegroups.com.


[grpc-io] Re: gRPC Connections Managment golang

2023-09-13 Thread 'AJ Heller' via grpc.io
I'm not sure what your question here is, exactly. I'd recommend starting 
with this grpc-go tutorial https://grpc.io/docs/languages/go/basics/, which 
will teach you the basics of creating connections and issuing RPCs. You may 
be most interested in bidirectional streaming.

On Saturday, September 9, 2023 at 6:57:57 AM UTC-7 Kareem Adem wrote:

> Hi Buddies,
> I am new to gRPC, and I have Server and multiple clients.
> So I want to Store Each Client Connection in order to be able to send 
> messages to specific Client.
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/d99e8488-b66b-4dc0-b85c-e7d70ec692een%40googlegroups.com.


[grpc-io] Re: How are bidirectional streams handled for TCP disconnection exceptions in gRPC?

2023-09-13 Thread 'AJ Heller' via grpc.io
This is answered on StackOverflow.

On Saturday, September 9, 2023 at 11:56:35 PM UTC-7 borong wrote:

>
> https://stackoverflow.com/questions/77075070/how-are-bidirectional-streams-handled-for-tcp-disconnection-exceptions-in-grpc
>
>
>
> specific description
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/9e59a63f-0e96-4c84-8d99-91100b547572n%40googlegroups.com.


[grpc-io] Re: The following imported targets are referenced, but are missing: absl::any_invocable while trying to use gRPC for a project

2023-09-13 Thread 'AJ Heller' via grpc.io
I believe this was answered in https://github.com/grpc/grpc/issues/34299

On Monday, September 11, 2023 at 2:29:30 AM UTC-7 Abhishek Ghosh wrote:

> The contents of the file /usr/local/lib/cmake/grpc/gRPCConfig.cmake
> # Module path list(APPEND CMAKE_MODULE_PATH 
> ${CMAKE_CURRENT_LIST_DIR}/modules) 
> # Depend packages if(NOT TARGET absl::strings) find_package(absl CONFIG) 
> endif() # Targets include(${CMAKE_CURRENT_LIST_DIR}/gRPCTargets.cmake) if(NOT 
> CMAKE_CROSSCOMPILING) 
> include(${CMAKE_CURRENT_LIST_DIR}/gRPCPluginTargets.cmake) 
> endif() 
> ​
> On Monday, September 11, 2023 at 2:53:30 PM UTC+5:30 Abhishek Ghosh wrote:
>
>> I am using the latest version as of the 10th of September, 2023. I am 
>> using gRPC for C++ on linux.
>> PACKAGE VERSION 1.59.0-dev CORE VERSION 35.0.0 
>>
>> I am trying to set up the code base of a project from Github. The code 
>> base uses gRPC and cmake to establish the dependencies.
>>
>> From the CMakeLists.txt:
>> find_package(gRPC CONFIG REQUIRED) message(STATUS "Using gRPC 
>> ${gRPC_VERSION}") 
>>
>> I think that I have successfully installed gRPC and its required 
>> dependencies. At least, while building gRPC from its source and then trying 
>> to install it (used cmake to make and install the packages) did not find 
>> any issues or errors.
>> $ git clone https://github.com/grpc/grpc/ $ cd grpc $ git submodule 
>> update --init --recursive $ cd cmake $ mkdir build $ cd build $ cmake ../.. 
>> $ make -j`nproc` $ sudo make install 
>>
>> But while trying to build the project which I am trying to setup (the 
>> corresponding CMakeLists.txt file 
>> ),
>>  
>> I get the following error:
>> Call Stack (most recent call first): 
>> /usr/share/cmake-3.25/Modules/ExternalProject.cmake:4185 
>> (_ep_add_download_command) worker/CMakeLists.txt:17 (ExternalProject_Add) 
>> This warning is for project developers. Use -Wno-dev to suppress it. Using 
>> protobuf 24.2.0 CMake Error at worker/serverless_gpu/CMakeLists.txt:16 
>> (find_package): Found package configuration file: 
>> /usr/local/lib/cmake/grpc/gRPCConfig.cmake but it set gRPC_FOUND to FALSE 
>> so package "gRPC" is considered to be NOT FOUND. Reason given by package: 
>> The following imported targets are referenced, but are missing: 
>> absl::any_invocable 
>>
>> I am new to building systems that too using cmake. I am not very 
>> experienced. Can anyone please guide me to fix this issue?
>>
>> I am using Ubuntu 18.04 with 5.4.0-150-generic kernel.
>> ​
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/b24ff69a-6d50-42ea-a34e-7d8053289784n%40googlegroups.com.


[grpc-io] Re: How to find boringSSL version in grpcio 1.21.1 ?

2023-09-13 Thread 'AJ Heller' via grpc.io
I'm not entirely sure how to help you with such an old version. I'd 
recommend trying with a more recent gRPC version, we are currently up to 
version 1.58. https://pypi.org/project/grpcio/

On Monday, September 11, 2023 at 3:40:12 AM UTC-7 Reena THOMAS wrote:

> I am downloading tar file from 
> https://files.pythonhosted.org/packages/fb/d5/30bc142a40bb891c28739ec48c99730d20e5fb9cf9637036b4b52f70505b/grpcio-1.21.1.tar.gz
>  
> , and ran "python setup.py install" 
>
> I am unable to find a clear solution to know boringSSL version that is 
> mapped to grpcio 1.21.1
>
> Is there a way to find from source code or from above tar file?
> Any help will be appreciated 
>
> Project: https://pypi.org/project/grpcio/1.21.1/#files
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/bdef7c1e-be43-4158-b8d8-8a48ee15f4den%40googlegroups.com.


[grpc-io] Re: Handling gRPC-gateway for .NET Core

2023-09-13 Thread 'AJ Heller' via grpc.io
gRPC-gateway is a go project. grpc-web might be able to help you 
https://github.com/grpc/grpc-web

On Tuesday, September 12, 2023 at 10:15:58 PM UTC-7 David CHANE wrote:

> Dear Mrs., Mr ,
>
>  
>
> I am currently progamming an App in gRPC using .NET environment and 
> writing my code in C# language.
>
>  
>
> I want to use gRPC-gateway to still be able to handle REST protocol with 
> clients.
>
>  
>
> However, the only ressources I can see are written in ‘Go’ language. 
>
> Is it possible to do it but in c# or in Visual Studio environment ?
>
>  
>
>  
>
> Here you can find their github page : 
> https://github.com/grpc-ecosystem/grpc-gateway
>
>  
>
>  
>
>  
>
> Thank you for considering my request. I look forward to hear from you.
>
>  
>
>  
>
> Sincerely,
>
>  
>
> David CHANE YOCK NAM,
>
> david...@ioconnect.re 
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/a2ec117e-6520-4a97-a8a0-60ec7612362fn%40googlegroups.com.