Support Questions

Find answers, ask questions, and share your expertise

Grafana quick link UI is giving ERR_SSL_PROTOCOL_ERROR error.

avatar
Rising Star

when i click on grafana UI then it will take me to the a different page and there its giving

This site can’t provide a secure connection

<hostname> sent an invalid response.

ERR_SSL_PROTOCOL_ERROR

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Yukti Agrawal

Can you please try the following to see if it fixes your issue?

1. Edit /etc/ambari-server/conf/ambari.properties to set the empty values:

http.strict-transport-security=
views.http.strict-transport-security=

2. Restart ambari server

ambari-server restart

3. Clear the browsers cache (or for testing open the browser in "Incognito mode") then access the grafana UI. Please have a look at the HSTS setting of browsers : http://classically.me/blogs/how-clear-hsts-settings-major-browsers

.

View solution in original post

15 REPLIES 15

avatar
Rising Star

I have one more cluster and there grafana is working fine.

I thing i observe there is:

https://<hostname>:8443 --- my ambari address

And when i click on Grafana UI link its:

http://<hostname>:3000

so the difference here is grafana is going to http here not on https.

can you tell me how can we resolve this?

avatar
Master Mentor

@Yukti Agrawal

Can you please try the following to see if it fixes your issue?

1. Edit /etc/ambari-server/conf/ambari.properties to set the empty values:

http.strict-transport-security=
views.http.strict-transport-security=

2. Restart ambari server

ambari-server restart

3. Clear the browsers cache (or for testing open the browser in "Incognito mode") then access the grafana UI. Please have a look at the HSTS setting of browsers : http://classically.me/blogs/how-clear-hsts-settings-major-browsers

.

avatar

@Yukti Agrawal

That could be some thing to do with your cert/privatekey, recently I have written an article on this. can you please check this?

https://community.hortonworks.com/articles/85365/enable-ssl-for-grafana.html

avatar
New Member

There are many reasons for not connecting with the server or any website and you are getting this issue “ERR_SSL_PROTOCOL_ERROR” error but you can fix it with this guide. https://www.clickssl.net/blog/fix-err_ssl_protocol_error-for-google-chrome

avatar
Explorer

Glad to see that you've found the solution. If you ever come across the same error in the future and this same set of steps doesn't work, you can refer to this guide. - https://certera.com/blog/how-to-fix-err-ssl-protocol-error-in-chrome/ 

The reason I am leaving this here is that that's a pretty common SSL error; there are total of 10-12 checklists one need to go through if until one of it works.

avatar
New Member

I’ve run into this error before too. It usually comes down to SSL misconfiguartion or browser settings. This checklist helped me fix it: https://cheapsslweb.com/blog/fix-neterr-ssl-protocol-error-in-google-chrome/., worth a try if the usual steps don’t work. Hope it helps!