From: cremes.devlist@... Date: 2006-05-17T12:52:31+09:00 Subject: Re: examples using reliable-msg gem? I figured out the problem. In the queue-manager.rb file the author sets up an ACL for the DRbServer. The acl contains "allow 127.0.0.1". For whatever reason, OSX binds to the port using IPv6 so the ACL denies any connections coming through the loopback. There are two fixes. One workaround is to eliminate the ACL. The second workaround is to change the acl to read "allow 127.0.0.1, allow ::1" where "::1" is the localhost equivalent for IPv6 (alternately, change 127.0.0.1 to localhost). After this change inter- process calls work. I hope the next person who runs into this problem finds this note. It only took me 2 days to figure it out. :-) cr On May 15, 2006, at 3:16 PM, cremes.devlist@mac.com wrote: > I'm wondering if anyone out there has written any code using the > reliable-msg gem. > > It looks like a great system but I'm having a lot of trouble > getting it to work. > > For example, I can't get a Queue to successfully put/talk to a > QueueManager (essentially a DRb server) process unless it is > running within the same Ruby process. The documentation talks about > running the QueueManager in a separate process or even on a > separate machine, but every attempt at this fails. I've been > digging through the code but nothing obvious has jumped out at me. > > I figure I need to be a DRb expert to understand it fully but I'm > using this gem because I don't *want* to be a DRb expert. > > So, has any kind soul out there been successful in writing any code > using reliable-msg? If so, would you be willing to share your > insights (if not your code)? > > Thanks... > > cr >