Hi,<br><br>I am having a little trouble with mod_pub_sub and I was hoping someone could offer some advice. I am pretty sure I am using ejabberd 2.0.1<br><br>I belive I have it installed correctly.  I am following the samples at <a href="http://www.ejabberd.im/mod_pubsub-usage">http://www.ejabberd.im/mod_pubsub-usage</a> and I am not getting the responses that I expect.<br>
<br>My modules are the default.<br><br>{mod_pubsub,   [ % requires mod_caps<br>                  {access_createnode, pubsub_createnode},<br>                  {plugins, [&quot;default&quot;, &quot;pep&quot;]}<br>                 ]},<br>
<br>I create a pub sub node using the admin account:<br><br>&lt;iq type=&#39;set&#39; from=&#39;<a href="mailto:admin@somedomain.com">admin@somedomain.com</a>&#39; to=&#39;<a href="http://somedomain.com">somedomain.com</a>&#39; id=&#39;create2&#39;&gt;<br>
  &lt;pubsub xmlns=&#39;<a href="http://jabber.org/protocol/pubsub">http://jabber.org/protocol/pubsub</a>&#39;&gt;<br>    &lt;create/&gt;<br>    &lt;configure/&gt;<br>  &lt;/pubsub&gt;<br>&lt;/iq&gt;<br><br>And it returns a value which I expect.<br>
<br>&lt;iq from=&#39;<a href="http://somedomain.com">somedomain.com</a>&#39; to=&#39;<a href="http://admin@somedomain.com/7482463691236769788380933">admin@somedomain.com/7482463691236769788380933</a>&#39; id=&#39;create2&#39; type=&#39;result&#39;&gt;<br>
<div style="margin-left: 40px;">&lt;pubsub xmlns=&#39;<a href="http://jabber.org/protocol/pubsub">http://jabber.org/protocol/pubsub</a>&#39;&gt;<br><div style="margin-left: 40px;">&lt;create node=&#39;/home/<a href="http://somedomain.com/admin/2382497678&#39;/">somedomain.com/admin/2382497678&#39;/</a>&gt;<br>
</div>&lt;/pubsub&gt;<br></div>&lt;/iq&gt;<br><br>I then try to subscribe using the user paul.<br><br>&lt;iq type=&quot;set&quot; from=&quot;<a href="mailto:paul@somedomain.com">paul@somedomain.com</a>&quot; to=&quot;<a href="http://somedomain.com">somedomain.com</a>&quot; id=&quot;sub1&quot;&gt;<br>
  &lt;pubsub xmlns=&quot;<a href="http://jabber.org/protocol/pubsub">http://jabber.org/protocol/pubsub</a>&quot;&gt;<br>    &lt;subscribe node=&quot;/home/<a href="http://somedomain.com/admin/2382497678">somedomain.com/admin/2382497678</a>&quot; jid=&quot;<a href="mailto:paul@somedomain.com">paul@somedomain.com</a>&quot;/&gt;<br>
  &lt;/pubsub&gt;<br>&lt;/iq&gt;<br><br>but it returns a status that I don&#39;t expect and can&#39;t work out why.<br><br>&lt;iq from=&#39;<a href="http://somedomain.com">somedomain.com</a>&#39; to=&#39;<a href="http://admin@somedomain.com/7482463691236769788380933">admin@somedomain.com/7482463691236769788380933</a>&#39; id=&#39;sub1&#39; type=&#39;error&#39;&gt;<br>
<div style="margin-left: 40px;">&lt;error code=&#39;404&#39; type=&#39;cancel&#39;&gt;<br><div style="margin-left: 40px;">&lt;item-not-found xmlns=&#39;urn:ietf:params:xml:ns:xmpp-stanzas&#39;/&gt;<br></div>&lt;/error&gt;<br>
&lt;pubsub xmlns=&#39;<a href="http://jabber.org/protocol/pubsub">http://jabber.org/protocol/pubsub</a>&#39;&gt;<br><div style="margin-left: 40px;">&lt;subscribe node=&#39;/home/<a href="http://somedomain.com/admin/2382497678">somedomain.com/admin/2382497678</a>&#39; jid=&#39;<a href="mailto:paul@somedomain.com">paul@somedomain.com</a>&#39;/&gt;<br>
</div>&lt;/pubsub&gt;<br></div>&lt;/iq&gt;<br><br>If anyone has any ideas I would love to hear them.<br><br>Kind Regards,<br>Paul.<br><br>