<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">sounds like a bug to me, please file it<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 30, 2017, at 12:09 PM, Pedro Seabra &lt;<a href="mailto:pedro.seabra@itcenter.com.pt" class="">pedro.seabra@itcenter.com.pt</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello,<div class=""><br class=""></div><div class="">It would be much appreciated to have some advice on following&nbsp;<span style="" class="">case</span>.<br class=""></div><div class=""><br class=""></div><div class="">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.<br class=""></div><div class="">This issue happens with higher and lower traffic, it's completely random.</div><div class=""><br class=""></div><div class="">mod_amqp logs:</div><div class=""><br class=""></div><div class=""><pre class="gmail-code-java" style="margin-top:0px;margin-bottom:0px;padding:0px;max-height:30em;overflow:auto;white-space:pre-wrap;word-wrap:normal;color:rgb(51,51,51);font-size:12px;background-color:rgb(245,245,245)">[CRIT] mod_amqp_producer.c:433 Profile[<span class="gmail-code-keyword" style="color:rgb(0,0,145)">default</span>] 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[<span class="gmail-code-keyword" style="color:rgb(0,0,145)">default</span>] trying to connect to AMQP broker <a href="http://10.18.43.80:5672/" class="">10.18.43.80:5672</a>
[DEBUG] mod_amqp_connection.c:136 Profile[<span class="gmail-code-keyword" style="color:rgb(0,0,145)">default</span>] opened socket connection to AMQP broker <a href="http://10.18.43.80:5672/" class="">10.18.43.80:5672</a>
INFO] mod_amqp_producer.c:469 Amqp reconnect successful- connected</pre><pre class="gmail-code-java" style="margin-top:0px;margin-bottom:0px;padding:0px;max-height:30em;overflow:auto;white-space:pre-wrap;word-wrap:normal;color:rgb(51,51,51);font-size:12px;background-color:rgb(245,245,245)"><br class=""></pre></div><div class=""><br class=""></div><div class="">I changed the config of parameter "heartbeat", with higher and lower value, without any success resolving this issue(i was using default configuration).</div><div class=""><br class=""></div><div class="">mod_amqp closes connection and reconnect automatically, the next events are sent to RabbitMQ, just the event at that moment is lost.</div><div class=""><br class=""></div><div class="">I don't have/detect any network problems in this environment.</div><div class=""><br clear="all" class=""><div class=""><div class="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><table style="font-family:arial,helvetica,sans-serif;width:600px;border-collapse:collapse" class=""><tbody class=""><tr class=""><td class=""><font size="2" class=""><span style="font-family:arial,helvetica,sans-serif" class="">Cumprimentos | Best Regards</span><br style="font-family:arial,helvetica,sans-serif" class=""><span style="font-family:arial,helvetica,sans-serif" class="">Pedro Seabra</span></font></td></tr><tr style="display:block;margin-bottom:10px" class=""><td style="color:rgb(102,102,102)" class=""><font face="arial, helvetica, sans-serif" size="2" class="">Research &amp; Development</font></td></tr><tr class=""><td style="color:rgb(102,102,102);line-height:15px" class=""><font face="arial, helvetica, sans-serif" size="2" class="">Phone:&nbsp;+351 256 370 980&nbsp;/ Ext.&nbsp;334<br class=""></font></td></tr><tr class=""><td style="color:rgb(102,102,102);line-height:15px" class=""><font face="arial, helvetica, sans-serif" size="2" class="">Email: <a href="mailto:pedro.seabra@itcenter.com.pt" target="_blank" class="">pedro.seabra@itcenter.com.pt</a></font></td></tr><tr style="display:block;width:600px;margin-top:10px" class=""><td style="width:600px;padding:0px" class=""><table style="border-collapse:collapse;width:0px" class=""><tbody class=""><tr class=""><td class=""><a href="http://www.itcenter.com.pt/" style="width:124px;height:74px;display:block;float:left" target="_blank" class=""><img src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_logo-itcenter_124x74.jpg" class=""></a><br class=""></td><td class=""><a href="http://www.itcenter.com.pt/" style="width:50px;height:74px;margin-left:20px;display:block;float:left" target="_blank" class=""><img src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_premios-destincoes_50x74.jpg" class=""></a><br class=""></td><td width="317" style="display:block;width:402px;padding:0px;float:left" class=""><a href="http://www.itcenter.com.pt/" style="width:317px;height:86px;display:block;float:right" target="_blank" class=""><img src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_noticia-destaque.jpg" style="vertical-align: bottom;" class=""></a><br class=""></td></tr></tbody></table></td></tr><tr style="display:block;height:1px;padding:0px;margin:0px;background-color:rgb(0,194,169)" class=""></tr><tr style="padding-top:3px;display:block" class=""><td style="width:600px;padding:0px" class=""><table style="border-collapse:collapse" class=""><tbody class=""><tr class=""><td class=""><table style="border-collapse:collapse" class=""><tbody class=""><tr class=""><td style="float:left;font-size:9px;line-height:18px" class=""><a href="http://www.itcenter.com.pt/" style="text-decoration:none;color:rgb(102,102,102)" target="_blank" class="">www.itcenter.com.pt</a><br class=""></td><td class=""><a href="http://store.itcenter.com.pt/" style="margin-left:10px;width:23px;height:23px;display:block" target="_blank" class=""><img src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_store.jpg" alt="ITCENTER Store" title="ITCENTER Store" class=""></a><br class=""></td><td class=""><a href="http://support.itcenter.com.pt/otrs/customer.pl" style="margin-left:10px;width:23px;height:23px;display:block" target="_blank" class=""><img src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_helpdesk.jpg" alt="ITCENTER Helpdesk" title="ITCENTER Helpdesk" class=""></a><br class=""></td></tr></tbody></table></td><td style="width:310px;padding:0px" class=""></td><td style="border-collapse:collapse" class=""><table style="border-collapse:collapse" class=""><tbody class=""><tr width="100" style="float:right" class=""><td style="float:right;margin-left:5px;padding:0px" class=""><a href="https://www.facebook.com/itcenterpt" style="margin-left:5px;width:23px;height:23px;display:block" target="_blank" class=""><img src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_facebook.jpg" alt="ITCENTER Facebook" class=""></a><br class=""></td><td style="float:right;margin-left:5px;padding:0px" class=""><a href="https://www.linkedin.com/company/itcenter" style="margin-left:5px;width:23px;height:23px;display:block" target="_blank" class=""><img src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_linkedin.jpg" alt="ITCENTER Linkedin" class=""></a><br class=""></td><td style="float:right;padding:0px" class=""><a href="https://twitter.com/ITCenter_PT" style="margin-left:5px;width:23px;height:23px;display:block" target="_blank" class=""><img src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_twitter.jpg" alt="ITCENTER Twitter" class=""></a><br class=""></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></div></div></div></div></div>
</div></div>
_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services: <br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></blockquote></div><br class=""></div></body></html>