On 12/03/2010 08:11 PM, steve beltzer wrote: > Here check this out - it just took a long time.... that shouldn't be a > surprise though: > > > steve@francisco:~$ time printf 'GET / HTTP/1.1\nHost: nytimes.com\n\n'|nc > 199.239.136.200 80 > HTTP/1.1 301 Moved Permanently > Server: Sun-ONE-Web-Server/6.1 > Date: Sat, 04 Dec 2010 00:49:00 GMT > Content-length: 122 > Content-type: text/html > Location: http://www.nytimes.com/ > nnCoection: close > > <HTML><HEAD><TITLE>Moved Permanently</TITLE></HEAD> > <BODY><H1>Moved Permanently</H1> > An error has occurred. > </BODY></HTML> > > real 4m38.672s > user 0m0.012s > sys 0m0.000s > steve@francisco:~$ wow, that's really weird, and there is *definitely* something wrong with your networking stack (or with your network itself). i'm curious now about the timing of the intervening lines. Could you install the moreutils package? it has a timestamping utility ("ts") that is pretty handy. once you have moreutils installed, try adding another few pieces to the pipeline, like this: 0 dkg@pip:~$ time printf 'GET / HTTP/1.1\nHost: nytimes.com\n\n' | \ > (echo start; nc 199.239.136.200 80; echo; echo end) | ts '%H:%M:%.S' 14:13:26.729969 start 14:13:26.730253 HTTP/1.1 301 Moved Permanently 14:13:26.730320 Server: Sun-ONE-Web-Server/6.1 14:13:26.730373 Date: Sat, 04 Dec 2010 19:13:26 GMT 14:13:26.730424 Content-length: 122 14:13:26.730474 Content-type: text/html 14:13:26.730524 Location: http://www.nytimes.com/ 14:13:26.730574 nnCoection: close 14:13:26.730625 14:13:26.730675 <HTML><HEAD><TITLE>Moved Permanently</TITLE></HEAD> 14:13:26.730727 <BODY><H1>Moved Permanently</H1> 14:13:26.730778 An error has occurred. 14:13:26.730828 </BODY></HTML> 14:13:26.730879 end real 0m0.099s user 0m0.068s sys 0m0.020s 0 dkg@pip:~$ Out of curiosity, what network hardware do you have? lspci Also, could you do all the suggested tests using a wired ethernet network connection, and make sure your wireless connection is *off* ? that should help rule out random wireless interference. --dkg PS For anyone who was curious (as i was) in what the nnCoection header is all about, this is a good explanation: https://forums.aws.amazon.com/message.jspa?messageID=81954
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ DebianNYC mailing list DebianNYC@vireo.org http://lists.vireo.org/cgi-bin/mailman/listinfo/debiannyc