tst2005googlecode2 / prosody-modules

Automatically exported from code.google.com/p/prosody-modules
0 stars 0 forks source link

[mod_archive_muc] OneTeam client is not able to send/receive messages when module is enabled #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Enable mod_archive_muc
2. Connect to Jabber server using OneTeam client for Windows/iPhone (maybe 
others as well)
3. The messages sent/received are causing error in Prosody logs.

What is the expected output? What do you see instead?
The messages should be working fine

What version of the product are you using? On what operating system?
0.8.2 on Ubuntu 12.04 LTS

Please provide any additional information below.
Traceback:
Dec 26 11:34:10 xmppclient_listener     error   Traceback[c2s]: 
/usr/lib/prosody/core/usermanager.lua:79: attempt to index field '?' (a nil 
value): stack traceback:
        /usr/lib/prosody/net/xmppclient_listener.lua:62: in function </usr/lib/prosody/net/xmppclient_listener.lua:62>
        /usr/lib/prosody/core/usermanager.lua:79: in function 'user_exists'
        /usr/lib/prosody/modules/mod_archive_muc.lua:177: in function '?'
        /usr/lib/prosody/util/events.lua:67: in function 'fire_event'
        /usr/lib/prosody/core/stanza_router.lua:173: in function 'core_post_stanza'
        /usr/lib/prosody/core/stanza_router.lua:121: in function </usr/lib/prosody/core/stanza_router.lua:44>
        (tail call): ?
        [C]: in function 'xpcall'
        /usr/lib/prosody/net/xmppclient_listener.lua:66: in function 'cb_handlestanza'
        /usr/lib/prosody/util/xmppstream.lua:139: in function </usr/lib/prosody/util/xmppstream.lua:125>
        [C]: in function 'parse'
        /usr/lib/prosody/util/xmppstream.lua:200: in function 'feed'
        /usr/lib/prosody/net/xmppclient_listener.lua:145: in function 'data'
        /usr/lib/prosody/net/xmppclient_listener.lua:161: in function 'onincoming'
        /usr/lib/prosody/net/server_event.lua:625: in function </usr/lib/prosody/net/server_event.lua:590>
        [C]: in function 'loop'
        /usr/lib/prosody/net/server_event.lua:804: in function </usr/lib/prosody/net/server_event.lua:803>
        [C]: in function 'xpcall'
        /usr/bin/prosody:427: in function 'loop'
        /usr/bin/prosody:494: in main chunk
        [C]: ?

Original issue reported on code.google.com by akrusmob...@gmail.com on 26 Dec 2012 at 9:43

GoogleCodeExporter commented 9 years ago
As an example, here's the XML output of OneTeam (doesn't work) & Vacuum-IM 
(works fine):

OneTeam:
<message to='se@domain.com' type='chat' id='wl5dgd7ulx8i'>
<thread>
upjvsgtoskqe
</thread>
<active xmlns='http://jabber.org/protocol/chatstates'/>
<body>
test
</body>
<html xmlns='http://jabber.org/protocol/xhtml-im'>
<body xmlns='http://www.w3.org/1999/xhtml'>
test
</body>
</html>
</message>

Vacuum-IM:
  <message from="me@domain.com/Vacuum-IM" type="chat" to="se@domain.com/undef">
    <body>тест</body>
    <active xmlns="http://jabber.org/protocol/chatstates"/>
  </message>

Original comment by akrusmob...@gmail.com on 26 Dec 2012 at 9:57