[ejabberd] plenty of mod_pubsub:transaction return internal error

Zeus Panchenko zeus at ibs.dn.ua
Tue Dec 8 23:07:56 MSK 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

greetings,

may somebody advise, how bad are such messages in error.log and how to get rid of them?

here details are:

OS: FreeBSD 10.0-RELEASE-p11 #1 r273800 amd64
ejabberd-14.07_2
erlang-17.3,3

- ---[ error.log quotation start ]-------------------------------------------
2015-12-08 21:16:37.366 [error] <0.28838.785>@mod_pubsub:transaction:5184 transaction return internal error: {'EXIT',{{case_clause,[{pubsub_node,{{"user01","im.foo.bar",[]},<<"http://jabber.org/protocol/activity">>},126,[],"user02",[{"user01","im.foo.bar",[]}],[{deliver_payloads,true},{notify_config,false},{notify_delete,false},{notify_retract,false},{purge_offline,false},{persist_items,false},{max_items,10},{subscribe,true},{access_model,presence},{roster_groups_allowed,[]},{publish_model,publishers},{notification_type,headline},{max_payload_size,60000},{send_last_published_item,on_sub_and_presence},{deliver_notifications,true},{presence_based_delivery,true}]},{pubsub_node,{{<<"user17">>,<<"im.foo.bar">>,<<>>},<<"urn:xmpp:avatar:data">>},126,[],<<"user02">>,[{<<"user17">>,<<"im.foo.bar">>,<<>>}],[{deliver_payloads,true},{notify_config,false},{notify_delete,false},{notify_retract,false},{purge_offline,false},{persist_items,true},{max_items,1},{subscribe,true},{access_model,presence},{roster_groups_allowed,[]},{publish_model,publishers},{notification_type,headline},{max_payload_size,60000},{send_last_published_item,on_sub_and_presence},{deliver_notifications,true},{presence_based_delivery,true}]}]},[{nodetree_tree,get_node,1,[{file,"src/nodetree_tree.erl"},{line,132}]},{node_hometree,'-get_entity_subscriptions/2-fun-1-',4,[{file,"src/node_hometree.erl"},{line,833}]},{lists,foldl,3,[{file,"lists.erl"},{line,1261}]},{node_hometree,get_entity_subscriptions,2,[{file,"src/node_hometree.erl"},{line,831}]},{mod_pubsub,node_call,3,[{file,"src/mod_pubsub.erl"},{line,5128}]},{mnesia_tm,non_transaction,5,[{file,"mnesia_tm.erl"},{line,738}]},{mod_pubsub,transaction,2,[{file,"src/mod_pubsub.erl"},{line,5174}]},{mod_pubsub,'-send_loop/1-fun-1-',5,[{file,"src/mod_pubsub.erl"},{line,790}]}]}}
2015-12-08 21:16:37.366 [error] emulator Error in process <0.28838.785> on node 'ejabberd at node.foo.bar' with exit value: {{badmatch,{error,{xmlel,<<5 bytes>>,[{<<4 bytes>>,<<3 bytes>>},{<<4 bytes>>,<<4 bytes>>}],[{xmlel,<<21 bytes>>,[{<<5 bytes>>,<<35 bytes>>}],[]}]}}},[{mod_pubsub,'-send_loop/1-fun-1-',5,[{file,"src/mod_pubsub.erl"},{line,790}]},{lists,foreach,2,[{file,"lists.erl"},{line,1336}]},{mod_pubsub,send_loop,1,[{file,"src/mod_pubsub.... 


2015-12-08 21:19:49.728 [error] <0.6661.844>@mod_pubsub:transaction:5184 transaction return internal error: {'EXIT',{{case_clause,[{pubsub_node,{{"user51","im.foo.bar",[]},<<"http://jabber.org/protocol/tune">>},122,[],"user02",[{"user51","im.foo.bar",[]}],[{deliver_payloads,true},{notify_config,false},{notify_delete,false},{notify_retract,false},{purge_offline,false},{persist_items,false},{max_items,10},{subscribe,true},{access_model,presence},{roster_groups_allowed,[]},{publish_model,publishers},{notification_type,headline},{max_payload_size,60000},{send_last_published_item,on_sub_and_presence},{deliver_notifications,true},{presence_based_delivery,true}]},{pubsub_node,{{<<"user06">>,<<"im.foo.bar">>,<<>>},<<"http://jabber.org/protocol/tune">>},122,[],<<"user02">>,[{<<"user06">>,<<"im.foo.bar">>,<<>>}],[{deliver_payloads,true},{notify_config,false},{notify_delete,false},{notify_retract,false},{purge_offline,false},{persist_items,true},{max_items,1},{subscribe,true},{access_model,presence},{roster_groups_allowed,[]},{publish_model,publishers},{notification_type,headline},{max_payload_size,60000},{send_last_published_item,on_sub_and_presence},{deliver_notifications,true},{presence_based_delivery,true}]}]},[{nodetree_tree,get_node,1,[{file,"src/nodetree_tree.erl"},{line,132}]},{node_hometree,'-get_entity_subscriptions/2-fun-1-',4,[{file,"src/node_hometree.erl"},{line,833}]},{lists,foldl,3,[{file,"lists.erl"},{line,1261}]},{node_hometree,get_entity_subscriptions,2,[{file,"src/node_hometree.erl"},{line,831}]},{mod_pubsub,node_call,3,[{file,"src/mod_pubsub.erl"},{line,5128}]},{mnesia_tm,non_transaction,5,[{file,"mnesia_tm.erl"},{line,738}]},{mod_pubsub,transaction,2,[{file,"src/mod_pubsub.erl"},{line,5174}]},{mod_pubsub,'-send_loop/1-fun-1-',5,[{file,"src/mod_pubsub.erl"},{line,790}]}]}}
2015-12-08 21:19:49.728 [error] emulator Error in process <0.6661.844> on node 'ejabberd at node.foo.bar' with exit value: {{badmatch,{error,{xmlel,<<5 bytes>>,[{<<4 bytes>>,<<3 bytes>>},{<<4 bytes>>,<<4 bytes>>}],[{xmlel,<<21 bytes>>,[{<<5 bytes>>,<<35 bytes>>}],[]}]}}},[{mod_pubsub,'-send_loop/1-fun-1-',5,[{file,"src/mod_pubsub.erl"},{line,790}]},{lists,foreach,2,[{file,"lists.erl"},{line,1336}]},{mod_pubsub,send_loop,1,[{file,"src/mod_pubsub....
- ---[ error.log quotation end   ]-------------------------------------------



my config file contains:

- ---[ ejabberd.yml quotation start ]-------------------------------------------
host_config:
...
    auth_method: ldap
...
modules:
...
  mod_pubsub: 
    last_item_cache: true
...
- ---[ ejabberd.yml quotation end   ]-------------------------------------------

- -- 
Zeus V. Panchenko				jid:zeus at im.ibs.dn.ua
IT Dpt., I.B.S. LLC					  GMT+2 (EET)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlZnOJwACgkQr3jpPg/3oyow9QCfU+o2HAjF9JXgrM/sy3rnJ2jL
jdQAnR5/0WNYakxEeMbJUqyqtyRYKlkM
=6hx2
-----END PGP SIGNATURE-----


More information about the ejabberd mailing list