[JDEV] Something up with jabber.org?

Matthias Wimmer m at tthias.net
Thu Aug 7 03:27:55 CDT 2003


Hi Mikael, hi Peter!

Mikael Hallendal schrieb am 2003-07-29 17:47:32:
> I got some reports from people having problems connecting to jabber.org
> with Gossip and when trying it out I got this:
> 
> Sent:
> <iq id="msg_4" type="get">  
>   <query xmlns="jabber:iq:auth"> 
>     <username>hallski</username>
>   </query>
> </iq>
> 
> Recv:
> 
> <iq type='error' id='keh_1331'>
>   <query xmlns='jabber:iq:auth'>
>     <username>XXXXX XXXXXX</username>
>   </query>
>   <error code='406'>Not Acceptable</error>
> </iq>
> 
> Where the XXX part is a name I've never seen before.

I don't know if it is the same problem, but I am aware of a similar
problem on my own jabber server (amessage).

On amessage it happens from time to time, that messages are delivered to
wrong users. This is caused if the client connection manager crashes
(and gets restarted) while the session manager continued to run.

The problem with this is that the individual TCP/IP connections the
client connection manager handles are addressed as <filedescriptor>@c2s.
If the client connection manager crashes the session manager is not
informed, that all the clients went offline and keeps their state as
"online" and their connection as it was.
If new clients come online they get the same filedescriptors again
(filedescriptors are handles that are just incremented) and if users,
that were online before get messages they are directed to their old file
descriptors and the wrong user gets the message.
Even worse: The the new user sends a message, he is identified by his
file descriptor by the session manager that looks up the corresponding
JID of the user and finds the old one. Therefore the new user sends is
messages with the JID of the old user.

I wrote a fix for this, but have not yet applied it to my own server, as
I do not have much time at the moment.

I could imagine that something similar happens in your case ... maybe
the sessionmanager thinks you are already authenticated as someone else
and does not accept that you try to authenticate as "hallski". Just a
guess, never noticed this problem on my own Jabber server.


Tot kijk
    Matthias

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20030807/f943cd41/attachment-0002.pgp>


More information about the JDev mailing list