New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CloudFlare 6103: Invalid format for X-Auth-Key header #2219
Comments
@jonaslewin This error is not due to a bug in Træfik but to a missing feature in xenolf/lego dependency. Currently xenolf/lego support only Regarding Cloudflare documentation, your API key seems to be an Could you confirm that your key is an |
Hello, I'm currently in the same situation, with little differencies |
@jonaslewin @frenchviking Could you tell me if your API keys start with |
@mmatur it doesn't. |
@frenchviking Could you provide us more informations like logs, traefik configuration and how your run your traefik container please |
Here is the docker-compose.yml. version: '3.1'
services:
traefik:
image: traefik:latest
command: --docker --docker.swarmmode --docker.domain=traefik --docker.watch --web --web.metrics --web.metrics.prometheus
environment:
CLOUDFLARE_EMAIL: [my_contact_email]
CLOUDFLARE_API_KEY: [my_cloudflare_Global_API_Key]
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /storage/traefik/config:/etc/traefik
deploy:
mode: replicated
replicas: 3
placement:
constraints:
- node.role == manager
update_config:
parallelism: 1
delay: 5s
resources:
limits:
cpus: '1'
memory: 64M
restart_policy:
condition: any
delay: 5s
window: 5s
labels:
magik.service.type: "infra"
networks:
- traefik-net
ports:
- "80:80"
- "443:443"
- "8090:8080"
logging:
driver: "fluentd"
options:
fluentd-address: localhost:24224
tag: docker.admin.traefik logs :
|
@frenchviking Could you please verify if email used in env variable |
@jonaslewin if you are using |
@mmatur The |
Currently you can only use |
After some investigations on Cloudflare API and lego dependency, we will not be able to use only the So please use the I will close this issue |
Should we add a note to the traefik documentation? |
@errm yes, I have just create a PR to improve documentation |
Closed by #2558. |
Migrated over from traefik 1.6.6, fixed from CF_X to CLOUFLARE_EMAIL/CLOUDFLARE_API_KEY and getting the same issues as above. I am using the GLOBAL CA KEY ( i am just migrating over from a working 1.6.6 instance ). @mmatur this should be a bug i suppose. You need the usual ACME debug logs for further verification? |
Sorry my bad, after digging around i found out that the variable scope was unexpected and the CLOUDFLARE_* variables i sourced are not passed to the script below. No action required, was all on me, sorry |
Do you want to request a feature or report a bug?
Reporting a bug
What did you do?
Ran traefik in a windows container and set cloudlfare to be the dnsProvider.
What did you expect to see?
I expected to get the ssl certificate.
What did you see instead?
Output of
traefik version
: (What version of Traefik are you using?)What is your environment & configuration (arguments, toml, provider, platform, ...)?
I run traefik in a container like this:
I have verified that I am using the Origin CA Key
The text was updated successfully, but these errors were encountered: