How to use proxy with doppler?

I have a next error:
Doppler Error: Get “”: 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

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
    +++ 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: