Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Hue Load-balacing File access error

Solved Go to solution
Highlighted

Hue Load-balacing File access error

Contributor

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

Accepted Solutions
Highlighted

Re: Hue Load-balacing File access error

Contributor

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
Highlighted

Re: Hue Load-balacing File access error

Contributor

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

Re: Hue Load-balacing File access error

Community Manager

Thank you for sharing the solution ben123. :)


Cy Jervis, Community Manager

Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:
Community Guidelines
How to use the forum
Don't have an account?
Coming from Hortonworks? Activate your account here