New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PlatformIO thinks there is no internet connection #4526
Comments
Could you debug https://github.com/platformio/platformio-core/blob/develop/platformio/http.py#L183 ? platformio-core/platformio/__init__.py Line 56 in 6db3eb8
|
|
Using |
import socket
socket.setdefaulttimeout(2)
hosts = [
"github.com",
"185.199.110.153", # Github.com
"88.198.170.159", # platformio.org
"registry.platformio.org",
"registry.nm1.platformio.org",
]
for host in hosts:
print(host)
s = socket.create_connection((host, 80))
s.close() Output:
|
Okay, via celullar it works. It seems that my ISP is blocking the platformio.org IP... |
Could you contact your ISP? What is the reason that they blocked PlatformIO? |
As I said, It seems they blocked it. |
What kind of issue is this?
If you’ve found a bug, please provide an information below.
Configuration
Operating system:
PlatformIO Version (
platformio --version
):PlatformIO Core, version 6.1.4
Description of problem
PlatformIO thinks I don't have internet.
Steps to Reproduce
Actual Results
Expected Results
It gets the toolchain and successfully builds and uploads it.
If problems with PlatformIO Build System:
The content of
platformio.ini
:Source file to reproduce issue:
See https://github.com/rancilio-pid/clevercoffee
Additional info
The text was updated successfully, but these errors were encountered: