redlib icon indicating copy to clipboard operation
redlib copied to clipboard

🐛 Bug Report: System http(s)_proxy variable ignored

Open tunloop opened this issue 1 year ago • 0 comments

Describe the bug

Redlib binary does not read/use the http_proxy or https_proxy set in /etc/environment (Debian) or in /etc/redlib.conf Upon service/host restart, no traffic is sent to the specified http proxy.

Steps to reproduce the bug

  1. Have a forward http proxy set up (such as squid)
  2. Place following lines into /etc/environment (or other system-wide variable file depending on distro) on redlib host http_proxy=http://192.168.1.10:3128 https_proxy=http://192.168.1.10:3128
  3. Restart redlib binary
  4. Observe forward proxy logs for connections from redlib host

What's the expected behavior?

Redlib binary should send all internet http requests through specified proxy.

tunloop avatar Jul 17 '24 19:07 tunloop