Support Questions
Find answers, ask questions, and share your expertise

CM 5.8.1 CDH 5.8.0 Spark History WebUI redirects to SSL but no configuration

Solved Go to solution
Highlighted

CM 5.8.1 CDH 5.8.0 Spark History WebUI redirects to SSL but no configuration

Explorer

Using CM 5.8.1 and CDH 5.8.0

 

The Spark History WebUI link automatically goes to https://HOSTNAME:18088 and chrome immediately reports ERR_SSL_PROTOCOL_ERROR

 

Attempting to manually hit http://HOSTNAME:18088 automatically pushes the connection to https and reports the same error.

 

There is still no configuration for spark history server SSL.

 

Tried the configuration here: http://spark.apache.org/docs/latest/configuration.html#encryption and placing it in the advanced configuration snippet, but that just leads to a set of new errors.

 

Anyone else encounter this? It was working fine on CM/CDH 5.7.1

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: CM 5.8.1 CDH 5.8.0 Spark History WebUI redirects to SSL but no configuration

Super Guru

If you are getting directed to an https address even though you do not have TLS configured, it is likely Chrome's HSTS support that is forcing you to an HTTPS address based on the hostname.

 

In chrome, go to:

 

chrome://net-internals/#hsts

 

In Query domain, enter in your hostname or your domain.

If something is returned, enter it in the Delete domain text box and Delete.

 

Regards,

 

Ben

View solution in original post

2 REPLIES 2
Highlighted

Re: CM 5.8.1 CDH 5.8.0 Spark History WebUI redirects to SSL but no configuration

Super Guru

If you are getting directed to an https address even though you do not have TLS configured, it is likely Chrome's HSTS support that is forcing you to an HTTPS address based on the hostname.

 

In chrome, go to:

 

chrome://net-internals/#hsts

 

In Query domain, enter in your hostname or your domain.

If something is returned, enter it in the Delete domain text box and Delete.

 

Regards,

 

Ben

View solution in original post

Highlighted

Re: CM 5.8.1 CDH 5.8.0 Spark History WebUI redirects to SSL but no configuration

Explorer

Thank you. I guess I haven't visited that URL in a while so I mis-attributed it to the upgrade.