From: "Matt T." Date: 2006-01-25T00:55:49+09:00 Subject: Problems with Net/HTTP Good evening, I'm having problems with Net/HTTP, in that it never seems to be able to complete a connection. I posted about a related problem a little bit ago (http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/78e12ac0a2a23f7b/696843dea30f1647) but I didn't solve the problem, and since then I've narrowed down the cause. >From looking at Ethereal, it seems like the file is being downloaded completely, but the connection never seems to end (or at least Net/HTTP never recognizes it as ending.) When I try a simple "Net::HTTP.get_print URI.parse('http://www.google.com/')", Ruby hangs with no output and the aforementioned network activity. Even CTRL+C wont end it, I have to close the cmd.exe instance to get it to end. I have an Ethereal capture of the data in questions here(libpcap format): http://www.overblown.net/nethttp_problem.cap . I'm running Windows XP Pro SP2 with One-Click Ruby 1.8.2-15. It's a fairly fresh install of both products, too. I've tried uninstalling and then re-installing Ruby, with no luck. I'm behind a Linux NAT gateway, but I doubt that's the trouble since every other network device behind it is operating fine, and my old computer used to run Net/HTTP just fine behind the very same gateway. So far as I can tell, Ruby is the only thing having any sort of trouble. There is nothing of note or out of the ordinary about my machine I can think of. It's a vanilla Windows install, a vanilla Ruby install and, like I said, my old computer with the same network connection, NIC, IP address and everything else ran Ruby just fine. I'm really stumped as to what can be going wrong. And since Net/HTTP is a C extension, it's difficult to debug for me. Does anybody have any idea what's going wrong or how can I fix it? Thank you for your help, -Matt