Fail to run doppler login and doppler setup

I got a connection refused error when running doppler loin and doppler setup.

Get "https://api.github.com/repos/DopplerHQ/cli/releases/latest": dial tcp: lookup api.github.com on 183.60.82.98:53: read udp 172.27.0.7:33180->1.1.1.1:53: read: connection refused
...
Get "https://api.doppler.com/v3/projects": dial tcp: lookup api.doppler.com on 183.60.82.98:53: read udp 172.27.0.7:48007->1.1.1.1:53: read: connection refused

Hi @nanbing_liu and welcome to the Doppler community!

Sorry you’re running into this issue.

Could you please try running doppler login or doppler setup with the --no-dns-resolver and --debug flags and let me know what the result was?

Hi @nanbing_liu,

Your CLI timeout issues may have been caused by our custom DNS resolver which is now disabled by default as of release v3.31.0.

Could you try updating the CLI by running doppler update and let me know if it now works for you?