Currenty, I’m getting these from all my microservices.
Unable to fetch secrets
Doppler Error: Get "https://api.doppler.com/v3/configs/config/secrets?config=&include_dynamic_secrets=false&project=&secrets=CELERY_CONCURRENCY": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Unable to fetch secrets from the Doppler API
Doppler Error: Get "https://api.doppler.com/v3/configs/config/secrets/download?config=&format=json&include_dynamic_secrets=true&project=": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
I applied doppler run – command to run server – debug and i’m getting debug logs
Unable to download secrets
Doppler Error: Invalid Auth token
I don’t understand this, there no expiry set for service token that i created. Can somebody explain ?
Hi @Arjun_Chouksey,
Welcome to the Doppler Community!
Typically, timeout errors like this occur due to DNS resolution problems. Could you try enabling the --enable-dns-resolver
flag and see if that makes a difference? That causes the CLI to bypass the OS DNS resolver and instead use a software resolver that’s hitting Cloudflare’s DNS nameservers (1.1.1.1
). If DNS resolution is the problem, then enabling that should fix it. If it does, then explicitly setting your servers to use either Cloudflare or Google’s public DNS nameservers is a good longer term solution.
Regards,
-Joel