Comments (6)
Do you have any reference to the changed API? We should be pinned to using the old v4 API especially with a certain version of the cloudflare python module. I'd like to investigate more.
from docker-traefik-cloudflare-companion.
To be honest, I am not completely sure where the error occurs.
The only information I found regarding this is the following post:
https://community.cloudflare.com/t/error-9022-on-my-ddns/666726
I assumed this was the same problem, as the post is from a few days ago and I am using cloudflare-companion with the default value for ttl on a fresh setup.
API Reference for creating a zone specifies that the ttl value has to be a number:
ttl
Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones.
(From https://developers.cloudflare.com/api/operations/dns-records-for-a-zone-create-dns-record)
from docker-traefik-cloudflare-companion.
I would guess/venture that changing L100 to this would fix it:
'ttl': int(os.environ.get("{}_TTL".format(k), DEFAULT_TTL)),
from docker-traefik-cloudflare-companion.
watching this eagerly. I'm getting this as well.
from docker-traefik-cloudflare-companion.
Same here as well! 9022 TTL must be a number, not a string.
from docker-traefik-cloudflare-companion.
Do you have any reference to the changed API? We should be pinned to using the old v4 API especially with a certain version of the cloudflare python module. I'd like to investigate more.
Line 181 in install/usr/sbin/cloudflare-companion
. Try changing: u'ttl': domain_info['ttl'],
to u'ttl': int(domain_info['ttl']),
from docker-traefik-cloudflare-companion.
Related Issues (20)
- Constant Authentication Errors HOT 3
- Disable zabbix-agent per default HOT 1
- REFRESH_ENTRIES is false but companion tries to post existing CNAME
- 9207 Content-type must be application/json
- Issue (and fix) for SWARM_MODE not working with a daemon proxy
- Version 6.9.0 HOT 5
- Automatically detect domains HOT 1
- No Connection Adapters were found HOT 1
- Traefik Poll not picking up hosts from file HOT 2
- Labels are ignored HOT 6
- Could not route to /client/v4/zones/dns_records HOT 1
- `fmt` is not defined. HOT 1
- Container specific proxied status
- update readme for inconsistent TRAEFIK_FILTER vs TRAEFIK_CONSTRAINT
- TypeError: object of type 'NoneType' has no len()
- Add an option to set a specific text as Record Attribute
- Docker HUB stuck on version 7.2.0 as the most recent HOT 2
- SyntaxError: invalid syntax. Perhaps you forgot a comma? HOT 4
- 9022, TTL must be a number, not a string.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-traefik-cloudflare-companion.