You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Bence Kosztolnik (Jira)" <ji...@apache.org> on 2024/03/19 09:10:00 UTC
[jira] [Resolved] (KNOX-3013) Knox redirecting Yarn Node Manager URLs to http instead of https
[ https://issues.apache.org/jira/browse/KNOX-3013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bence Kosztolnik resolved KNOX-3013.
------------------------------------
Fix Version/s: 2.1.0
Resolution: Fixed
> 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
> Fix For: 2.1.0
>
> 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)