From: Eric Hodel Date: 2005-03-30T10:26:37+09:00 Subject: Re: FreeBSD Rubyists? Do Remote Objects work for you? On 29 Mar 2005, at 17:09, Miles Keaton wrote: > On Wed, 30 Mar 2005 09:54:20 +0900, Mark Probert > wrote: >> On Tuesday 29 March 2005 15:26, Miles Keaton wrote: >>> /usr/local/lib/ruby/1.8/drb/drb.rb:724:in `open': druby://server:8787 >>> # >>> (DRb::DRbConnError) >>> >>> (All platforms die at that exact same line. Same error.) >> >> Your problem is in here, somewhere, I would think ;-) >> >> If connect is timing out, there is something that is blocking it, >> router, >> filter, firewall or whatever. I don't think that this you may have a >> network >> config issue on your hands. > > I would have thought so, except that everything else in DRb works > *except* passing an object by reference. > > I've spent a whole day testing all kinds of dRuby client-server-remote > things and they all work fine... until you try to call a method on a > remote object that's been passed by reference. > > I don't understand how (or if) objects passed by reference would have > such a different TCP/IP packet. > > Can anyone imagine what might be blocking this kind of activity, but > not others? I've been poring through the drb.rb code for an hour > now, and can't figure out what it might be. I had a similar problem, the server was connecting back to a client on a port that wasn't open. I would get a connection refused, rather than a timeout. This is on 4.x, but I haven't had time to look into it further. -- Eric Hodel - drbrain@segment7.net - http://segment7.net FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04