tiredofit / docker-traefik-cloudflare-companion

Automatically Create CNAME records for containers served by Traefik
MIT License
378 stars 64 forks source link

9022, TTL must be a number, not a string. #108

Open rezytijo opened 1 month ago

rezytijo commented 1 month ago

I got this error in version 7.3.1 and most crucially, I didn't get the DNS Record update in Cloudflare, for version 7.2.4 it is work well

2024-08-15T09:39:30+0700 ERROR 200 | ** sub1.example.com - 9022 TTL must be a number, not a string.
2024-08-15T09:39:31+0700 ERROR 200 | ** sub2.example.com - 9022 TTL must be a number, not a string.
2024-08-15T09:39:33+0700 ERROR 200 | ** sub3.example.com - 9022 TTL must be a number, not a string.
2024-08-15T09:39:34+0700 ERROR 200 | ** sub4.example.com - 9022 TTL must be a number, not a string.

For the ENV congfig I changed only this part

- DOMAIN1_PROXIED=TRUE
- REFRESH_ENTRIES=TRUE
- RC_TYPE=A
- DEFAULT_TTL=1
mikoskinen commented 1 week ago

Same issue here. Thanks @rezytijo for mentioning that 7.2.4 works.