[lug] wget proxy tunneling fail

Stephen Queen svqueen at gmail.com
Fri Jul 25 12:54:35 MDT 2014


I have the following environmental variables set
 HTTP_PROXY=http://proxyname:8080
HTTPS_PROXY=http://proxyname:8080 <http://proxy1-dvw.newmont.com:8080>
ftp_proxy=http://proxyname:8080 <http://proxy1-dvw.newmont.com:8080>
http_proxy=http://proxyname:8080 <http://proxy1-dvw.newmont.com:8080>
https_proxy=http://proxyname.com:8080 <http://proxy1-dvw.newmont.com:8080>

I also have them set up in /etc/wgetrc
https_proxy = http://proxyname:8080/
http_proxy = http://proxyname:8080/ <http://proxy1-dvw.newmont.com:8080/>
ftp_proxy = http://proxyname:8080/ <http://proxy1-dvw.newmont.com:8080/>
HTTPS_PROXY = http://proxyname:8080/ <http://proxy1-dvw.newmont.com:8080/>
HTTP_PROXY = http://proxnname:8080/ <http://proxy1-dvw.newmont.com:8080/>

I then run wget,
wget -t 2 -T 30 --passive-ftp --no-check-certificate --spider '
https://eula-downloads.yoctoproject.org/index.php'
 I get the following error,
--2014-07-25 12:31:50--  https://eula-downloads.yoctoproject.org/index.php
Resolving proxyname (proxyname)... XX.XX.XX.XX
Connecting to proxyname (proxyname)|XX.XX.XX.XX|:8080... connected.
Proxy tunneling failed: Host header is nullUnable to establish SSL
connection.

If I run curl,

curl --proxy http://proxyname:8080 '
https://eula-downloads.yoctoproject.org/index.php'

it works fine!

Anybody have a guess as to how to make this work.

Thanks,
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20140725/0a6d4900/attachment.html>


More information about the LUG mailing list