huber icon indicating copy to clipboard operation
huber copied to clipboard

Huber on Linux does not work behind a proxy

Open sarg3nt opened this issue 1 year ago • 8 comments

When running Huber from behind a proxy it is unable to talk to Github so huber search and any other command that need to talk to Github do not work.

I think you just need to configure reqwest to use the HTTP_PROXY, HTTPS_PROXY and NO_PROXY vars if they exist.
See: https://docs.rs/reqwest/latest/reqwest/struct.Proxy.html

NOTE: reqwest docs say:

NOTE: System proxies are enabled by default.

So something must be interfering with this or turning it off.
Please let me know if need someone to test changes.

sarg3nt avatar Apr 19 '23 16:04 sarg3nt