View previous topic :: View next topic | Writer | Message | niranjana_km n00b Joined: 15 Mar 2014 Posts: 14 | Posted: Sat Mar xv, 2014 11:49 am Post subject: Connectedness reset by peer | | | Hi, I am getting "Connection reset by peer" for both wget and youtube-dl for using them with proxy. Code: | $ http_proxy='http://46.50.175.146:3128' wget "http://www.linux-heart.org/images/lc-logo2.jpg" --2014-03-15 17:09:31-- http://www.linux-centre.org/images/lc-logo2.jpg Connecting to 46.50.175.146:3128... connected. Proxy request sent, awaiting response... Read error (Connexion reset past peer) in headers. Retrying. --2014-03-xv 17:09:33-- (try: two) http://www.linux-center.org/images/lc-logo2.jpg Connecting to 46.fifty.175.146:3128... connected. Proxy asking sent, awaiting response... Read error (Connexion reset by peer) in headers. Retrying. --2014-03-15 17:09:36-- (try: 3) http://www.linux-center.org/images/lc-logo2.jpg Connecting to 46.50.175.146:3128... continued. Proxy request sent, pending response... Read error (Connectedness reset by peer) in headers. Retrying. ^C | Lawmaking: | $ https_proxy='https://46.fifty.175.146:3128' ./youtube-dl-20140303 -F "https://www.youtube.com/watch?5=WLIfmnlSkQ4" [youtube] Setting linguistic communication WARNING: unable to ready language: <urlopen error [Errno 104] Connexion reset by peer> [youtube] WLIfmnlSkQ4: Downloading webpage Fault: Unable to download webpage: <urlopen error [Errno 104] Connection reset past peer> | The proxy is alive and the aforementioned command for wget works fine in my former Fedora 16. Any fix and help to this trouble is welcome. And the wget version in gentoo is as follows. Lawmaking: | $ wget --version GNU Wget i.xiv built on linux-gnu. +digest +https +ipv6 -iri +large-file +nls -ntlm +opie +ssl/openssl Wgetrc: /etc/wgetrc (organization) Locale: /usr/share/locale Compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC="/etc/wgetrc" -DLOCALEDIR="/usr/share/locale" -I. -I../lib -I../lib -DHAVE_LIBSSL -march=corei7-avx -O2 -pipe Link: x86_64-pc-linux-gnu-gcc -DHAVE_LIBSSL -march=corei7-avx -O2 -pipe -Wl,-O1 -Wl,--equally-needed -lssl -lcrypto -lz -lpcre -lrt ftp-opie.o openssl.o ../lib/libgnu.a Copyright (C) 2011 Costless Software Foundation, Inc. License GPLv3+: GNU GPL version three or afterward <http://www.gnu.org/licenses/gpl.html>. This is free software: y'all are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Originally written by Hrvoje Niksic <hniksic@xemacs.org>. Please send issues reports and questions to <problems-wget@gnu.org>. | [/i][/b] But in my onetime fedora 16 information technology is wget 1.12. | | Back to peak | | | khayyam Watchman Joined: 07 Jun 2012 Posts: 6227 Location: Room 101 | Posted: Sat Mar 15, 2014 12:57 pm Postal service discipline: Re: Connection reset by peer | | | niranjana_km ... works here (wget-1.fourteen): Code: | # http_proxy='http://46.50.175.146:3128' wget "http://www.linux-center.org/images/lc-logo2.jpg" --2014-03-15 13:32:20-- http://world wide web.linux-centre.org/images/lc-logo2.jpg Connecting to 46.fifty.175.146:3128... continued. Proxy request sent, awaiting response... 200 OK Length: 4686 (4.6K) [image/jpeg] Saving to: 'lc-logo2.jpg' 100%[===============================================>] 4,686 --.-One thousand/s in 0s 2014-03-xv 13:32:22 (9.56 MB/due south) - 'lc-logo2.jpg' saved[4686/4686] | .... and net-misc/youtube-dl-2014.02.x (though the link you provided seems to be spam or what-take-you and removed by youtube) ... Code: | # https_proxy='https://46.50.175.146:3128' youtube-dl https://www.youtube.com/watch?5=wZV4wP2KVGY [youtube] Setting language [youtube] wZV4wP2KVGY: Downloading webpage [youtube] wZV4wP2KVGY: Downloading video info webpage [youtube] wZV4wP2KVGY: Extracting video data [download] Destination: 3 Minutes in the life of a Gentoo Penguin.-wZV4wP2KVGY.mp4 [download] 100% of 7.16MiB in 01:09 | And so, perhaps something re your network configuration, mayhap the ipv6 useflag, endeavour the following: Code: | # echo "adopt-family = IPv4" >> ~/.wgetrc | all-time ... khay | | Back to superlative | | | niranjana_km n00b Joined: 15 Mar 2014 Posts: 14 | Posted: Sat Mar fifteen, 2014 3:17 pm Post subject: | | | Cheers for the reply. I tried the following Lawmaking: | $ echo "prefer-family = IPv4" >> ~/.wgetrc | Merely the problem continues. Please suggest me regarding configuring my network. My network is handled past Networkmanager and I tried to continue my system as simple as possible. The services I use are, Code: | $ rc-condition Runlevel: default dbus [ started ] syslog-ng [ started ] consolekit [ started ] NetworkManager [ started ] sshd [ started ] local [ started ] Dynamic Runlevel: hotplugged Dynamic Runlevel: needed Dynamic Runlevel: transmission | And the kernel is hardened kernel (three.11.2-hardened-gnu). | | Back to meridian | | | khayyam Watchman Joined: 07 Jun 2012 Posts: 6227 Location: Room 101 | Posted: Sat Mar 15, 2014 vii:27 pm Mail service subject: | | | niranjana_km wrote: | Please suggest me regarding configuring my network. My network is handled by Networkmanager and I tried to keep my system equally simple every bit possible. | niranjana_km ... well, information technology may be the network beyond your particular motorcar, merely that was only a guess given that it works here and the just concrete departure I run into is that your wget build has Use="ipv6". Both your clients are able to connect to the proxy but the connection is reset, this may exist due to the proxy having a client/service limit (who knows) or some other gene relating to your network (gateway firewall, or what-have-you) ... basically, I tin't even begin to troubleshoot it from here. You might try enabling the 'debug' useflag on wget and using the '--debug' switch, it might provide more information as to why the connection is reset. best ... khay | | Back to top | | | Brandish posts from previous: | | | You cannot post new topics in this forum You cannot respond to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You lot cannot vote in polls in this forum | |
woodprourturce1966.blogspot.com
Source: https://forums.gentoo.org/viewtopic-t-986432-start-0.html
0 Response to "Http Request Sent, Awaiting Response... Read Error (Connection Reset by Peer) in Headers."
Post a Comment