navilg / godaddy-ddns

Dynamic DNS with GoDaddy
https://medium.com/linux-shots
MIT License
53 stars 14 forks source link

Error while Sync after 24h of running more than one container #20

Open bdewoop opened 2 years ago

bdewoop commented 2 years ago

I have the following error after nearly 12-24h of running the Dockercontainers. I've configured and running 4 containers with default options like you've described it. I've used the same API key 4 times with different domains. For the first few hours everything was working perfectly and without any problems but after 12h the problems started with the following logentrys:

ERROR 2022/04/11 22:47:51 DOMAIN Failed to update record. Error: One or more of the given records is invalid, StatusCode: 422
Configuration already exist. Syncing the record

I've stopped the containers now and tried to update the domains with another script and that was working well so its not the API limit or a problem with the key/secret.

My machine is a debian 10 with a fresh dockerinstallation. No other containers or something else is running on the machine.

Hope you can help =)

navilg commented 2 years ago

StatusCode: 422 is returned by Godaddy when domain used is invalid. Could you help me with below details. Exec inside the container. Read the file content of file .config/godaddy-ddns/config.json and paste it here.

If you don't want to make domain name public, please omit that before pasting and send those on my email.

Also paste the few lines before error message from the log.

bdewoop commented 2 years ago

Thanks for the quick answer, i will send it to you via mail.

bdewoop commented 2 years ago

Ah! ive used ttl:600 instead of 1200...