You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have several domains that I am hosting on Docker. Whenever I add a second, third, ..., eighth domain, I am getting an error
Steps to reproduce
- DOMAIN1=$DOMAIN1
- DOMAIN1_ZONE_ID=$CLOUDFLARE_ZONEID_DOMAIN1
- DOMAIN1_PROXIED=TRUE
- DOMAIN2=$DOMAIN2
- DOMAIN2_ZONE_ID=$CLOUDFLARE_ZONEID_DOMAIN2 # Copy from Cloudflare Overview page
- DOMAIN2_PROXIED=TRUE
- DOMAIN3=$DOMAIN3
- DOMAIN3_ZONE_ID=$CLOUDFLARE_ZONEID_DOMAIN3
- DOMAIN3_PROXIED=TRUE```
### What is the expected *correct* behavior?
```2022-03-11.19:08:36 [NOTICE] ** [container-init] Detected Container that has been restarted - Cleaning '/tmp/state' files
2022-03-11.19:08:36 [NOTICE] ** [scheduling] Disabling Scheduling
2022-03-11.19:08:36 [STARTING] ** [traefik-cloudflare-companion] [1] Starting Traefik Cloudflare Companion```
<!-- Describe what should be seen instead. -->
```2022-03-11.19:08:30 [STARTING] ** [traefik-cloudflare-companion] [610] Starting Traefik Cloudflare Companion
Traceback (most recent call last):
File "/usr/sbin/cloudflare-companion", line 466, in <module>
sync_mappings(get_initial_mappings(traefik_included_hosts, traefik_excluded_hosts), doms)
File "/usr/sbin/cloudflare-companion", line 354, in sync_mappings
if point_domain(k, domain_infos):
File "/usr/sbin/cloudflare-companion", line 168, in point_domain
records = cf.zones.dns_records.get(domain_info['zone_id'], params={u'name': name})
File "/usr/lib/python3.9/site-packages/CloudFlare/cloudflare.py", line 672, in get
return self._base.call_with_auth('GET', self._parts,
File "/usr/lib/python3.9/site-packages/CloudFlare/cloudflare.py", line 126, in call_with_auth
return self._call(method, headers, parts,
File "/usr/lib/python3.9/site-packages/CloudFlare/cloudflare.py", line 502, in _call
raise CloudFlareAPIError(code, message)
CloudFlare.exceptions.CloudFlareAPIError: Authentication error```
I don't know why it's showing an Authentication error because the ```CF_TOKEN``` is working when I just use DOMAIN1. I've confirmed the Zone IDs for all of my other domains.
### Relevant logs and/or screenshots
<!-- Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's tough to read otherwise. -->
Please see above
### Environment
https://pastebin.com/P3rvUFHR
- Image version / tag: v6.8.2
- Host OS: Ubuntu 20.04 LTS
Docker 20.10.12 (API: 1.41)
<details>
<summary>Any logs | docker-compose.yml</summary>
</details>
<!-- Include anything additional -->
### Possible fixes
<!-- If you can, provide details to the root cause that might be responsible for the problem. -->
Thanks!
The text was updated successfully, but these errors were encountered:
Summary
I have several domains that I am hosting on Docker. Whenever I add a second, third, ..., eighth domain, I am getting an error
Steps to reproduce
The text was updated successfully, but these errors were encountered: