Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upGet https://ip:443/-/metrics?token=***: x509: failed to load system roots and no roots provided #3077
Comments
This comment has been minimized.
This comment has been minimized.
|
Please ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided. As the error message says, your Prometheus host system doesn't have any x509 (TLS, HTTPS) root certificates installed. |
grobie
closed this
Aug 15, 2017
This comment has been minimized.
This comment has been minimized.
|
thanks much! I add the |
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
denglitong commentedAug 15, 2017
•
edited
Here is what I get in my Prometheus's target web page:
https://10.21.20.124:443/-/metrics
token="v8T6QaGu8ykbxiuVLa6o" | DOWN | group="web" instance="10.21.20.124:443" | 2.001s ago | Get https://10.21.20.124:443/-/metrics?token=v8T6QaGu8ykbxiuVLa6o: x509: failed to load system roots and no roots provided
-- | -- | -- | -- | --
And when I visit https://10.21.20.124/-/metrics?token=v8T6QaGu8ykbxiuVLa6o I can see the metrics data, so what should I do to fix it? Wait online, thanks very much!