[jadmin] Yahoo Connection Drop

Joe Handelsman joe4400h at gmail.com
Thu Mar 29 12:15:03 CDT 2007


All,
We're trying to run Jabber 1.4 with the Yahoo transport 2.3.2 (with a small
patch that one of the developers gave us for a problem about a year and a
half ago).  Things are working pretty well, but we're getting a situation
every two hours where the transport will drop the connection to Yahoo.  When
we detect the situation we simply send (via XMPP from our
client) a presence available packet to the transport and the connection is
immediately reestablished.  But all of our buddies see us go off then online
again.  We put the transport in debug mode.  Below is the critical section
of the log with the disconnect (I've annotated it slightly). It looks like
Yahoo is possibly sending some kind of packet that the
transport doesn't understand, and the transport shuts down?

I've looked at the code quite a bit, but can't really tell what's going on.
Anyway, here's the log (I've changed names to protect the innocent):

Common:

Tue Mar 27 19:17:31 2007  mio.c:829 mio while loop, working Tue Mar 27
19:17:31 2007  mio.c:977 MIO read from socket 9: YMSG

Not common, but happens at other times:

Tue Mar 27 19:17:31 2007  yahoo.c:1431 [YAHOO]: Read 63 [0] bytes (fd=9) for
' jabberUsername_at_yahoo at foo.com/Smack'

When this happens right after the prior line, we're in the situation:

Tue Mar 27 19:17:31 2007  yahoo.c :1450 [YAHOO]: 13 bytes to read, rxlen is
63

Situation:

Tue Mar 27 19:17:31 2007  yahoo.c:1461 [YAHOO]: Service: 0x54 Status: -1

Not common, but happens at other times:

Tue Mar 27 19:17:31 2007  yahoo.c:324 Read Key: 1       Value:
yahoo_username

Situation:

Tue Mar 27 19:17:31 2007  yahoo.c:1378 unhandled service 0x54

Tue Mar 27 19:17:31 2007  yahoo.c:1450 [YAHOO]: 10 bytes to read, rxlen is
30

Tue Mar 27 19:17:31 2007  yahoo.c:1461 [YAHOO]: Service: 0x7d1 Status:
-65536

Tue Mar 27 19:17:31 2007  yahoo.c:324 Read Key: 66      Value: 1014

Tue Mar 27 19:17:31 2007  yahoo.c:1378 unhandled service 0x7d1

Common:

Tue Mar 27 19:17:31 2007  mio.c:816 mio while loop top Tue Mar 27 19:17:31
2007  mio.c:829 mio while loop, working

I believe that this is the actual closing of the socket:

Tue Mar 27 19:17:31 2007  yahoo.c:1387 [YAHOO]: MIO_CLOSE (fd=9)

Any help would be greatly appreciated.
Thanks in advance,
Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jadmin/attachments/20070329/0f7ee1d6/attachment.htm


More information about the JAdmin mailing list