Giter VIP home page Giter VIP logo

Comments (4)

gcraenen avatar gcraenen commented on June 30, 2024 1

Same problem here:

`
Traceback (most recent call last):

File "/usr/sbin/cloudflare-companion", line 276, in

init(doms)

File "/usr/sbin/cloudflare-companion", line 211, in init

check_container_t2(c, doms)

File "/usr/sbin/cloudflare-companion", line 176, in check_container_t2

point_domain(extracted_domains[0], doms)

File "/usr/sbin/cloudflare-companion", line 91, in point_domain

records = cf.zones.dns_records.get(dom['zone_id'], params={u'name': name})

File "/usr/lib/python3.8/site-packages/CloudFlare/cloudflare.py", line 672, in get

return self._base.call_with_auth('GET', self._parts,

File "/usr/lib/python3.8/site-packages/CloudFlare/cloudflare.py", line 126, in call_with_auth

return self._call(method, headers, parts,

File "/usr/lib/python3.8/site-packages/CloudFlare/cloudflare.py", line 502, in _call

raise CloudFlareAPIError(code, message)

`

from docker-traefik-cloudflare-companion.

kadaan avatar kadaan commented on June 30, 2024

When I looked at the code it looks like the get_docker_secret lib defaults to searching for files in /var/run/secrets whereas docker-compose says it mounts secrets at /run/secrets: https://docs.docker.com/compose/compose-file/compose-file-v3/

from docker-traefik-cloudflare-companion.

filcuk avatar filcuk commented on June 30, 2024

Likewise, I can verify my token works through curl, but I'm getting above mentioned error.
I've tried my secrets, secrets as defined in docs and just plain env variables, all with the same outcome.
I've rolled back to 6.6.2, then 6.5.1 and finally 6.4.0 but that didn't help either.

Has anyone had any success?

from docker-traefik-cloudflare-companion.

filcuk avatar filcuk commented on June 30, 2024

See #44 - Solution in last update. When using token for authentication, you must leave out the email.

from docker-traefik-cloudflare-companion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.