Sunday, February 4, 2018

Fix "you are accessing a non-optimized Hue" message with Proxy/LB setup

Experienced warning message during accessing Hue Load Balancer service via Nginx proxy:
You are accessing a non-optimized Hue, please switch to one of the available addresses: http://cdh-vm.dbaglobe.com:8889

How to fix:
Hue -> Configuration -> Hue Service Advanced Configuration Snippet (Safety Valve) for hue_safety_valve.ini      
      
[desktop]
hue_load_balancer=http://192.168.31.5:8889,http://cdh-vm.dbaglobe.com:8889