shared roster error? {badmatch, {error,

I think this may have something to do with shared rosters, the problem happens sometimes when I'm creating or modifying shared rosters in the ejabberd admin panel.

This is the error in my ejabberd log file.

=ERROR REPORT==== 2011-05-04 15:22:57 ===
E(<0.14563.2>:ejabberd_hooks:294) : {{badmatch,
                                      {error,
                                       {xmlelement,"error",
                                        [{"code","500"},{"type","wait"}],
                                        [{xmlelement,"internal-server-error",
                                          [{"xmlns",
                                            "urn:ietf:params:xml:ns:xmpp-stanzas"}],
                                          []}]}}},
                                     [{mod_pubsub_odbc,
                                       '-purge_offline/1-fun-0-',4},
                                      {lists,foldl,3},
                                      {mod_pubsub_odbc,purge_offline,1},
                                      {ejabberd_hooks,run1,3},
                                      {ejabberd_c2s,terminate,3},
                                      {p1_fsm,terminate,7},
                                      {proc_lib,init_p,5}]}
running hook: {sm_remove_connection_hook,
                  [{{1304,536947,465002},<0.14563.2>},
                   {jid,"jlookabaugh","devsrv-cht1.suarez.local",
                       "myUCloud_1","jlookabaugh","devsrv-cht1.suarez.local",
                       "myUCloud_1"},
                   [{ip,{{172,25,4,8},43448}},
                    {conn,http_bind},
                    {auth_module,ejabberd_auth_odbc}]]}

Any help in pinpointing the problem would be GREATLY APPRECIATED!!! Thanks guys!

I think that error happens

I think that error happens when the user disconnects from the server, and ejabberd is reading something in the pubsub tables about that user. That is unrelated to what you may configure in Shared Rosters.

If this error happens only with that jlookabaugh account, you could try to remove from the pubsub SQL tables any reference to him.

If the error happens for many different accounts, and you don't care about information that clients may have stored in pubsub, you can delete the content in all the pubsub SQL tables.

In other case, the best you can do is to wait, maybe other people can give more ideas about where the problem is.

more info regarding

Thank you very much for taking the time to respond to my post. I looked in the sql database in all of the tables starting with 'pubsub', they are all empty. Could this be related to the problem? Maybe information isn't being put in there correctly?

There is information in the ejabberd db under other tables such as 'rostergroups' and 'rosterusers', so I know that ejabberd is talking to the database and putting information in there. What exactly is stored in pubsub?

Thank you!

Re:

habicious wrote:

I looked in the sql database in all of the tables starting with 'pubsub', they are all empty.

What exactly is stored in pubsub?

Some clients use Pubsub to store some information. If your users didn't complain about Pubsub not working, then you can disable mod_pubsub in ejabberd.cfg

More news: I probably found

More news: I probably found the problem, being an incorrect configuration, check: http://www.ejabberd.im/node/4674#comment-57328

Syndicate content