[ejabberd] problem connecting to ietf.xmpp.org (group chat) - Fixed?

Yu-Shun Wang yushunwa at ISI.EDU
Tue Aug 2 02:59:31 MSD 2005


Hi,

Sorry to top post, and thanks to Alexey for the help.

I finally re-installed and upgraded all dependencies to
all current versions on the FreeBSD port tree, and that
seems to have fixed the problem.

I basically did "portupgrade -R ejabberd": (It didn't do
gettext & gtk12 for some reason, the follwoing was shown
for this email w/ "-n" added after the build)

--->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
         - lang/perl5.8 (perl-5.8.7)
         - lang/tcl84 (tcl-8.4.11,1)
         - textproc/expat2 (expat-1.95.8_3)
         - converters/libiconv (libiconv-1.9.2_1)
         + devel/gettext (gettext-0.14.1)
         - devel/pkgconfig (pkgconfig-0.17.2)
         - devel/glib12 (glib-1.2.10_11)
         - print/freetype2 (freetype2-2.1.10)
         - x11-fonts/fontconfig (fontconfig-2.2.3,1)
         - x11/xorg-libraries (xorg-libraries-6.8.2)
         + x11-toolkits/gtk12 (gtk-1.2.10_12)
         - databases/libiodbc (libiodbc-3.52.2)
         - x11-toolkits/tk84 (tk-8.4.11,2)
         - lang/erlang (erlang-r10b6_1,1)
         - net/ejabberd (ejabberd-0.9.1_1)
--->  Packages processed: 2 done, 13 ignored, 0 skipped and 0 failed

I manually changed a couple of "?DEBUG" into "?INFO_MSG" and
got these: (some typos were added for easy grep), so the SRV
lookups actually works with the inetrc patch:

===============================================================

=INFO REPORT==== 2005-08-01 15:20:34 ===
I(<0.313.0>:ejabberd_s2s_out:87): started: {"jabber.isi.edu",
                                             "ietf.xmpp.org",
                                             {new,"4161108710"}}

=INFO REPORT==== 2005-08-01 15:20:34 ===
I(<0.313.0>:ejabberd_s2s_out:521): srv lookup of 'ietf.xmpp.org': [{30,
                                                                     30,
                                                                     6269,
 
"xmpp.org"}]


=INFO REPORT==== 2005-08-01 15:20:34 ===
I(<0.313.0>:ejabberd_s2s_out:111): s2s_oout: 
{"ietf.xmpp.org","xmpp.org",6269}

=INFO REPORT==== 2005-08-01 15:20:34 ===
I(<0.313.0>:ejabberd_s2s_out:115): s2s_out: connecting to xmpp.org:6269


=INFO REPORT==== 2005-08-01 15:20:34 ===
I(<0.224.0>:ejabberd_listener:90): (#Port<0.380>) Accepted connection 
{{208,245,212,98
},44459} -> {{128,9,168,121},5269}

=INFO REPORT==== 2005-08-01 15:20:34 ===
I(<0.315.0>:ejabberd_s2s_in:93): started: {gen_tcp,#Port<0.380>}

=INFO REPORT==== 2005-08-01 15:20:34 ===
I(<0.315.0>:ejabberd_s2s_in:161): VERIFY KEY: {"jabber.isi.edu",
                                                "ietf.xmpp.org",
                                                "23D742D0BBE",
                                                "4161108710"}

=INFO REPORT==== 2005-08-01 15:20:34 ===
I(<0.313.0>:ejabberd_s2s_out:209): recv result: {"ietf.xmpp.org",
                                                  "jabber.isi.edu",
                                                  [],
                                                  "valid"}

=INFO REPORT==== 2005-08-01 15:20:34 ===
I(<0.315.0>:ejabberd_s2s_in:314): terminated: normal

==========================================================

I am still waiting for our users in Paris to test tomorrow.
But it works for me now.

yushun

Yu-Shun Wang wrote:
> Hi, Alexey,
> 
> I could also patch my local ejabberd installation if you
> need some debugging info. I don't know anything at all
> about erlang, so you will have to give me the exact code
> segments. :-)
> 
> Thanks in advance,
> 
> yushun
> 
> Yu-Shun Wang wrote:
> 
>> Alexey Shchepin wrote:
>>
>>> Hello, Yu-Shun!
>>>
>>> On Mon, 01 Aug 2005 11:46:25 -0700, you said:
>>>
>>>  YW> Alexey Shchepin wrote:
>>>  >> Please, show the content of /etc/resolv.conf, and the result of 
>>> executing
>>>  >> the following in erlang shell:
>>>
>>> [...]
>>>
>>> Hm, looks ok, try to run "ets:tab2list(inet_db)." using
>>> % erl -sname test -kernel inetrc \"/etc/ejabberd/inetrc\"
>>>
>>> and also try to run
>>> inet_res:getbyname("_xmpp-server._tcp.ietf.xmpp.org", srv).

<...>

-- 
Yu-Shun Wang <yushunwa at isi.edu>  http://www.isi.edu/~yushunwa
USC Information Sciences Institute
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3314 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.jabber.ru/pipermail/ejabberd/attachments/20050801/06f5a7ca/smime-0001.bin


More information about the ejabberd mailing list