ddns-updater
ddns-updater copied to clipboard
Cloudflare `key "" does not match regex "^[a-zA-Z0-9]+$"`
TLDR: Describe your issue in a one liner here
-
Is this urgent: Yes
-
DNS provider(s) you use: N/A
-
Program version: ae4ab39
-
What are you using to run the container: Docker, through Unraid Community Apps.
-
Extra information (optional)
Logs:
========================================
========================================
============= ddns-updater =============
========================================
=========== Made with ❤️ by ============
======= https://github.com/qdm12 =======
========================================
========================================
Running version latest built on 2024-04-29T14:30:33.184Z (commit ae4ab39)
🔧 Need help? https://github.com/qdm12/ddns-updater/discussions/new
🐛 Bug? https://github.com/qdm12/ddns-updater/issues/new
✨ New feature? https://github.com/qdm12/ddns-updater/issues/new
☕ Discussion? https://github.com/qdm12/ddns-updater/discussions/new
💻 Email? [email protected]
💰 Help me? https://www.paypal.me/qmcgaw https://github.com/sponsors/qdm12
2024-04-30T01:08:19-07:00 ERROR key is not valid: key "" does not match regex "^[a-zA-Z0-9]+$"
Configuration file (remove your credentials!):
N/A
Host OS: Unraid 6.12.6
This was running correctly on the previous commit of this. My config file hasn't changed since August 2023.
For now I'm going to pin the version I am hosting to v2,6
instead of latest
.
Please share your config, are you using the email field? If so you must set the key field as well. That was previously a bug (AFAIK) not validating the key field (fixed from #702)
Sorry for the delay
{
"settings": [
{
"provider": "cloudflare",
"zone_identifier": "abc123",
"domain": "abc123",
"host": "@",
"ttl": 600,
"email": "[email protected]",
"token": "abc123",
"proxied": true
}
]
}
I have the inner part copied 17 times. I have even rebuilt my config file and it still doesn't work on master.
It has been running just fine locked on v2.6 since my previous message last week. So it must be some change between release v2.6 and master branch.
Remove the email key. As per the documentation docs/Cloudflare.md if you set an email, you're also expected to set a key. There is no need to set an email for the other authentication methods.