You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prometheus will try to scrape the endpoint with a request containing HTTP header Host: example.com:443. Apparently, Go net library is not able to deal with this and returns 404. I am not very familiar with Go, but it looks like it has been discussed here golang/go#10463
I put my exporter behind a Nginx proxy for now and it's working, but I would like to use it directly in the future.
The text was updated successfully, but these errors were encountered:
When I configure my target to scrape as this:
Prometheus will try to scrape the endpoint with a request containing HTTP header
Host: example.com:443
. Apparently, Gonet
library is not able to deal with this and returns 404. I am not very familiar with Go, but it looks like it has been discussed here golang/go#10463I put my exporter behind a Nginx proxy for now and it's working, but I would like to use it directly in the future.
The text was updated successfully, but these errors were encountered: