Skip to content
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

Error sending 'GET' request #196

Open
Vattar opened this issue Sep 14, 2024 · 1 comment
Open

Error sending 'GET' request #196

Vattar opened this issue Sep 14, 2024 · 1 comment

Comments

@Vattar
Copy link

Vattar commented Sep 14, 2024

Hello everyone!!

I’ve been facing some issues with the container for a few weeks now, and I can’t seem to resolve them! I hope someone can give me some guidance on what I might be doing wrong.

🕰️ Updating IPv4 (A) & IPv6 (AAAA) records every 300 seconds
😡 Error sending 'GET' request to 'https://api.cloudflare.com/client/v4/zones/':
{"success":false,"errors":[{"code":500,"message":"An unknown API error occurred."}],"messages":[],"result":null}
😡 Error sending 'GET' request to 'https://api.cloudflare.com/client/v4/zones/
':
{"success":false,"errors":[{"code":500,"message":"An unknown API error occurred."}],"messages":[],"result":null}
🧩 IPv6 not detected via 1.1.1.1, trying 1.0.0.1
🧩 IPv6 not detected via 1.0.0.1. Verify your ISP or DNS provider isn't blocking Cloudflare's IPs.
😡 Error sending 'GET' request to 'https://api.cloudflare.com/client/v4/zones/*******************************':
{"success":false,"errors":[{"code":500,"message":"An unknown API error occurred."}],"messages":[],"result":null}

From time to time, these error messages appear in the log. The container is installed on Unraid in host network mode, with access to both IPv4/6 and normally reaching Cloudflare's DNS addresses.

I am using the Cloudflare API Token with the following settings:

Permissions: ZONE > DNS > EDIT
Zone Resources: ALL ZONES

-> config.json (The file format is set up to monitor and update two different domain names)

{
  "cloudflare": [
    {
      "authentication": {
        "api_token": "*********************************"
      },
      "zone_id": "********************",
      "subdomains": [
        {
          "name": "",
          "proxied": true
        }
      ]
    },
    {
      "authentication": {
        "api_token": "**********************************"
      },
      "zone_id": "**********************", 
      "subdomains": [
        {
          "name": "",
          "proxied": true
        }
      ]
    }
  ],
  "a": true,
  "aaaa": true,
  "purgeUnknownRecords": false,
  "ttl": 300
}
@lukeallister
Copy link

Same here. It just started erroring for me, saying

cloudflare-ddns  | 🧩 IPv4 not detected via 1.1.1.1, trying 1.0.0.1
cloudflare-ddns  | 🧩 IPv4 not detected via 1.0.0.1. Verify your ISP or DNS provider isn't blocking Cloudflare's IPs.
cloudflare-ddns  | 😡 Error sending 'GET' request to 'https://api.cloudflare.com/client/v4/zones

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants