I have the following problem with the latest Cloudera installed via Cloudera Manager.
The server on which Hue is running has two network interfaces: bond0 - internal 10G network interface to communicate with the rest of the hadoop, eno1 - external 1G interface to the outside world.
When I run the browser on the same server where Hue is running, I can connect to Hue on the internal interface:
However, when I try to connect to the external interface (with firefox running on the server itself or on another machine)
I get the error: Bad Request (400)
So far I tried setting in Safety Valve (which one should be used? there are several) via CM
as suggested in one of the posts. It did not help.
I tried to use iptables to forward 8888 port from external interface to internal one, that did not help either.
I have enabled "Bind Hue Server to Wildcard Address" but again it did not help.
Anything else? What should be whitelist set to?
I wrote a post on the following page that includes a screenshot that will help you:
See my update at 02-06-2017 04:02 PM (PST)
I want to add the following to "Hue Service Advanced Configuration Snippet (Safety Valve) for hue_safety_valve.ini"
Save that change, then restart Hue Service.