[OpenSIPS-Users] RabbitMQ HAProxy
Răzvan Crainea
razvan at opensips.org
Wed May 28 10:25:14 CEST 2014
Hi, Kneeoh!
RabbitMQ runs over TCP and you cannot simply switch an ongoing TCP
connection. The only thing you can do is close the initial TCP
connection and reconnect it.
Best regards,
Razvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
On 05/28/2014 12:04 AM, Kneeoh wrote:
> In order to try to solve my multi-entry point problem to rabbitmq I put in a pair of Haproxy servers in front of the rabbitmq cluster and am running a virtual IP between them. I'm subscribing to the events in a startup route in opensips using the virtual IP and everything works great on initial startup. However, If I force the active haproxy offline and the virtual IP flips to the other host Opensips stops communicating with Rabbit. If I restart opensips it starts working again. I'm thinking that it has something do do with the channel being different but I'm not sure. I was hoping someone may have run in to this issue as well and solved it. If not I was hoping the devs might have an idea on what to do.
>
> Opensips error:
>
> ERROR:event_rabbitmq:rmq_process: cannot send message
>
>
> Regards
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list