[rabbitmq-discuss] rabbit federation is failing

Simon MacMullen simon at rabbitmq.com
Mon Aug 19 15:45:30 BST 2013


It's still quite unclear to me what the "failure" is in your case. The 
log extracts you posted showed a link failing and being re-established. 
The status says "running". So what is the problem?

Cheers, Simon

On 19/08/13 14:30, Joao Gomes Pereira wrote:
> They both failed, the upstream and the downstream.
> The status was showing "running" in both sites. I didnt used the command
> "rabbitmqctl"
> but i checked in the RabbitMQ managment (web interface).
>
> Is this timeout normal? how can we deal with this situation in order to
> have the nodes federated 24/7 ?
>
> Thanks
> Joao Pereira
>
>
>
> On 08/15/2013 12:31 PM, Simon MacMullen wrote:
>> It's not obvious that those errors have anything to do with your problem.
>>
>> The first one is an inbound connection being dropped due to its
>> heartbeat being missed.
>>
>> The second is an error which (unfortunately) happens whenever a
>> federation link comes up; it needs to ensure that an exchange does not
>> exist, so it tries to delete it - if it already did not exist we log
>> an error.
>>
>> Federation should always re-establish links that have failed.
>>
>> So when you say it stopped working, what happened? Is 192.168.1.200
>> the upstream, downstream or both? What does the link status reporting
>> say? (http://www.rabbitmq.com/federation.html#status)
>>
>> Cheers, Simon
>>
>> On 14/08/13 17:52, Joao Gomes Pereira wrote:
>>> Hello
>>> I implemented a rabbit federation to exchange SMS messages between
>>> diferent servers.
>>> After working fine for some days, one of my nodes (192.168.1.200) just
>>> stopped working.
>>>
>>> We can see some errors in the node log:
>>>
>>>
>>> =INFO REPORT==== 13-Aug-2013::14:01:31 ===
>>> Federation exchange 'LX' in vhost '/' connected to exchange 'LX' in
>>> vhost '/' on amqp://94.46.208.100
>>>
>>> =ERROR REPORT==== 13-Aug-2013::14:03:46 ===
>>> closing AMQP connection <0.5257.0> (94.46.208.98:45341 ->
>>> 192.168.1.200:5672):
>>> {heartbeat_timeout,running}
>>>
>>> =INFO REPORT==== 13-Aug-2013::14:09:27 ===
>>> accepting AMQP connection <0.5960.0> (94.46.208.98:60137 ->
>>> 192.168.1.200:5672)
>>>
>>> =ERROR REPORT==== 13-Aug-2013::14:09:27 ===
>>> connection <0.5960.0>, channel 3 - soft error:
>>> {amqp_error,not_found,
>>>              "no exchange 'federation: SMS_System ->
>>> SMSDriver+Dispatcher-rabbit at insight-DISP-rabbit02 B' in vhost '/'",
>>>              'exchange.delete'}
>>>
>>> =INFO REPORT==== 13-Aug-2013::14:09:27 ===
>>> accepting AMQP connection <0.5978.0> (94.46.208.98:20734 ->
>>> 192.168.1.200:5672)
>>>
>>> =INFO REPORT==== 13-Aug-2013::14:09:27 ===
>>> closing AMQP connection <0.5978.0> (94.46.208.98:20734 ->
>>> 192.168.1.200:5672)
>>>
>>>
>>>
>>>
>>> How can I configure my node to be always federated?
>>>
>>> Thanks
>>> regards
>>> Joao Pereira
>>>
>>>
>>>
>>
>>
>
>


-- 
Simon MacMullen
RabbitMQ, Pivotal


More information about the rabbitmq-discuss mailing list