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

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

                Author: ASF GitHub Bot
            Created on: 14/Sep/20 14:52
            Start Date: 14/Sep/20 14:52
    Worklog Time Spent: 10m 
      Work Description: moresandeep opened a new pull request #374:
URL: https://github.com/apache/knox/pull/374


   ## What changes were proposed in this pull request?
   Fix proper handling of [Host 
header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Host) when 
websocket requests are proxied through Knox. Currently the host header contains 
knox hostname instead of the websocket backend host name (this is during the 
http upgrade part of WS request). This PR fixes this issue.
   
   ## How was this patch tested?
   This patch was tested on a local cluster
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


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

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

> Zeppelinws fails with error 'Host does not match SNI'
> -----------------------------------------------------
>
>                 Key: KNOX-2453
>                 URL: https://issues.apache.org/jira/browse/KNOX-2453
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: websockets
>            Reporter: Sandeep More
>            Assignee: Sandeep More
>            Priority: Major
>             Fix For: 1.5.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Knox will fail to proxy ZeppelinWS service when zeppelin is SSL configured 
> and has multiple SAN entries in its certificate.
> Issue is due to zeppelin trying to validate SNI against the request header 
> received from Knox, which has 'Host: ' header with knox/proxy host. 
> {code}
> org.eclipse.jetty.http.BadMessageException: 400: Host does not match SNI
>         at 
> org.eclipse.jetty.server.SecureRequestCustomizer.customize(SecureRequestCustomizer.java:278)
>         at 
> org.eclipse.jetty.server.SecureRequestCustomizer.customize(SecureRequestCustomizer.java:207)
>         at 
> org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:379)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to