Networking Forums

Networking Forums > Computer Networking > Linux Networking > wget retry problem/bug ver 1.10.2

Reply
Thread Tools Display Modes

wget retry problem/bug ver 1.10.2

 
 
wdoe999@yahoo.com
Guest
Posts: n/a

 
      03-15-2007, 11:57 PM
Hi - I am having a problem with wget v1.10.2 when I run the command:

wget -t 100 -T 10 -i files.txt

On older versions (eg v1.6), this will keep retrying and will "resume"
the download from where it left off, EVERY time.

On the latest wget version, this will do the retry properly if the
connection times-out in the middle of receiving bytes (read-error),
however, if there is a timeout when receiving the header response from
the server, wget will start all over again and will not resume.

Here is a sample of the error:
-------------------
HTTP request sent, awaiting response... Read error (Connection timed
out) in headers.
------------------

I've looked at all the switches and can't figure out how to make this
work like the older versions. Does anybody have any solutions, or is
this a bug? BTW - I know there are other progs but I would first like
to see if there is a solution for wget.

Thanks.

 
Reply With Quote
 
 
 
 
J.O. Aho
Guest
Posts: n/a

 
      03-16-2007, 08:24 AM
(E-Mail Removed) wrote:
> Hi - I am having a problem with wget v1.10.2 when I run the command:
>
> wget -t 100 -T 10 -i files.txt
>
> On older versions (eg v1.6), this will keep retrying and will "resume"
> the download from where it left off, EVERY time.


From man page:
--tries=number
Set number of retries to number. Specify 0 or inf for infinite
retrying. The default is to retry 20 times, with the
exception of
fatal errors like ``connection refused'' or ``not found'' (404),
which are not retried.

> On the latest wget version, this will do the retry properly if the
> connection times-out in the middle of receiving bytes (read-error),
> however, if there is a timeout when receiving the header response from
> the server, wget will start all over again and will not resume.
>
> Here is a sample of the error:
> -------------------
> HTTP request sent, awaiting response... Read error (Connection timed
> out) in headers.
> ------------------


Try with the -S option, so you see the header you get, could be a 404 or
something that would cause a legal skip, there are servers that gives
quite bad errors at high load.


--

//Aho
 
Reply With Quote
 
wdoe999@yahoo.com
Guest
Posts: n/a

 
      03-17-2007, 05:16 PM
On Mar 16, 3:24 am, "J.O. Aho" <u...@example.net> wrote:
> wdoe...@yahoo.com wrote:
> > Hi - I am having a problem with wget v1.10.2 when I run the command:

>
> > wget -t 100 -T 10 -i files.txt

>
> > On older versions (eg v1.6), this will keep retrying and will "resume"
> > the download from where it left off, EVERY time.

>
> From man page:
> --tries=number
> Set number of retries to number. Specify 0 or inf for infinite
> retrying. The default is to retry 20 times, with the
> exception of
> fatal errors like ``connection refused'' or ``not found'' (404),
> which are not retried.
>
> > On the latest wget version, this will do the retry properly if the
> > connection times-out in the middle of receiving bytes (read-error),
> > however, if there is a timeout when receiving the header response from
> > the server, wget will start all over again and will not resume.

>
> > Here is a sample of the error:
> > -------------------
> > HTTP request sent, awaiting response... Read error (Connection timed
> > out) in headers.
> > ------------------

>
> Try with the -S option, so you see the header you get, could be a 404 or
> something that would cause a legal skip, there are servers that gives
> quite bad errors at high load.
>
> --
>
> //Aho


Thanks for replying.
Yes, I noticed the instructions to which you refered.
I tried to use the swich "--retry-connrefused" and that didn't help.

I ended up solving it though. I used the -c switch.

The instructions say that the -c switch is used to "continue" a
download from a previous invocation of wget. The problem is that they
explicitly say that the -c option does not do anything for the
"current" invocation of wget. That is why I never tried it to begin-
with. After I thought about it for a while, I started to think that
wget is "essentially" starting a new download when it gets a fatal
error, and perhaps the instructions could be wrong. Indeed this is
true and the -c option does have affect in the current invocation.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
netgear wgr614 v4 needs 2-3 refreshes/retry to hit a Web page pstock Wireless Internet 3 12-06-2006 03:08 PM
500k to 1M upgrade failed in September - retry possible ?? Steve Harvey Broadband 4 12-24-2005 07:00 PM
MN 500 - Installer was interupted before complete - retry jugghead Broadband Hardware 3 02-03-2005 04:43 AM
Retry: Dell 2300 and SMC 7004AWBR Seeker Wireless Internet 0 02-18-2004 05:58 PM
abort / retry / fail on LPT1 (dos app) scott Windows Networking 0 12-19-2003 03:34 PM



1 2 3 4 5 6 7 8 9 10 11