Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
Problems with Net/HTTP
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Matt T., post: 4502501"] 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 ([URL]http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/78e12ac0a2a23f7b/696843dea30f1647[/URL]) but I didn't solve the problem, and since then I've narrowed down the cause. 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('[URL]http://www.google.com/[/URL]')", 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): [URL]http://www.overblown.net/nethttp_problem.cap[/URL] . 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 [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
Problems with Net/HTTP
Top