Re: [grpc-io] gRPC endpoint behind reverse proxy - non root path

2022-08-05 Thread Iootu Iootu
Thanks for coming back to me in such a short time.

Very much appreciated.

A quinta-feira, 4 de agosto de 2022 à(s) 18:05:18 UTC+1, 
sanjay...@google.com escreveu:

> > ...So the question is, is this still not possible to be done?
>
> Correct.
>
> You can use the gRPC service name(s) and enumerate those service names in 
> the reverse proxy to route gRPC traffic accordingly.
>
> Alternatively your gRPC clients can use a different hostname (but the 
> traffic arrives at the same reverse proxy) and the reverse proxy can route 
> traffic based on the hostname.
>
> On Thu, Aug 4, 2022 at 3:26 AM Iootu Iootu  wrote:
>
>> I’m currently developing a simple gRPC mock server that listens on the 
>> same port for both HTTP requests and gRPC (HTTP/2). The solution is not 
>> configured with TLS and is very similar to the one here 
>> .
>>
>> This for local environment, works perfectly (for both the HTTP server and 
>> gRPC server). They are both accessible through localhost:8080. However, for 
>> productive environments we are using a reverse proxy approach, using 
>> HAProxy, and the service is then accessible via a non root path.
>>
>> Which to me, it seems very similar to this post 
>> . So the 
>> question is, is this still not possible to be done?
>>
>> Is routing traffic via subdomains still the only possible solution?
>>
>> Thanks.
>>
>> -- 
>> 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+u...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/grpc-io/3c13dcf9-3a1a-41f0-8bcc-2730061f7f88n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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/e1c96f78-4feb-426c-ae85-36ec33814995n%40googlegroups.com.


[grpc-io] Re: grpc stops forward progress if DNS resolve has 0 addresses

2022-08-05 Thread 'AJ Heller' via grpc.io
That's mysterious, do you know what the state of the DNS records are when 
this occurs? And would it be possible for you to upgrade your gRPC library 
and try to reproduce this? v1.36.4 is over a year old, and a fair handful 
of bug fixes have gone in since then.

We've been unable to reproduce this failure in testing, and would 
> appreciate any pointers:
>

Regarding that, are you able to reproduce the conditions in which the 
failure occurs, or are they maybe not fully understood? e.g., run a local 
DNS server for testing, and modify its records.
 

>
>- what is supposed to re-kick a new DNS resolve if the server list is 
>empty?
>- where to check in the resolver code for an empty server list?
>- or any other ideas for how to track down the problem
>
>
> We're using grpc v1.36.4 w/ libcares2 1.14
>
> Regards,
> Peter Hurley
>

-- 
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/306779dd-0a68-4b95-851e-0a5979a4e872n%40googlegroups.com.