From svqueen at gmail.com Fri Jul 25 12:54:35 2014 From: svqueen at gmail.com (Stephen Queen) Date: Fri, 25 Jul 2014 12:54:35 -0600 Subject: [lug] wget proxy tunneling fail Message-ID: I have the following environmental variables set HTTP_PROXY=http://proxyname:8080 HTTPS_PROXY=http://proxyname:8080 ftp_proxy=http://proxyname:8080 http_proxy=http://proxyname:8080 https_proxy=http://proxyname.com:8080 I also have them set up in /etc/wgetrc https_proxy = http://proxyname:8080/ http_proxy = http://proxyname:8080/ ftp_proxy = http://proxyname:8080/ HTTPS_PROXY = http://proxyname:8080/ HTTP_PROXY = http://proxnname: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: From stimits at comcast.net Fri Jul 25 15:32:29 2014 From: stimits at comcast.net (stimits at comcast.net) Date: Fri, 25 Jul 2014 21:32:29 +0000 (UTC) Subject: [lug] wget proxy tunneling fail In-Reply-To: References: Message-ID: <1194810213.32730322.1406323949127.JavaMail.root@comcast.net> I'm not on linux right now, but found something perhaps of interest: http://comments.gmane.org/gmane.comp.apache.user/101968 I've often used telnet to port 80 of a web server and manually typed in the GET header to see what response is given. One part of the GET is HTTP/1.0 or 1.1. If you use 1.0, the header requirements are simplified, so this is what I type by hand. It looks like wget, when using 1.1, fails to throw in the rest of the header which is mandatory. Perhaps there is a way to force wget to use HTTP 1.0? Don't have any man pages handy. ----- Original Message -----From: Stephen Queen To: Boulder Linux Users Group -- General Mailing Sent: Fri, 25 Jul 2014 18:54:35 -0000 (UTC)Subject: [lug] wget proxy tunneling fail ...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.phpResolving proxyname (proxyname)... XX.XX.XX.XXConnecting to proxyname (proxyname)|XX.XX.XX.XX|:8080... connected. Proxy tunneling failed: Host header is nullUnable to establish SSL connection. ... -------------- next part -------------- An HTML attachment was scrubbed... URL: