Closed orpheus1120 closed 11 months ago
Pushed a change to comment out the load balancer updating part for now.
Will revisit this later tonight.
Thanks for reporting this @orpheus1120 đđģ
I also have errors:
Traceback (most recent call last):
File "/cloudflare-ddns.py", line 306, in <module>
updateIPs(getIPs())
File "/cloudflare-ddns.py", line 244, in updateIPs
commitRecord(ip)
File "/cloudflare-ddns.py", line 124, in commitRecord
response = cf_api("zones/" + option['zone_id'], "GET", option)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/cloudflare-ddns.py", line 210, in cf_api
api_token = config['authentication']['api_token']
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
KeyError: 'api_token'
My config:
{
"cloudflare": [
{
"authentication": {
"api_key": {
"api_key": "<my_Key>",
"account_email": "<my_Mail"
}
},
"zone_id": "<my_ID>",
"subdomains": [
{
"name": "xyz"
},
{
"name": "xyz4"
},
{
"name": "xyz6"
}
]
}
],
"a": true,
"aaaa": true,
"purgeUnknownRecords": false,
"ttl": 300
}
Edit:
I had to add the 'api_token' line with an empty value and also the proxy false setting in every subdomain entry. Than it worked for me.
Describe the bug
Docker log show multiple instances of errors repeatedly as follows:
To Reproduce
Run the latest release image. Note: This is without using the load balancing option in
config.json
.Pull the docker logs via:
docker logs -f <cloudflare-ddns-container-name>
Expected behavior
There should not be any errors, except for
This release seems to update the IP successfully albeit with the above-mentioned errors.
Would also appreciate if previous releases are available to revert to.