Results 1 to 2 of 2

Thread: Listing Bindings Problem

  1. #1
    Join Date
    Dec 2010
    Location
    London, England
    Posts
    11

    Exclamation Listing Bindings Problem

    As part of the client messaging utility I'm writing, I want clients to be able to list their current bindings in order to decide if they want to remove existing ones. The queues they use are durable so as to collect messages even when they're not connected.

    To do the get bindings, I've written some erlang calling functions, following the structure used in the spring rabbitbrokeradmin class. This works fine with the server & client on my mac (presumably as I'm running elevated privileges) however when I try to do this using ubuntu I get an error report in my rabbit logs "Connection attempt from disallowed node 'rabbit-e3da0be30-62c7-40ee-88f9-74aabaa32976@UBUNTU" and Peer Authentication Error in my code.

    The node name (UBUNTU) is correct and I can send/receive messages using it fine.

  2. #2
    Join Date
    Jun 2005
    Posts
    4,230

    Default

    Have a look at the new RabbitBrokerAdmin for some hints. On Linux the broker normally runs as root and you won't be able to connect with your own cookie (which is being picked up by default from your home directory). What we did in RabbitBrokerAdmin is allow you to either set the cookie explicitly, or use a different broker (running as you) on a non-default port.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •