[HUE-6243] Fix Hue Load Balancer SSL Handshake error

Review Request #10290 — Created April 25, 2017 and submitted

ranade
hue
master
HUE-6243
hue
enricoberti, jennykim, johan, krish, ranade, romain, subrata, weixia
commit 309e75dbb611cfac73f11161ad5cd5ba09a18fdc
Author: Prakash Ranade <ranade@cloudera.com>
Date:   Tue Apr 25 16:25:07 2017 -0700

    [HUE-6243] Fix Hue Load Balancer SSL Handshake error
    
    Customers that use httpd 2.4 version as a load balancer, with SSL protocol between LB and multiple Hue servers, will encounter the SSL handshake issue during handshake between LB & Hue. The issue can be resolved with CM and this Hue side change.
    
    Testing Done:
    - Tested on CDEP Cluster
    - Checked Hue works out of box
    - Checked Host Name gets logged in

:100644 100644 11240c4... 4bb6748... M	desktop/conf.dist/hue.ini
:100644 100644 11b53b5... 39ce47c... M	desktop/conf/pseudo-distributed.ini.tmpl
:100644 100644 afec24f... 7d375e7... M	desktop/core/src/desktop/conf.py

tested on https://ranade-secure-512-1.vpc.cloudera.com:8889

https://review.infra.cloudera.com/r/75324

  • 0
  • 0
  • 2
  • 0
  • 2
Description From Last Updated
romain
ranade
romain
  1. 
      
  2. desktop/core/src/desktop/conf.py (Diff revision 2)
     
     

    "This should only be enabled if a proxy which sets this header is in use."

    https://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-USE_X_FORWARDED_HOST

    Should we dynamic_default enable it only when we have some load balancer setup?

  3. 
      
ranade
romain
  1. Ship It!
  2. 
      
ranade
Review request changed

Status: Closed (submitted)

Loading...