Welcome to the Cloudera Community

Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Who agreed with this topic

HUE Load Balancer warning banner

avatar
Contributor

Hi.

 

We have configured HUE Load Balancer with cloudera manager.
And we also have an additional iptables NAT rule that forward 443 -> HUE Load Balancer port for a user friendly experience.

 

We run HUE LB on port tcp/7180.

iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 7180

 

End users access HUE with a CNAME in the browser, let’s stay https://internal-hue.company.net.
The actual HUE instance is on AWS and we have a VPN from our internal network so the server is using the standard VPC hostname ip-X-X-X-X.<aws region>.compute.internal.

 

We now get the following warning banner from HUE saying that we are accessing non-optimized hue, even if we are going through the HUE LB.

 

"You are accessing a non-optimized Hue, please switch to one of the available addresses: https://ip-X-X-X-X.<region>..compute.internal:7180"

 

Has anyone seen this problem before when using CNAMES instead of hostname with HUE LB?

Who agreed with this topic