cloudflare-ddns icon indicating copy to clipboard operation
cloudflare-ddns copied to clipboard

Exception error

Open ryosoftware opened this issue 2 years ago • 5 comments
trafficstars

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)

ryosoftware avatar Oct 20 '23 09:10 ryosoftware

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

rmires avatar Nov 03 '23 14:11 rmires

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)"))

ryosoftware avatar Nov 03 '23 15:11 ryosoftware

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)

tirthpatell avatar Jan 02 '24 20:01 tirthpatell

i have the same issue. Any idea how to solve it ? It shows up randomly.

Trufax avatar Mar 31 '24 13:03 Trufax

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.

shiftoptk avatar Apr 25 '24 23:04 shiftoptk