hotio/cloudflareddns

Gettings errors

Closed this issue · 1 comments

Moved over from your old docker which it looks like you dropped the hyphen. Anyway, I'm getting errors now with the same essential setup. I only have one zone, one doman (myurl.com). Looks like it's getting the url (which I have masked). After that, I'm not sure what's going on. Seems like a formatting error in the request.

2021-01-04 13:46:58 - �(B�[m INFO - Going to sleep for [300] seconds...�(B�[m
2021-01-04 13:51:58 - �(B�[m INFO - IPv4 detected by [dig-whoami.cloudflare] is [##.##.###.##].�(B�[m
2021-01-04 13:51:58 - �(B�[m INFO - [1/1] [A] [myurl.com] [myurl.com] Reading zone list from Cloudflare.�(B�[m
2021-01-04 13:51:58 - �[31m ERROR - [1/1] [A] [myurl.com] [myurl.com] Error response:

{
"success": false,
"errors": [
{
"code": 6003,
"message": "Invalid request headers",
"error_chain": [

"code": 6103,
"message": "Invalid format for X-Auth-Key header"

]
}
],
"messages": [],
"result": null
}�(B�[m

Well I switched to using the CF_APITOKEN instead of the CF_APIKEY and that fixed it. Weird but whatever works...