In answer to your inline question:<div><br>=INFO REPORT==== 2010-11-11 21:06:12 ===<br>D(<0.366.0>:ejabberd_s2s:255) : sending to process <0.488.0><br><br>[ Does the above mean this message has been sent?]</div>
<div><br></div><div>No, this means that the process has sent an erlang message to the ejabberd_s2s_out process with pid <<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">0.482.0>, but there is no debug logging of what is taking place once the message is received by that process. </span></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">If you're able to set up ssldump (<a href="http://www.rtfm.com/ssldump/">http://www.rtfm.com/ssldump/</a>) you can use this to see what (if any) communication is happening between servers including any errors that may not be logged. Alternatively if you can get message debug logging on the other two hosts so you can see inbound s2s messages and tie the logs together that would be helpful.</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">-Sylvain</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font><div><br></div><div><br><br><div class="gmail_quote">On Fri, Nov 12, 2010 at 2:28 PM, Spencer Cheng <span dir="ltr"><<a href="mailto:scheng@morphbius.com">scheng@morphbius.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
I have set up a couple of ejabberd servers communicating with each other over TLS. Everything seems to work and messages are flowing between the ejabberd servers. Once in a while though one of the messages goes missing. I am not sure how to trace this. I have enabled debugging messages in the ejabberd conf file. (Ubuntu 10.04 LTS, ejabbered 2.1.5 binary installer) and can follow the message trail but I don't know where the message went. Here is a summary from the log with message content removed for brevity from the node that is sending the msg (<a href="http://dist.morphbius.com" target="_blank">dist.morphbius.com</a>)<br>

