timothymiller / cloudflare-ddns

🎉🌩️ Dynamic DNS (DDNS) service based on Cloudflare! Access your home network remotely via a custom domain name without a static IP!
https://timknowsbest.com/free-dynamic-dns
GNU General Public License v3.0
3.09k stars 322 forks source link

Failed to establish a new connection: [Errno 101] Network is unreachable #189

Open LoneWalkerWolf opened 6 months ago

LoneWalkerWolf commented 6 months ago

Describe the bug Whenever I run the ./start-sync.sh command, I get the below error.

HTTPSConnectionPool(host='api6.ipify.org', port=443): Max retries exceeded with url: /?format=json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7473106160>: Failed to establish a new connection: [Errno 101] Network is unreachable'))

To Reproduce

  1. Go to directory.
  2. Run ./start-sync.sh
  3. See error.

Expected behavior It connects and gets my IPV4 and IPV6 address?

Desktop (please complete the following information):