[ 
https://issues.apache.org/jira/browse/KNOX-3013?focusedWorklogId=908006&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-908006
 ]

ASF GitHub Bot logged work on KNOX-3013:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 04/Mar/24 08:23
            Start Date: 04/Mar/24 08:23
    Worklog Time Spent: 10m 
      Work Description: K0K0V0K opened a new pull request, #874:
URL: https://github.com/apache/knox/pull/874

   ## What changes were proposed in this pull request?
   
   - 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
   
   ## How was this patch tested?
   
   - unit tests
   - manually deployed a cluster and verified the url stays https
   




Issue Time Tracking
-------------------

            Worklog Id:     (was: 908006)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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: 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)

Reply via email to