- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Grafana quick link UI is giving ERR_SSL_PROTOCOL_ERROR error.
- Labels:
-
Apache Ambari
Created 02-22-2017 12:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Created 02-27-2017 04:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
.
Created 02-22-2017 12:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- By any chance have you added "https" instead of "http" in your "Advanced ams-grafana-ini" for the "protocol" field?
Created 02-22-2017 12:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[server]
# Protocol (http or https)
;protocol = http
protocol = http
# The ip address to bind to, empty will bind to all interfaces
;http_addr =
# The http port to use
;http_port = 3000 http_port = 3000
# The public facing domain name used to access grafana from a browser
;domain = localhost
Created 02-22-2017 01:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you facing this issue with some specific browser like "Google Chrome" ? Or have you tried with other browsers as well? Sometimes this kind of issue might happen due to browser setting as well like:
http://stackoverflow.com/questions/25277457/google-chrome-redirecting-localhost-to-https
Created 02-22-2017 02:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It will be great if you can share the output of the following command :
# cd /var/log/ambari-metrics-grafana # grep 'Listen' grafana.log 2017/02/22 12:34:04 [I] Listen: http://0.0.0.0:3000 # grep 'Listen' grafana.out 2017/02/22 14:09:44 [I] Listen: http://0.0.0.0:3000
Created 02-22-2017 02:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
$ grep 'Listen' grafana.log
2017/02/22 07:14:40 [I] Listen: http://0.0.0.0:3000
2017/02/22 09:29:05 [I] Listen: http://0.0.0.0:3000
2017/02/22 09:31:09 [I] Listen: http://0.0.0.0:3000
$ grep 'Listen' grafana.out
2017/02/22 09:31:09 [I] Listen: http://0.0.0.0:3000
Created 02-22-2017 12:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
one thing i want to clear here is:
https://<localhost>:8443 --- my ambari address
And when i click on Grafana UI link its:
Created 02-22-2017 01:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created 02-22-2017 01:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Its 2.2.2.3
Created 02-22-2017 12:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I will check why is it happening .. at my lab with similar setup.
In the mean time as a quick workaround you might want to setup HTTPs for Grafana which is quite easy.