List Info

Thread: Yahoo Connection Drop




Yahoo Connection Drop
user name
2007-03-29 12:15:03
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 we9;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_yahoofoo.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
Small Server Help
country flaguser name
United States
2007-03-30 09:45:12
All,

I need to set up a small jabber server (<10 users) but
would like conferencing 
and a user's directory that is publicly available. 
Obviously I'd also like 
to be able to let my users chat outside our server and vise
versa.  I'm not 
opposed to a switch to jabber2, however ejabberd is out
because I don't want 
to add Erlang to my server, it's simply too much weight for
something that 
will get so little use.

I have a small jabberd14 1.6 server set up and the base
system is working like 
a charm.  My configuration:

FreeBSD 6
jabberd14 1.6 (from ports)
conference 0.4.1 (from ports)
jud 0.5 (from ports)
MySQL (from ports)

I'm having a heck of a time getting the conference and jud
to work, though.  
I've found some sparse documentation that says you need to
use xdb-file for 
them instead of the MySQL for storage, but I haven't been
able to make that 
work.  I'd prefer that my users and their status be in MySQL
so that I can 
more easily make that available to my web site, but I'm not
sold that it must 
happen.  Where the rest of the data lives is irrelevant to
me.

I have 4 DNS SRV records set, though documentation was
pretty sketchy there as 
well:

_xmpp-client._tcp.imitix.com. in srv  0 5 5222 imitix.com.
_xmpp-server._tcp.imitix.com. in srv  0 5 5269 imitix.com.
_xmpp-server._tcp.conference.imitix.com. in srv  0 5 5269
imitix.com.
_xmpp-server._tcp.users.imitix.com. in srv  0 5 5269
imitix.com.


Any help would be greatly appreciated.

Eric
_______________________________________________
JAdmin mailing list
JAdminjabber.org
http:/
/mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
_______________________________________________

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )