Public bug reported:

On my PPP connection, sometimes gwget will give me "Error: Unknown
error" under the "State". After some debugging, I realized that it is
because wget sometimes will echo the "Resolving ftp.gnu.org..." first,
and then, on a second line, echo out the ip address that was resolved
"140.186.70.20". I have added some debugging codes and here's what I
get:

Sep 13 23:24:57 durian gwget: wget_log_process_line = Resolving 
cdimage.ubuntu.com... 
Sep 13 23:24:57 durian gwget: wget_log_process_line = Resolving ftp.gnu.org... 
Sep 13 23:24:58 durian gwget: wget_log_process_line = 91.189.88.34
Sep 13 23:24:58 durian gwget: wget_log_process_line = Connecting to 
cdimage.ubuntu.com|91.189.88.34|:80... 
Sep 13 23:24:58 durian gwget: wget_log_process_line = 140.186.70.20
Sep 13 23:24:58 durian gwget: wget_log_process_line = Connecting to 
ftp.gnu.org|140.186.70.20|:80... 

So, inside the process_line function, none of the cases matches an IP
address, and it will drop to the last case where gwget will just report
it as Unknown error.

I see that there's no reason that it should be an error if we do not
manage to match the "known errors". Commenting out the line works
perfectly for me.

** Affects: gwget2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Unknown error when slow on ip resolve
https://bugs.launchpad.net/bugs/269856
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to