spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (Jira)" <>
Subject [jira] [Assigned] (SPARK-27996) Spark UI redirect will be failed behind the https reverse proxy
Date Fri, 01 May 2020 16:50:02 GMT


Apache Spark reassigned SPARK-27996:

    Assignee: Apache Spark

> Spark UI redirect will be failed behind the https reverse proxy
> ---------------------------------------------------------------
>                 Key: SPARK-27996
>                 URL:
>             Project: Spark
>          Issue Type: Bug
>          Components: Web UI
>    Affects Versions: 2.4.3
>            Reporter: Saisai Shao
>            Assignee: Apache Spark
>            Priority: Minor
> When Spark live/history UI is proxied behind the reverse proxy, the redirect will return
wrong scheme, for example:
> If reverse proxy is SSL enabled, so the client to reverse proxy is a HTTPS request, whereas
if Spark's UI is not SSL enabled, then the request from reverse proxy to Spark UI is a HTTP
request, Spark itself treats all the requests as HTTP requests, so the redirect URL is just
started with "http", which will be failed to redirect from client. 
> Actually for most of the reverse proxy, the proxy will add an additional header "X-Forwarded-Proto"
to tell the backend server that the client request is a https request, so Spark should leverage
this header to return the correct URL.

This message was sent by Atlassian Jira

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message