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 upError: "ERRO[0000] Invalid Prometheus URL" - URL actually valid #1471
Comments
This comment has been minimized.
This comment has been minimized.
|
Hostnames are case insensitive. What is the requirement to set |
This comment has been minimized.
This comment has been minimized.
|
juRiii-NB is my hostname. so the behavior is expected? |
This comment has been minimized.
This comment has been minimized.
|
No, but it seems to be an edge case. I think your problem is already reported in govalidator in asaskevich/govalidator#117. I'd suggest to let them know that this affects you as well and lowercase your hostname until then. Something like |
grobie
added
the
bug
label
Mar 8, 2016
beorn7
added
the
duplicate
label
Mar 8, 2016
This comment has been minimized.
This comment has been minimized.
|
I'll declare this a dup of asaskevich/govalidator#117 then. Thanks for reporting and investigating. |
beorn7
closed this
Mar 9, 2016
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 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. |
jurij commentedMar 8, 2016
Hi,
I have problems starting a fresh downloaded binary of prometheus.
I think there is an Issue with
govalidator.IsURL(cfg.prometheusURL). Which is returningfalseon a valid URLhttp://juRiii-NB:9090/. For now, Im starting prometheus with./prometheus -web.external-url=localhost:9090. See below.