<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1433444183922_3770" dir="ltr">I just popped up to 1.11.5 and am still getting a stream of dialog replication failure even though the non-active host IS listening on the same socket as the primary host. I'm banging my head on the desk, I can't figure out what this isn't working.<br></div><div id="yui_3_16_0_1_1433444183922_3769" dir="ltr"><br></div><div id="yui_3_16_0_1_1433444183922_7530" dir="ltr">Host 2 (passive host)<br></div><div id="yui_3_16_0_1_1433444183922_3768" dir="ltr">Jun 4 18:34:50 /usr/local/sbin/opensips[27448]: ERROR:dialog:receive_binary_packet: Failed to process a binary packet! <br style="" class="">Jun 4 18:34:50 /usr/local/sbin/opensips[27445]: ERROR:dialog:dlg_replicated_update: dialog not found, building new <br style="" class="">Jun 4 18:34:50 /usr/local/sbin/opensips[27445]: ERROR:dialog:dlg_replicated_create: Dialog in DB doesn't match any listening sockets <br style="" class="">Jun 4 18:34:50 /usr/local/sbin/opensips[27445]: ERROR:dialog:receive_binary_packet: Failed to process a binary packet! </div><div id="yui_3_16_0_1_1433444183922_4327" dir="ltr"><br></div><div id="yui_3_16_0_1_1433444183922_4730" dir="ltr">Netstat on Host 1</div><div id="yui_3_16_0_1_1433444183922_4731" dir="ltr">netstat -nlp | grep opensips<br style="" class="">udp 0 0 192.168.30.40:5060 0.0.0.0:* 7304/opensips <---virtual ip<br style="" class="">udp 0 0 192.168.30.39:5060 0.0.0.0:* 7304/opensips <---virtual ip<br style="" class="">udp 0 0 10.1.0.41:5092 0.0.0.0:* 7304/opensips <---binary replication binding (bin_listen)<br></div><div id="yui_3_16_0_1_1433444183922_4732" dir="ltr"><br></div><div id="yui_3_16_0_1_1433444183922_4733" dir="ltr">Netstat on Host 2</div><div id="yui_3_16_0_1_1433444183922_4734" dir="ltr">netstat -nlp | grep opensips<br style="" class="">udp 0 0 192.168.30.40:5060 0.0.0.0:* 27441/opensips <---virtual ip<br style="" class="">udp 0 0 192.168.30.39:5060 0.0.0.0:* 27441/opensips <---virtual ip<br style="" class="">udp 2176 0 10.1.0.42:5092 0.0.0.0:* 27441/opensips <---binary replication binding (bin_listen)</div><div id="yui_3_16_0_1_1433444183922_3771"><span></span></div> <br><div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <font face="Arial" size="2"> On Thursday, May 7, 2015 1:36 PM, Kneeoh <kneeoh@yahoo.com> wrote:<br> </font> </div> <br><br> <div class="y_msg_container"><div id="yiv1351450500"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div dir="ltr" id="yiv1351450500yui_3_16_0_1_1431020068696_4485">Hi Bogdan, Both Opensips hosts are set to use corosync/heartbeat to failover the two IPs in our config. Both hosts are set to non-localbind and opensips is explicitly listening on both of the VIPs. This is why I'm confused. It seems that everything is configured correctly yet I'm getting these errors on the inactive opensips instance.<br clear="none"></div><div id="yiv1351450500yui_3_16_0_1_1431020068696_4486"><span></span></div> <br clear="none"><div class="yiv1351450500qtdSeparateBR"><br clear="none"><br clear="none"></div><div class="yiv1351450500yqt3319964277" id="yiv1351450500yqt17514"><div class="yiv1351450500yahoo_quoted" style="display:block;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div dir="ltr"> <font face="Arial" size="2"> On Thursday, May 7, 2015 1:05 PM, Bogdan-Andrei Iancu <bogdan@opensips.org> wrote:<br clear="none"> </font> </div> <br clear="none"><br clear="none"> <div class="yiv1351450500y_msg_container"><div id="yiv1351450500"><div>
<tt>Hi Kneeoh,<br clear="none">
<br clear="none">
The dialog replication is done assuming that both opensips servers
do share the listening interface (via vrrp, heartbeat, etc). Do
you different listening IPs on the 2 opensips instances ?<br clear="none">
<br clear="none">
Regards,<br clear="none">
</tt>
<pre class="yiv1351450500moz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a rel="nofollow" shape="rect" class="yiv1351450500moz-txt-link-freetext" target="_blank" href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a></pre>
<div class="yiv1351450500yqt6462927550" id="yiv1351450500yqt95338"><div class="yiv1351450500moz-cite-prefix">On 29.04.2015 20:35, Kneeoh wrote:<br clear="none">
</div>
<blockquote type="cite">
<div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;">
<div id="yiv1351450500yui_3_16_0_1_1430328785670_3840">Hello, I've got two
VIPs on two instances of opensips and am doing dialog
replication. I'm getting a steady stream of failed to
replicate dialog errors in my opensips log.</div>
<div id="yiv1351450500yui_3_16_0_1_1430328785670_3841"><br clear="none">
</div>
<div dir="ltr" id="yiv1351450500yui_3_16_0_1_1430328785670_3859">192.168.30.39</div>
<div dir="ltr" id="yiv1351450500yui_3_16_0_1_1430328785670_3860">192.168.30.40</div>
<div dir="ltr" id="yiv1351450500yui_3_16_0_1_1430328785670_3861">are the two
VIPs. Both have a listen = on both opensips configs. I'm not
sure if this line in the log is the problem but it looks like
it: " DBG:core:bin_pop_str: Popped: '' [0]" I'm not sure how
the receive IP could be an empty string.<br clear="none">
</div>
<div id="yiv1351450500yui_3_16_0_1_1430328785670_3842"><br clear="none">
</div>
<div id="yiv1351450500yui_3_16_0_1_1430328785670_3843">debug:</div>
<div id="yiv1351450500yui_3_16_0_1_1430328785670_3844"><br clear="none">
</div>
<div dir="ltr" id="yiv1351450500yui_3_16_0_1_1430328785670_3845"> DBG:dialog:dlg_replicated_create:
Received replicated dialog!<br class="yiv1351450500" style="" clear="none">
DBG:core:bin_pop_str: Popped: 'udp:192.168.30.40:5060' [22]<br class="yiv1351450500" style="" clear="none">
DBG:core:grep_sock_info: checking if host==us: 13==13
&& [192.168.30.40] == [192.168.30.39]<br class="yiv1351450500" style="" clear="none">
DBG:core:grep_sock_info: checking if port 5060 matches port
5060<br class="yiv1351450500" style="" clear="none">
DBG:core:grep_sock_info: checking if host==us: 13==13
&& [192.168.30.40] == [192.168.30.40]<br class="yiv1351450500" style="" clear="none">
DBG:core:grep_sock_info: checking if port 5060 matches port
5060<br class="yiv1351450500" style="" clear="none">
DBG:core:bin_pop_str: Popped: '' [0]<br class="yiv1351450500" style="" clear="none">
ERROR:dialog:dlg_replicated_create: Dialog in DB doesn't
match any listening sockets<br class="yiv1351450500" style="" clear="none">
DBG:dialog:destroy_dlg: destroing dialog 0x7f09ddd9f958<br class="yiv1351450500" style="" clear="none">
DBG:dialog:destroy_dlg: dlg expired or not in list - dlg
0x7f09ddd9f958 [2225:721583693] with clid
'f4f2446c-6937-1233-f798-0024e869f1eb' and tags 'NULL' 'NULL'<br class="yiv1351450500" style="" clear="none">
ERROR:dialog:receive_binary_packet: Failed to process a
binary packet!<br clear="none">
</div>
<div id="yiv1351450500yui_3_16_0_1_1430328785670_3889"><br clear="none">
</div>
</div>
<br clear="none">
<fieldset class="yiv1351450500mimeAttachmentHeader"></fieldset>
<br clear="none">
<pre>_______________________________________________
Users mailing list
<a rel="nofollow" shape="rect" class="yiv1351450500moz-txt-link-abbreviated" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a rel="nofollow" shape="rect" class="yiv1351450500moz-txt-link-freetext" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote></div>
<br clear="none">
</div></div><br clear="none"><br clear="none"></div> </div> </div> </div></div></div></div></div><br><br></div> </div> </div> </div></div></body></html>