[Wocky] What to do when can't connect to Jabber?
Greg Hudson
ghudson at MIT.EDU
Fri Apr 14 18:29:39 EDT 2006
On Fri, 2006-04-14 at 18:23 -0400, Ken Raeburn wrote:
> Do you want other people to try it out and get you a log from a
> successful connection?
I think the race condition is actually on the server.
Adium is sending two stanzas in a row:
1. Please start me up a session.
2. Do you support google:mail:notify?
I belive (though I haven't checked the standards yet) that Adium is
supposed to be waiting for a response from stanza 1 before sending
stanza 2 or anything else. Because it doesn't, we run afoul of a weird
property of jabberd2: it handles requests by passing them around between
several independent processes. If the session manager hasn't yet
processed stanza 1 and responded, the client handler reacts to stanza 2
by throwing a stream error and closing the stream. But if the delay
between stanzas is long enough for the server to process the session
request and respond to it (and the stanzas are sent in two separate
packates, so there very well may be enough delay), then the client
handler notices the response and allows stanza 2.
More information about the Wocky
mailing list