Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Hue Load-balacing File access error

avatar
Rising Star

Hi.

 

I setup Hue load-balancing following instructions on 

http://www.cloudera.com/content/www/en-us/documentation/enterprise/latest/topics/cdh_hag_hue_config....

 

So i have nginx running and everything seems working fine.

However when I open a file from File Browswer (http://hueserver:8888/filebrowser/view/filepath)

the page gets redirected to http://hue/filebrowswer/view/filepath, and shows page not found error

 

i think the unexpected "hue" hostname comes from the upstream name on nginx configuration.

 

Anyone has any idea how to fix this?

 

Thanks 

Ben

1 ACCEPTED SOLUTION

avatar
Rising Star

got it fixed by adding

 

 

proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;

 

 

to location /{ }

 

other workaround is to upgrade to cloudera 5.5 (hue 3.9)

View solution in original post

2 REPLIES 2

avatar
Rising Star

got it fixed by adding

 

 

proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;

 

 

to location /{ }

 

other workaround is to upgrade to cloudera 5.5 (hue 3.9)

avatar
Community Manager

Thank you for sharing the solution ben123. 🙂


Keep the questions coming,

Cy Jervis | Senior Manager, Knowledge Programs

if (helpful) { mark_as_solution(); } | if (appreciated) { give_kudos(); }