Christian Archer (chris_archer) wrote in ru_jabber,
Christian Archer
chris_archer
ru_jabber

PEP в Ejabberd

В ejabberd внезапно перестал работать PEP

конфиг:

%% Only accounts on the local ejabberd server can create Pubsub nodes:
{access, pubsub_createnode, [{allow, local}]}.

{mod_pubsub, [
{access_createnode, pubsub_createnode},
%%{ignore_pep_from_offline, true}, % reduces resource comsumption, but XEP incompliant
{ignore_pep_from_offline, false}, % XEP compliant, but increases resource comsumption
{last_item_cache, false},
{plugins, ["flat", "hometree", "pep"]} % pep requires mod_caps
]},

общение с серваком:


<lj-cut text="кусок xml"><iq id="ab0ca" type="set">
<pubsub xmlns="http://jabber.org/protocol/pubsub">
<publish node="http://jabber.org/protocol/mood">
<item id="current">
<mood xmlns="http://jabber.org/protocol/mood">
<disappointed></disappointed>
<text>PEP doesn&#39;t work :(</text></mood></item></publish></pubsub></iq>

<iq from="sunchaser@sunchaser.info" id="ab0ca" to="sunchaser@sunchaser.info/Geneva" type="error">
<error code="403" type="auth">
<forbidden xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"></forbidden></error>
<pubsub xmlns="http://jabber.org/protocol/pubsub">
<publish node="http://jabber.org/protocol/mood">
<item id="current">
<mood xmlns="http://jabber.org/protocol/mood">
<disappointed></disappointed>
<text>PEP doesn&#39;t work :(</text></mood></item></publish></pubsub></iq>


настройки pubsub не трогал, до какого-то апдейта всё работало

Клиент Psi+ v0.16.109-webkit (20130412), сервер ejabberd-2.1.13-1.el6.i686 (CentOS 6)

В чём косяк?
Subscribe
  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 2 comments