issues
search
PyPSA
/
pypsa-eur
PyPSA-Eur: A Sector-Coupled Open Optimisation Model of the European Energy System
https://pypsa-eur.readthedocs.io/
326
stars
227
forks
source link
fix: connection check failing
#1280
Closed
lkstrp
closed
2 weeks ago
lkstrp
commented
2 weeks ago
Changes proposed in this Pull Request
fixes bug where
retrieve.enable: auto
reported no internet connection, even if connection was available (z1)
I think low level
http
doesn't handle proxies or port 53 is blocked for dns
use
requests
instead which is more robust
Checklist
[x] I tested my contribution locally and it seems to work fine.
Changes proposed in this Pull Request
retrieve.enable: auto
reported no internet connection, even if connection was available (z1)http
doesn't handle proxies or port 53 is blocked for dnsrequests
instead which is more robustChecklist