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

Authentication failed #55

Open
B4B4Y4G4-007 opened this issue Dec 2, 2024 · 1 comment
Open

Authentication failed #55

B4B4Y4G4-007 opened this issue Dec 2, 2024 · 1 comment

Comments

@B4B4Y4G4-007
Copy link

B4B4Y4G4-007 commented Dec 2, 2024

Issue: DDNS Authentication Failed with Cloudflare Integration
Hi,

I may be missing something, but I followed the instructions and ran them multiple times. However, I keep encountering the same error. I suspect the firewall might be blocking the connection, but I haven’t found anything in the logs to confirm this. Plus, the error message indicates "auth failed," which suggests a different issue.

Here’s what I’ve done so far:

-Verified the API Token
I tested the API token using the Cloudflare verification endpoint, and it returned the following:


{
    "result": {
        "id": "xxx",
        "status": "active"
    },
    "success": true,
    "errors": [],
    "messages": [
        {
            "code": 10000,
            "message": "This API Token is valid and active",
            "type": null
        }
    ]
}

So, the token appears to be valid and active.

-Error Log from the NAS

SYSTEM: System failed to register [xxx.xxx.xxx.xxx] to [hostname] in DDNS server [Cloudflare] because of [Authentication failed].

Additionally, I don’t see any access attempts or failures in the audit logs on Cloudflare.

-API Token Permissions

Zone Settings: Read
Zone: Read
DNS: Edit

The target A record exists, is proxied, and the IP address has been verified to be correct.

  • NAS DDNS Configuration

Service Provider: Cloudflare
Hostname: nas.domain.com (even though it’s stated this field isn’t used)
Username/Email: nas.domain.com
Password/Key: API Key (copied and pasted to avoid typos)
External Address: Auto (Public IP)

I’m out of ideas about what could be causing this issue. Can anyone spot something I might have missed?

Thanks!

@B4B4Y4G4-007
Copy link
Author

I tried turning off the proxy but still getting the same error

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

1 participant