Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Invalid hostname when running container #32

Open
tmaier opened this issue Apr 23, 2018 · 2 comments
Open

Invalid hostname when running container #32

tmaier opened this issue Apr 23, 2018 · 2 comments

Comments

@tmaier
Copy link

tmaier commented Apr 23, 2018

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
Copy link
Author

tmaier commented Apr 23, 2018

The issue seems to be the protocol http://

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

@kurtnico
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants