Open mouse07410 opened 2 years ago
net-http-persistent
supports proxies just fine, https://github.com/rubygems/rubygems/blob/f90de8bdafedde5c106963f149a51dddbbd73aee/bundler/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb#L784
It's quite confusing to work out what you're running, I think it's https://github.com/martinthomson/i-d-template/blob/cf4cd05892ae39c481f270cc23a67fa4b54ac2f2/main.mk#L76. There's nothing there that suggests environment variables are being stripped, have you set it via export HTTP_PROXY=https://your.corp.firewall.setting/
?
I'm trying to format an IETF RFC (Internet Draft, to be precise), using Martin Thompson's stuff. The platform is MacOS Monterey.
Yes, I have HTTP_PROXY and HTTPS_PROXY set appropriately. Other apps, like wget and curl (and, pretty much, everything else) seem to have no problem going over proxy to access our retrieve stuff from the "outside".
I'm trying to use kramdown-rfc from behind a corporate firewall that requires apps to go through the
HTTP_PROXY
host to reach web sites outside the perimeter.It looks like
net-http-persistent
fails to useHTTP_PROXY
:This problem is brought up in https://github.com/martinthomson/internet-draft-template/issues/11
Help is appreciated.