Warning! You are not connected to the Internet.
See original GitHub issueWhat kind of issue is this?
-
Question. This issue tracker is not the place for questions. If you want to ask how to do something, or to understand why something isn’t working the way you expect it to, use Community Forums or Premium Support
-
PlatformIO IDE. All issues related to PlatformIO IDE should be reported to appropriate repository: PlatformIO IDE for Atom or PlatformIO IDE for VSCode
-
Development Platform or Board. All issues (building, uploading, adding new boards, etc.) related to PlatformIO development platforms should be reported to appropriate repository related to your hardware https://github.com/topics/platformio-platform
-
Feature Request.
-
PlatformIO Core. 4.3.4
Configuration
Docker:
** Latest ** (platformio --version
):
4.3.4
Description of problem
YOU ARE NOT CONNECTED TO THE INTERNET
Steps to Reproduce
- Tried to compile in docker container on host machine
- Tried to compile in docker container on remote machine
- Tried to compile natively (without docker) on host machine
- Tried to ping platformio.org with no response
PING platformio.org (88.198.170.159): 56 data bytes```
5. Built container on Play with Docker with same error
6. Tried to ping from play with docker with same timeout
### Actual Results
```HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
Looking for ESPAsyncTCP-esphome library in registry
Warning! You are not connected to the Internet.
If you build a project first time, we need Internet connection to install all dependencies and toolchains.
Looking for ESPAsyncWebServer-esphome library in registry
Warning! You are not connected to the Internet.
If you build a project first time, we need Internet connection to install all dependencies and toolchains.
Warning! You are not connected to the Internet.
If you build a project first time, we need Internet connection to install all dependencies and toolchains.```
### Expected Results
Successful compilation
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
In Home Assistant ESPHome, PlatformIO is pinned to version 4.0.3, which is using hardcoded IP addresses in util.py.
This is in fact still the case in the latest develop branch of PlatformIO - see here.
I discovered this in this issue https://github.com/esphome/issues/issues/1265.
Can anyone answer why on earth hardcoded IPs are being used instead of DNS names?
I suspect it is almost certainly a server or DNS issue on their side. Naturally, it only happens when I need to compile urgently for a node failure.