Hi,I was successfully able to load Namenode UI through Knox (i.e
http://<KNOX_HOST>:8445/gateway/sandbox/hdfs)
However, when I tried to proxy the Knox service from another frontend service
due to firewall, it could not load the namenode UI. Looks like the cause was
the js and css files could not be download by browser. A typical error message
looks like this: "[Error] Failed to load resource: The request timed out.
(https://<EXTERNAL_HOST>:8445/gateway/sandbox/hdfs/static/jquery-1.10.2.min.jsjquery-1.10.2.min.js,"
When further investigation revealed it was the port issue. For example, my KNOX
port was 8445 whereas my proxy service was running on host EXTERNAL_HOST with
default port. I believe the port was 80 and NOT 8445. For some reason, Knox was
creating the file download path with port 8445 which was knox port not the
proxy port.For testing purpose, I tried to manually download the file without
any port and it was working fine.
Now, I believe it is related to rewrite approach. Also I think it is a Bug. Is
this already resolved? If not, any pointer to look to provide a patch?
Regards,Mohammad