[rabbitmq-discuss] RabbitMQ broker behind an ELB

Dhinesh Kumar dhinesh.ravi at gmail.com
Wed Jun 22 13:00:52 BST 2011


Hi,

I am trying to run a RabbitMQ broker behind an ELB.
The amqp connection gets established but it is getting closed after
sometime.

with this kind of message:

=ERROR REPORT==== 22-Jun-2011::11:27:59 ===
** Generic server <0.149.0> terminating
** Last message in was socket_closed
** When Server state == {state,amqp_network_connection,

{state,#Port<0.651>,0,<0.153.0>,131072,undefined,
                                false},
                            <0.148.0>,<0.151.0>,
                            {amqp_params,<<"guest">>,<<"guest">>,<<"/">>,
                                "*BrokerHostname*",

                                5672,nonode at nohost,0,0,0,none,
                                [#Fun<amqp_auth_mechanisms.plain.3>,
                                 #Fun<amqp_auth_mechanisms.amqplain.3>],
                                none,[]},
                            0,
                            [{<<"capabilities">>,table,
                              [{<<"publisher_confirms">>,bool,true},
                               {<<"exchange_exchange_bindings">>,bool,true},
                               {<<"basic.nack">>,bool,true},
                               {<<"consumer_cancel_notify">>,bool,true}]},
                             {<<"copyright">>,longstr,
                              <<"Copyright (C) 2007-2011 VMware, Inc.">>},
                             {<<"information">>,longstr,
                              <<"Licensed under the MPL.  See
http://www.rabbitmq.com/">>},
                             {<<"platform">>,longstr,<<"Erlang/OTP">>},
                             {<<"product">>,longstr,<<"RabbitMQ">>},
                             {<<"version">>,longstr,<<"2.4.1">>}],
                            #Fun<amqp_connection_sup.0.110528238>,
                            #Fun<amqp_connection_sup.2.116782220>,false}
** Reason for termination ==
** socket_closed_unexpectedly


If i do the same without ELB, the connection is stable.
Is there any setting which i am missing?

Thanks in advance,
Dhinesh Kumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110622/ff4a1330/attachment-0001.htm>


More information about the rabbitmq-discuss mailing list