On 05/09/2013 01:52 PM, Bruno Matos wrote:
Finally I have some time to test domains.

Excellent, thanks!

I'm trying to create a link between two Brokers 0.22 RC2, but I'm having
two errors, with the same origin, creating the outgoing link that I
don't know how to solve. I'm using qpid-ctrl as you suggested.

1. If I set --auth yes (on both), I receive the error "SASL layer
required!", I took a look to the code and it seams the it was expecting
SASL as the protocol and it has AMQP.

Was this from the connection made by qpid-ctrl itself, or the inter-broker connection? If auth is on then the broker will not accept a connection that does not have a sasl layer setup first. You can specify the mechanism(s) to use for the inter-broker link (NONE means no SASL layer, which would not work if the remote broker requires SASL as is the case for qpidd with auth = true)

2. If I set --auth no (on both), the connection closes by timeout (10s)
on the destination broker and it gives "No protocol received closing",
which produces a "Interconnect deleted" notice on the source broker.

This is due to a 'feature' in the broker intended to prevent idle connections prior to authentication. The problem is that it does this in a very crude way, merely counting the number of distinct read operations from the socket and requiring there to be 3 in a given time.

If you set a larger --max-negotiate-time you can avoid this (e.g. 600000).

Do let me know how you get on (especially if this doesn't help :-)

--Gordon.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to