mozilla / observatory-cli

Mozilla Public License 2.0
187 stars 24 forks source link

Invalid hostname when running container #32

Open tmaier opened 6 years ago

tmaier commented 6 years ago

I get the following error message, no matter which host name I am using

$ docker container run --rm mozilla/observatory-cli http://example.com                                                                                                                                
observatory [ERROR] Unable to get result. Host:http://example.com Error:invalid-hostname.
tmaier commented 6 years ago

The issue seems to be the protocol http://

Consider to just handle this case or to give a meaningful error message

kurtnico commented 1 year ago

The issue seems to be the protocol http://

Consider to just handle this case or to give a meaningful error message

How did you solve that? I faced same issue when running with http or https and www or without www.