Service Address from Context

39 views
Skip to first unread message

Robert Hardisty

unread,
Jul 17, 2023, 4:27:41 PM7/17/23
to Protocol Buffers
Hi all,

For security purposes, we are needing to know the initial service URL the client sent (e.g. https://my-grpc-server-external.com/some-method). We plan to have an internal and external load balancer with different DNS, and need a way extract that on the server side. I thought the context object in the server's method would have it, but unable to find it. I also thought the grpc.AuthMetadataContext might have it, but that looks like a client-side property.

Any help is appreciated.

Best,
Bob

Samuel Benzaquen

unread,
Jul 17, 2023, 5:32:49 PM7/17/23
to Robert Hardisty, Protocol Buffers
Hi, it seems you are looking for help with gRPC.
prot...@googlegroups.com is a group for Protocol Buffers specifically and gRPC is out of scope.
The mailing list for gRPC is grp...@googlegroups.com
Good luck!

--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/e11705b5-a9eb-4e26-b1fd-fd369c93c1cen%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages