wget hangs in http request sent awaiting response in some sites

Posted by gkr on Server Fault See other posts from Server Fault or by gkr
Published on 2012-06-12T16:02:05Z Indexed on 2012/06/12 16:42 UTC
Read the original article Hit count: 324

Filed under:
|
|
|
|

Using Ubuntu 12.04. wget hangs in http request sent, awaiting response... in some sites. Browser's are not opening sites that are failed in wget. But in WinXP everything works.

This works


gkr@gkr-desktop:~/Documents/curl$ wget google.com
--2012-06-12 21:29:37--  http://google.com/
Resolving google.com (google.com)... 74.125.236.174, 74.125.236.160, 74.125.236.161, ...
Connecting to google.com (google.com)|74.125.236.174|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.google.com/ [following]
--2012-06-12 21:29:38--  http://www.google.com/
Resolving www.google.com (www.google.com)... 74.125.236.179, 74.125.236.180, 74.125.236.176, ...
Connecting to www.google.com (www.google.com)|74.125.236.179|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://www.google.co.in/ [following]
--2012-06-12 21:29:38--  http://www.google.co.in/
Resolving www.google.co.in (www.google.co.in)... 74.125.236.184, 74.125.236.191, 74.125.236.183, ...
Connecting to www.google.co.in (www.google.co.in)|74.125.236.184|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `index.html.3'

    [                                                                                                                  ] 13,383      --.-K/s   in 0.04s   

2012-06-12 21:29:39 (308 KB/s) - `index.html.3' saved [13383]

gkr@gkr-desktop:~/Documents/curl$ 

This site just stops/hangs in awaiting response.


gkr@gkr-desktop:~/Documents/curl$ wget grooveshark.com
--2012-06-12 21:27:29--  http://grooveshark.com/
Resolving grooveshark.com (grooveshark.com)... 8.20.213.76
Connecting to grooveshark.com (grooveshark.com)|8.20.213.76|:80... connected.
HTTP request sent, awaiting response... ^C
gkr@gkr-desktop:~/Documents/curl$

Thanks

© Server Fault or respective owner

Related posts about ubuntu

Related posts about networking