WebThingsIO / registration_server

The registration server for WebThings Gateway.
Mozilla Public License 2.0
79 stars 33 forks source link

Error issuing certificate #83

Closed benfrancis closed 5 years ago

benfrancis commented 5 years ago

STR:

Expected:

Actual:

Error issuing certificate - FetchError: request to https://api.mozilla-iot.org:8443/subscribe?name=tola2&email=ben@tola.me.uk failed, reason: getaddrinfo EAI_AGAIN api.mozilla-iot.org:8443

Is this maybe a DNS problem?

See also: #20

mrstegeman commented 5 years ago

That indicates a DNS issue. Try:

dig api.mozilla-iot.org

benfrancis commented 5 years ago

That seems to resolve, but I've now completed first time setup.

I'm wondering whether it just hadn't managed to get an outbound connection to the Internet from my router via Ethernet for some reason. I'll try first time setup again later.

benfrancis commented 5 years ago

I went through first time setup again and it worked. I'm pretty certain this was a user error on my part, I don't think the gateway had an outbound connection to the Internet because of the way my network was configured. My bad!

I'll close this issue, all we can really do in this situation is provide an informative error message! I've filed https://github.com/mozilla-iot/gateway/issues/1936