metalaureate / prosody-modules

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

mod_archive eating s2s messages #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I was not receiving s2s messages from my friend's server.  Turned off 
mod_archive and it started working.  This was in the log file:

Oct 07 16:35:11 xmppserver_listener error   Traceback[s2s]: mod_archive.lua:415: 
attempt to call field 'compare' (a nil value): stack traceback:
    /usr/lib/prosody/net/xmppserver_listener.lua:51: in function 'compare'
    mod_archive.lua:415: in function 'match_jid'
    mod_archive.lua:715: in function 'find_pref'
    mod_archive.lua:744: in function 'apply_pref'
    mod_archive.lua:766: in function '?'
    /usr/lib/prosody/util/events.lua:79: in function 'fire_event'
    /usr/lib/prosody/core/stanza_router.lua:152: in function 'core_post_stanza'
    /usr/lib/prosody/core/stanza_router.lua:100: in function 'core_process_stanza'
    /usr/lib/prosody/net/xmppserver_listener.lua:56: in function </usr/lib/prosody/net/xmppserver_listener.lua:56>
    [C]: in function 'xpcall'
    /usr/lib/prosody/net/xmppserver_listener.lua:56: in function 'cb_handlestanza'
    /usr/lib/prosody/core/xmlhandlers.lua:119: in function </usr/lib/prosody/core/xmlhandlers.lua:109>
    [C]: in function 'parse'
    /usr/lib/prosody/net/xmppserver_listener.lua:83: in function 'data'
    /usr/lib/prosody/net/xmppserver_listener.lua:157: in function 'onincoming'
    /usr/lib/prosody/net/server_event.lua:623: in function </usr/lib/prosody/net/server_event.lua:588>
    [C]: in function 'loop'
    /usr/lib/prosody/net/server_event.lua:802: in function </usr/lib/prosody/net/server_event.lua:801>
    [C]: in function 'xpcall'
    /usr/bin/prosody:394: in function 'loop'
    /usr/bin/prosody:461: in main chunk
    [C]: ?

Original issue reported on code.google.com by singpol...@gmail.com on 7 Oct 2010 at 4:41

GoogleCodeExporter commented 9 years ago
This patch seems to solve this: http://pastie.org/1813016

Original comment by stephen....@gswot.org on 19 Apr 2011 at 8:30

GoogleCodeExporter commented 9 years ago
Do logs on http://mcepl.fedorapeople.org/tmp/prosody-logs.zip give any valuable 
information? For me result of switching on mod_archive was complete inability 
to send any message to anybody (I could read what they write) both in 
peer-to-peer chat and in MUCs.

Original comment by matej.c...@gmail.com on 1 Apr 2012 at 8:22

GoogleCodeExporter commented 9 years ago
And I think the priority should way higher than medium ... for me it is no go 
for this module.

Original comment by matej.c...@gmail.com on 1 Apr 2012 at 8:23