<div dir="ltr">Hello,<div><br></div><div>It would be much appreciated to have some advice on following <span style="color:black">case</span>.<br></div><div><br></div><div>I use mod_amqp to send freeswitch&#39;s events to RabbitMQ, from times to times, mod_amqp closes connection to RabbitMQ and this results in loss of that specific event.<br></div><div>This issue happens with higher and lower traffic, it&#39;s completely random.</div><div><br></div><div>mod_amqp logs:</div><div><br></div><div><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 &#39;socket error&#39;
[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">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">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></pre></div><div><br></div><div>I changed the config of parameter &quot;heartbeat&quot;, with higher and lower value, without any success resolving this issue(i was using default configuration).</div><div><br></div><div>mod_amqp closes connection and reconnect automatically, the next events are sent to RabbitMQ, just the event at that moment is lost.</div><div><br></div><div>I don&#39;t have/detect any network problems in this environment.</div><div><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><table style="font-family:arial,helvetica,sans-serif;width:600px;border-collapse:collapse"><tbody><tr><td><font size="2"><span style="font-family:arial,helvetica,sans-serif">Cumprimentos | Best Regards</span><br style="font-family:arial,helvetica,sans-serif"><span style="font-family:arial,helvetica,sans-serif">Pedro Seabra</span></font></td></tr><tr style="display:block;margin-bottom:10px"><td style="color:rgb(102,102,102)"><font face="arial, helvetica, sans-serif" size="2">Research &amp; Development</font></td></tr><tr><td style="color:rgb(102,102,102);line-height:15px"><font face="arial, helvetica, sans-serif" size="2">Phone: +351 256 370 980 / Ext. 334<br></font></td></tr><tr><td style="color:rgb(102,102,102);line-height:15px"><font face="arial, helvetica, sans-serif" size="2">Email: <a href="mailto:pedro.seabra@itcenter.com.pt" target="_blank">pedro.seabra@itcenter.com.pt</a></font></td></tr><tr style="display:block;width:600px;margin-top:10px"><td style="width:600px;padding:0px"><table style="border-collapse:collapse;width:0px"><tbody><tr><td><a href="http://www.itcenter.com.pt/" style="width:124px;height:74px;display:block;float:left" target="_blank"><img src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_logo-itcenter_124x74.jpg"></a><br></td><td><a href="http://www.itcenter.com.pt/" style="width:50px;height:74px;margin-left:20px;display:block;float:left" target="_blank"><img src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_premios-destincoes_50x74.jpg"></a><br></td><td width="317" style="display:block;width:402px;padding:0px;float:left"><a href="http://www.itcenter.com.pt/" style="width:317px;height:86px;display:block;float:right" target="_blank"><img src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_noticia-destaque.jpg" style="vertical-align: bottom;"></a><br></td></tr></tbody></table></td></tr><tr style="display:block;height:1px;padding:0px;margin:0px;background-color:rgb(0,194,169)"></tr><tr style="padding-top:3px;display:block"><td style="width:600px;padding:0px"><table style="border-collapse:collapse"><tbody><tr><td><table style="border-collapse:collapse"><tbody><tr><td style="float:left;font-size:9px;line-height:18px"><a href="http://www.itcenter.com.pt/" style="text-decoration:none;color:rgb(102,102,102)" target="_blank">www.itcenter.com.pt</a><br></td><td><a href="http://store.itcenter.com.pt/" style="margin-left:10px;width:23px;height:23px;display:block" target="_blank"><img src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_store.jpg" alt="ITCENTER Store" title="ITCENTER Store"></a><br></td><td><a href="http://support.itcenter.com.pt/otrs/customer.pl" style="margin-left:10px;width:23px;height:23px;display:block" target="_blank"><img src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_helpdesk.jpg" alt="ITCENTER Helpdesk" title="ITCENTER Helpdesk"></a><br></td></tr></tbody></table></td><td style="width:310px;padding:0px"></td><td style="border-collapse:collapse"><table style="border-collapse:collapse"><tbody><tr width="100" style="float:right"><td style="float:right;margin-left:5px;padding:0px"><a href="https://www.facebook.com/itcenterpt" style="margin-left:5px;width:23px;height:23px;display:block" target="_blank"><img src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_facebook.jpg" alt="ITCENTER Facebook"></a><br></td><td style="float:right;margin-left:5px;padding:0px"><a href="https://www.linkedin.com/company/itcenter" style="margin-left:5px;width:23px;height:23px;display:block" target="_blank"><img src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_linkedin.jpg" alt="ITCENTER Linkedin"></a><br></td><td style="float:right;padding:0px"><a href="https://twitter.com/ITCenter_PT" style="margin-left:5px;width:23px;height:23px;display:block" target="_blank"><img src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_twitter.jpg" alt="ITCENTER Twitter"></a><br></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></div></div></div></div></div>
</div></div>