rdhabalia removed a comment on issue #8056:
URL: https://github.com/apache/pulsar/issues/8056#issuecomment-692264867


   @racorn 
   > As the resolved hostname is only used as the value of the SNI header 
field, and not for the TCP-connection (the client connects to the host given in 
ProxyUrl), I wonder if it should be required that the 'internal hosts' must be 
resolvable to the client?
   
   In SNI-reverse-Proxy, pulsar-client always connects to the proxy-host and 
passes the pulsar-url as part of SNI header without trying to resolve pulsar 
broker hosts. Proxy-host which supports SNI-routing , gets the target 
broker-service-url from SNI and creates proxy between pulsar-client and 
pulsar-server. Therefore, Pulsar client can only resolve proxy host and client 
can't resolve any broker hosts. so, pulsar-client does not try to resolve 
broker-host and passes it to proxy in SNI header without resolving the address.
   
   
   Can you share the stacktrace for your issue? Pulsar client only tries to 
resolve proxy host so, can you check if you can resolve porxy-host from the 
client?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to