[Freeswitch-users] Freeswitch mod_amqp close connection to RabbitMQ

Michael Jerris mike at jerris.com
Mon Jan 30 22:43:40 MSK 2017


sounds like a bug to me, please file it

> On Jan 30, 2017, at 12:09 PM, Pedro Seabra <pedro.seabra at itcenter.com.pt> wrote:
> 
> Hello,
> 
> It would be much appreciated to have some advice on following case.
> 
> I use mod_amqp to send freeswitch's events to RabbitMQ, from times to times, mod_amqp closes connection to RabbitMQ and this results in loss of that specific event.
> This issue happens with higher and lower traffic, it's completely random.
> 
> mod_amqp logs:
> 
> [CRIT] mod_amqp_producer.c:433 Profile[default] failed to send event on connection[primary]: (unknown error)
> [CRIT] mod_amqp_utils.c:52 Closing channel: a socket error occurred
> [CRIT] mod_amqp_utils.c:52 Closing connection: a socket error occurred
> [DEBUG] mod_amqp_producer.c:501 Send failed with 'socket error'
> [WARNING] mod_amqp_producer.c:456 Amqp no connection- reconnecting...
> [DEBUG] mod_amqp_connection.c:119 Profile[default] trying to connect to AMQP broker 10.18.43.80:5672 <http://10.18.43.80:5672/>
> [DEBUG] mod_amqp_connection.c:136 Profile[default] opened socket connection to AMQP broker 10.18.43.80:5672 <http://10.18.43.80:5672/>
> INFO] mod_amqp_producer.c:469 Amqp reconnect successful- connected
> 
> 
> I changed the config of parameter "heartbeat", with higher and lower value, without any success resolving this issue(i was using default configuration).
> 
> mod_amqp closes connection and reconnect automatically, the next events are sent to RabbitMQ, just the event at that moment is lost.
> 
> I don't have/detect any network problems in this environment.
> 
> Cumprimentos | Best Regards
> Pedro Seabra
> Research & Development
> Phone: +351 256 370 980 / Ext. 334
> Email: pedro.seabra at itcenter.com.pt <mailto:pedro.seabra at itcenter.com.pt>
>  <http://www.itcenter.com.pt/>
>  <http://www.itcenter.com.pt/>
>  <http://www.itcenter.com.pt/>
> www.itcenter.com.pt <http://www.itcenter.com.pt/>
>  <http://store.itcenter.com.pt/>
>  <http://support.itcenter.com.pt/otrs/customer.pl>
>  <https://www.facebook.com/itcenterpt>
>  <https://www.linkedin.com/company/itcenter>
>  <https://twitter.com/ITCenter_PT>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170130/f22337ca/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list