Rust, https_proxy and failed to download

Getting

error: failed to download from ...

Caused by:
  [2] Failed initialization ([CONN-1-0] send: no filter connected)

Disabling mutliplexing helped, e.g

CARGO_HTTP_MULTIPLEXING=false cargo run

Also possible in .cargo/config