连接断开ejabberd

时间:2015-12-23 15:20:16

标签: erlang ejabberd riak

我正在使用带有riak后端的ejabberd服务器的IM应用程序进行离线消息,它会出现以下错误 -

** Function: count_by_index
** Table: offline_msg
** Index = <<"us">>
** Key: {<<"917280122322">>,<<"domain.com">>}
** Error: {error,disconnected}
20:35:46.340 [error] database error:
** Function: put
** Record = {offline_msg,
                {<<"917280122322">>,<<"domain.com">>},
                {1450,883146,339993},
                never,
                {jid,<<"917575757575">>,<<"domain.com">>,<<"Smack">>,
                    <<"917575757575">>,<<"domain.com">>,<<"Smack">>},
                {jid,<<"917280122322">>,<<"domain.com">>,<<>>,
                    <<"917280122322">>,<<"domain.com">>,<<>>},
                {xmlel,<<"message">>,
                    [{<<"xml:lang">>,<<"en">>},
                     {<<"to">>,<<"917280122322@domain.com">>},
                     {<<"id">>,<<"g8GdH-18">>},
                     {<<"type">>,<<"chat">>}],
                    [{xmlel,<<"body">>,[],[{xmlcdata,<<"igivonof">>}]}]}}
** Index info = [{i,{1450,883146,339993}},
                 {'2i',[{<<"us">>,{<<"917080122321">>,<<"domain.com">>}}]}]
** Error: {error,disconnected}

请建议我解决一下。

0 个答案:

没有答案