From: Thaddeus L Olczyk Date: 2006-08-21T11:35:14+09:00 Subject: Re: Why is my http call failing? On Sun, 20 Aug 2006 10:45:04 +0200, Robert Klemme wrote: >Thaddeus L Olczyk wrote: >> On Sun, 20 Aug 2006 11:32:14 +0900, in comp.lang.ruby you wrote: >> >>> On Aug 19, 2006, at 4:35 PM, Thaddeus L Olczyk wrote: >>> >>>> On Sat, 19 Aug 2006 12:28:28 +0200, Robert Klemme >>>> wrote: >>>> >>>>> everything seems fine. >>>>>>> I am using the latest version of Ruby on Windows ( NT4 SP6 ). >>>>>> That code seems to work fine on linux with Ruby 1.8.4. I get: >>>>>> >>>>>> #=> nil >>>>>> >>>>>> And if I change to .get('/yaml').body I get the body of the page, as >>>>>> expected. >>>>> Works for me, too. >>>>> >>>>> Local firewall that explicitly blocks accesses from ruby and not from >>>>> telnet? Just a wild guess... >>>> The firewall I use is zonealarm. It keeps prompting me to allow ruby >>>> to pass ( I keep saying yes ). In fact I even set remember this >>>> setting and yes. I had to remove ruby toi clear it. >>>> >>>> It seems to me there is some aspect of Windows networking that is >>>> not working right. It is something that most programs, if they use it, >>>> they do not rely on it. But ruby networking just relies on it. I'm >>>> hoping someone can tell me. >>>> >>>> -------------------------------------------------- >>>> Thaddeus L. Olczyk, PhD >>>> Think twice, code once. >>>> >>> >>> I have seen this same issue on windows before. ZoneAlarm interferes >>> with ruby's socket access. You need to uninstall ZoneAlarm and it >>> will work fine. Just disabling Zone Alarm will not work , you have to >>> completely uninstall it. >>> >>> -Ezra >> Hmmm. >> Hard to say. If you disble it as a service, it should have no effect. >> Anyway I'm hesitant to disable my firewall unless I have something >> else in place. I wish there were a way ( like Posix's strace ) to >> trace system calls and see exactl;y what is going wrong. > >You can try Kerio Personal Firewall - personally I like it better than >ZA because it offers more precise control IMHO (disclaimer: I haven't >tested ZA thoroughly so I may have missed some advanced features). > >http://www.sunbelt-software.com/Kerio.cfm > >Kind regards > > robert I removed ZA and installed Sygate. No difference. (Before and after I installed Sygate. ) -------------------------------------------------- Thaddeus L. Olczyk, PhD Think twice, code once.