[ https://issues.apache.org/jira/browse/KNOX-3013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17823934#comment-17823934 ]
ASF subversion and git services commented on KNOX-3013: ------------------------------------------------------- Commit 5088d423a512b7bd98411e4b02071e3afc827802 in knox's branch refs/heads/master from K0K0V0K [ https://gitbox.apache.org/repos/asf?p=knox.git;h=5088d423a ] KNOX-3013 - Knox redirecting Yarn Node Manager URLs to http instead of https (#874) - YARNUI/yarn/outbound/node3 rule rewrites the https schemes to http - To fix the issue we skip this rule in case if the schema is https > 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 > Priority: Major > Time Spent: 1h 10m > Remaining Estimate: 0h > > 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)