How to use proxy with doppler?

I have a next error:
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)

My network need to use proxy… and i set http_proxy, but the problem continue… please help me!!!

i found a solution…I modify the http module and added:
Proxy: http.ProxyFromEnvironment

example:
git clone GitHub - DopplerHQ/cli: The official CLI for interacting with your Doppler secrets and configuration. /opt/doppler-cli
patch /opt/doppler-cli/pkg/http/http.go < /opt/doppler.patch
cd /opt/doppler-cli
make build
cp /opt/doppler-cli/doppler /usr/local/bin/doppler
chmod +x /usr/local/bin/doppler

  • /opt/doppler.patch
    — http.go 2022-02-22 13:04:36.269615335 -0500
    +++ http.go.new 2022-02-22 13:06:28.805720544 -0500
    @@ -194,6 +194,7 @@
    DisableKeepAlives: true,
    TLSClientConfig: tlsConfig,
    DialContext: dialContext,
  •   Proxy:             http.ProxyFromEnvironment,
    

    }

    startTime := time.Now()

Regards :slight_smile: