Bence Kosztolnik created KNOX-3013:
--------------------------------------

             Summary: Knox redirecting Yarn Node Manager URLs to http instead 
of https
                 Key: KNOX-3013
                 URL: https://issues.apache.org/jira/browse/KNOX-3013
             Project: Apache Knox
          Issue Type: Bug
    Affects Versions: 1.3.0
            Reporter: Bence Kosztolnik


While viewing the yarn application logs on YARM RM UI via Knox, we can see that 
Knox is redirecting the NM URL to HTTP instead of HTTPS, as the YARN is running 
on TLS/SSL.

https://<knox-gateway>/gateway/cdp-proxy/yarn/nodemanager/node?scheme=http&host=some.url&port=8044

We get the below error

HTTP ERROR 500 java.io.IOException: java.io.IOException: Service connectivity 
error. URI: /gateway/cdp-proxy/yarn/nodemanager/node STATUS: 500 MESSAGE: 
java.io.IOException: java.io.IOException: Service connectivity error. SERVLET: 
cdp-proxy-knox-gateway-servlet CAUSED BY: java.io.IOException: 
java.io.IOException: Service connectivity error. CAUSED BY: 
java.io.IOException: Service connectivity error.

However when I change "scheme=https" the page loads without an issue.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to