cloudflare-ddns
cloudflare-ddns copied to clipboard
Exception error
Describe the bug An exception occurred while sending 'GET' request to 'zones/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX': HTTPSConnectionPool(host='api.cloudflare.com', port=443): Max retries exceeded with url: /client/v4/zones/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f2db1493e30>: Failed to resolve 'api.cloudflare.com' ([Errno -3] Try again)")) To Reproduce I don't know how to reproduce the issue. It occurs ramdonly, each time to time and, when it occurs, only stopping then starting the docker again solves the issue Expected behavior When a exception is received the process will start normal after the exception Screenshots
Desktop (please complete the following information):
- OS: Ubuntu Desktop 22.04-3LTS
- Browser Firefox
- Version: Not sure. I've downloaded the docker image today (Oct 20 2023)
I was also getting this error, but always. I fixed it by removing "network_mode: host" and adding "dns: 1.1.1.1" hope this helps
Thanks, I will try it. For now, I ve tried to set my custom DNS Pi-Hole address at the DNS field instead of use "1.1.1.1" and a exception is received:
An exception occurred while sending 'GET' request to 'zones/XXXXXXXXXXXXXXXX': HTTPSConnectionPool(host='api.cloudflare.com', port=443): Max retries exceeded with url: /client/v4/zones/XXXXXXXXXXXXXXX (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7ffb1962d3a0>: Failed to resolve 'api.cloudflare.com' ([Errno -3] Try again)"))
Any update on this? I am also seeing the same error as @robertoprubio
An exception occurred while sending 'GET' request to 'zones/xxxxxxxxxxxxxxxxxxxxx': HTTPSConnectionPool(host='api.cloudflare.com', port=443): Read timed out. (read timeout=None)
i have the same issue. Any idea how to solve it ? It shows up randomly.
Similar error here as well; Ubuntu 22.04, K3s v1.28.7+k3s1
2024-04-25T16:14:07.824463874-07:00 😡 An exception occurred while sending 'GET' request to 'zones/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX': HTTPSConnectionPool(host='api.cloudflare.com', port=443): Max retries exceeded with url: /client/v4/zones/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX(Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7fbaa004f860>: Failed to resolve 'api.cloudflare.com' ([Errno -5] Name has no usable address)"))
However, I can exec into the Pod and manually NSLOOKUP for api.cloudflare.com and it resolves.