esphome / esphome-core

🚨 No longer used 🚨 - The C++ framework behind ESPHome
https://esphome.io/
GNU General Public License v3.0
545 stars 113 forks source link

Can't compile and can't load up #407

Closed flemming-petersen closed 5 years ago

flemming-petersen commented 5 years ago

I have completle fresh installed my home assistant and esphomelib. Now I want to compile the binarys for my node. I have running an Raspberry pi 3 with the 32-bit version of hass.io.

This is the config of my node

esphomeyaml: name: test platform: ESP8266 board: d1_mini wifi: ssid: 'txxxxxx' password: 'xxxxxxxxxxxx' api: password: 'xxxxx' logger: ota: password: 'xxxxx'

And this is the error that is be thrown:

[API] ConnectionError: HTTPConnectionPool(host='api.platformio.org', port=80): Max retries exceeded with url: /v2/lib/search?query=name%3A%22ESP8266WiFi%22 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7573bdd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)) (incremented retry: max=5, total=1)

OttoWinter commented 5 years ago

What version of HassOS is this? I think there was an issue with older versions of HassOS that had a broken resolv.conf for docker.

Could you check the HassOS version, and update to the latest one if there's an update available?

flemming-petersen commented 5 years ago

HassOS 1.13

flemming-petersen commented 5 years ago

I solved the problem. I was running AdGuard on the home assitant pi. And when I set the primary DNS server in my router to any other Dns server it will work.

But thank you very much for the quick response!