<br>
Can anyone give me a hint on how to trace this further? The log on the receiving node doesn't show any corresponding messages being received.<br>
<br>
Thanks in advance.<br>
<br>
Regards,<br>
Spencer<br>
<br>
------------Sending XMPP server---------------<br>
<br>
=INFO REPORT==== 2010-11-11 21:06:12 ===<br>
D(<0.366.0>:ejabberd_router:313) : route<br>
        from {jid,"cdn_op","<a href="http://dist.morphbius.com" target="_blank">dist.morphbius.com</a>","cdn","cdn_op",<br>
                  "<a href="http://dist.morphbius.com" target="_blank">dist.morphbius.com</a>","cdn"}<br>
        to {jid,"cdn_op","<a href="http://leaf2.morphbius.com" target="_blank">leaf2.morphbius.com</a>","cdn","cdn_op",<br>
                "<a href="http://leaf2.morphbius.com" target="_blank">leaf2.morphbius.com</a>","cdn"}<br>
        packet {xmlelement,"message",<br>
                [{"xml:lang","en"},<br>
                 {"sn","294"},<br>
                 {"to","<a href="http://cdn_op@leaf2.morphbius.com/cdn" target="_blank">cdn_op@leaf2.morphbius.com/cdn</a>"},<br>
                 {"type","normal"}],<br>
                [{xmlelement,"body",[],<br>
                  [{xmlcdata,<<"2010-11-11T21:05:54-05:00:Transferred">>}]},<br>
                 {xmlelement,"transaction",<br>
[...body of msg removed for sake of brevity...]<br>
>>}]}]}]}<br>
<br>
<br>
=INFO REPORT==== 2010-11-11 21:06:12 ===<br>
D(<0.366.0>:ejabberd_s2s:251) : s2s manager<br>
        from {jid,"cdn_op","<a href="http://dist.morphbius.com" target="_blank">dist.morphbius.com</a>","cdn","cdn_op",<br>
                  "<a href="http://dist.morphbius.com" target="_blank">dist.morphbius.com</a>","cdn"}<br>
        to {jid,"cdn_op","<a href="http://leaf2.morphbius.com" target="_blank">leaf2.morphbius.com</a>","cdn","cdn_op",<br>
                "<a href="http://leaf2.morphbius.com" target="_blank">leaf2.morphbius.com</a>","cdn"}<br>
        packet {xmlelement,"message",<br>
                           [{"xml:lang","en"},{"sn",[...]},{[...],...},{...}],<br>
                           [{xmlelement,[...],...},{xmlelement,...},{...}]}<br>
<br>
<br>
=INFO REPORT==== 2010-11-11 21:06:12 ===<br>
D(<0.366.0>:ejabberd_s2s:286) : Finding connection for {"<a href="http://dist.morphbius.com" target="_blank">dist.morphbius.com</a>",<br>
                                                        "<a href="http://leaf2.morphbius.com" target="_blank">leaf2.morphbius.com</a>"}<br>
<br>
<br>
=INFO REPORT==== 2010-11-11 21:06:12 ===<br>
D(<0.366.0>:ejabberd_s2s:336) : Using ejabberd_s2s_out <0.488.0><br>
<br>
<br>
=INFO REPORT==== 2010-11-11 21:06:12 ===<br>
D(<0.366.0>:ejabberd_s2s:255) : sending to process <0.488.0><br>
<br>
[ Does the above mean this message has been sent?]<br>
<br>
=INFO REPORT==== 2010-11-11 21:06:16 ===<br>
D(<0.365.0>:ejabberd_receiver:320) : Received XML on stream = "<message sn='296' to='<a href="http://cdn_op@audit.morphbius.com/cdn" target="_blank">cdn_op@audit.morphbius.com/cdn</a>' type='normal\<br>

'><body>Starting transfer for 1059b190-d02f-012d-43ec-000c291809ee to <a href="http://leaf2.morphbius.com" target="_blank">leaf2.morphbius.com</a></body><transaction version='1.0' xmlns=\<br>

'<a href="http://startimes.com.cn/ns/cdn/1.0" target="_blank">http://startimes.com.cn/ns/cdn/1.0</a>'><log node='<a href="http://dist.morphbius.com" target="_blank">dist.morphbius.com</a>'><severity>info</severity><eventStr>Starting transfer for 1059\<br>

b [...more body removed for breivity...]<br>
<br>
<br>
=INFO REPORT==== 2010-11-11 21:06:16 ===<br>
D(<0.365.0>:shaper:61) : State: {maxrate,1000,999.9576444042286,<br>
                                    1289527576783112}, Size=2126<br>
M=2125.909955817265, I=9.362<br>
<br>
<br>
=INFO REPORT==== 2010-11-11 21:06:16 ===<br>
D(<0.366.0>:ejabberd_router:313) : route<br>
        from {jid,"cdn_op","<a href="http://dist.morphbius.com" target="_blank">dist.morphbius.com</a>","cdn","cdn_op",<br>
                  "<a href="http://dist.morphbius.com" target="_blank">dist.morphbius.com</a>","cdn"}<br>
        to {jid,"cdn_op","<a href="http://audit.morphbius.com" target="_blank">audit.morphbius.com</a>","cdn","cdn_op",<br>
                "<a href="http://audit.morphbius.com" target="_blank">audit.morphbius.com</a>","cdn"}<br>
<br>
=INFO REPORT==== 2010-11-11 21:06:16 ===<br>
D(<0.366.0>:ejabberd_s2s:251) : s2s manager<br>
        from {jid,"cdn_op","<a href="http://dist.morphbius.com" target="_blank">dist.morphbius.com</a>","cdn","cdn_op",<br>
                  "<a href="http://dist.morphbius.com" target="_blank">dist.morphbius.com</a>","cdn"}<br>
        to {jid,"cdn_op","<a href="http://audit.morphbius.com" target="_blank">audit.morphbius.com</a>","cdn","cdn_op",<br>
                "<a href="http://audit.morphbius.com" target="_blank">audit.morphbius.com</a>","cdn"}<br>
        packet {xmlelement,"message",<br>
                           [{"xml:lang","en"},{"sn",[...]},{[...],...},{...}],<br>
                           [{xmlelement,[...],...},{xmlelement,...},{...}]}<br>
<br>
<br>
=INFO REPORT==== 2010-11-11 21:06:16 ===<br>
D(<0.366.0>:ejabberd_s2s:286) : Finding connection for {"<a href="http://dist.morphbius.com" target="_blank">dist.morphbius.com</a>",<br>
                                                        "<a href="http://audit.morphbius.com" target="_blank">audit.morphbius.com</a>"}<br>
<br>
<br>
=INFO REPORT==== 2010-11-11 21:06:16 ===<br>
D(<0.366.0>:ejabberd_s2s:336) : Using ejabberd_s2s_out <0.482.0><br>
<br>
<br>
=INFO REPORT==== 2010-11-11 21:06:16 ===<br>
D(<0.366.0>:ejabberd_s2s:255) : sending to process <0.482.0><br>
<br>
<br>
_______________________________________________<br>
ejabberd mailing list<br>
<a href="mailto:ejabberd@jabber.ru">ejabberd@jabber.ru</a><br>
<a href="http://lists.jabber.ru/mailman/listinfo/ejabberd" target="_blank">http://lists.jabber.ru/mailman/listinfo/ejabberd</a><br>
</blockquote></div><br></div></div>