<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 12"><meta name="Originator" content="Microsoft Word 12"><link rel="File-List" href="file:///C:%5CUsers%5CVincent%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"><link rel="themeData" href="file:///C:%5CUsers%5CVincent%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"><link rel="colorSchemeMapping" href="file:///C:%5CUsers%5CVincent%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"><style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;
        mso-font-charset:0;
        mso-generic-font-family:roman;
        mso-font-pitch:variable;
        mso-font-signature:-1610611985 1107304683 0 0 415 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:-520092929 1073786111 9 0 415 0;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;
        mso-font-charset:0;
        mso-generic-font-family:modern;
        mso-font-pitch:fixed;
        mso-font-signature:-520092929 1073806591 9 0 415 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-unhide:no;
        mso-style-qformat:yes;
        mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-ascii-font-family:Calibri;
        mso-ascii-theme-font:minor-latin;
        mso-fareast-font-family:Calibri;
        mso-fareast-theme-font:minor-latin;
        mso-hansi-font-family:Calibri;
        mso-hansi-theme-font:minor-latin;
        mso-bidi-font-family:"Times New Roman";
        mso-bidi-theme-font:minor-bidi;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        mso-themecolor:hyperlink;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-noshow:yes;
        mso-style-priority:99;
        color:purple;
        mso-themecolor:followedhyperlink;
        text-decoration:underline;
        text-underline:single;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-noshow:yes;
        mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.5pt;
        font-family:Consolas;
        mso-fareast-font-family:Calibri;
        mso-fareast-theme-font:minor-latin;
        mso-bidi-font-family:"Times New Roman";
        mso-bidi-theme-font:minor-bidi;
        mso-fareast-language:EN-US;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-noshow:yes;
        mso-style-priority:99;
        mso-style-unhide:no;
        mso-style-locked:yes;
        mso-style-link:"Plain Text";
        mso-ansi-font-size:10.5pt;
        mso-bidi-font-size:10.5pt;
        font-family:Consolas;
        mso-ascii-font-family:Consolas;
        mso-hansi-font-family:Consolas;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-default-props:yes;
        mso-ascii-font-family:Calibri;
        mso-ascii-theme-font:minor-latin;
        mso-fareast-font-family:Calibri;
        mso-fareast-theme-font:minor-latin;
        mso-hansi-font-family:Calibri;
        mso-hansi-theme-font:minor-latin;
        mso-bidi-font-family:"Times New Roman";
        mso-bidi-theme-font:minor-bidi;
        mso-fareast-language:EN-US;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;
        mso-header-margin:36.0pt;
        mso-footer-margin:36.0pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>

<p class="MsoPlainText">From: <a href="mailto:ejabberd-bounces@jabber.ru">ejabberd-bounces@jabber.ru</a>
[mailto:<a href="mailto:ejabberd-bounces@jabber.ru">ejabberd-bounces@jabber.ru</a>] On Behalf Of kael</p>

<p class="MsoPlainText">Sent: mercredi 20 janvier 2010 18:09</p>

<p class="MsoPlainText"> </p>

<p class="MsoPlainText"> </p>

<p class="MsoPlainText">On 01/20/2010 10:59 AM, Vincent Courcelle wrote:</p>

<p class="MsoPlainText">&gt; Hello,</p>

<p class="MsoPlainText"> </p>

<p class="MsoPlainText">&gt; Could you post the OS environment, the Ejabberd
version, and the </p>

<p class="MsoPlainText">&gt; excerpt of ejabberd.cfg containing {mod_pubsub, [
... ]} ?</p>

<p class="MsoPlainText"> </p>

<p class="MsoPlainText">Hi Kael, Hi Everybody,</p>

<p class="MsoPlainText"> </p>

<p class="MsoPlainText">I finnally managed the things, the problem was I was
calling <a href="http://push.oopad.com">push.oopad.com</a> instead of <a href="http://pubsub.push.oopad.com">pubsub.push.oopad.com</a></p>

<p class="MsoPlainText"> </p>

<p class="MsoPlainText">I&#39;m using Debian SID, ejabberd Version: 2.1.2-1
(installed via aptitude)</p>

<p class="MsoPlainText"> </p>

<p class="MsoPlainText">Config of pubsub is :</p>

<p class="MsoPlainText"><span style="">  </span>{mod_pubsub,<span style="">   </span>[ % requires mod_caps</p>

<p class="MsoPlainText"><span style="">                 
</span>{access_createnode, pubsub_createnode},</p>

<p class="MsoPlainText"><span style="">                 
</span>{pep_sendlast_offline, false},</p>

<p class="MsoPlainText"><span style="">                 
</span>{last_item_cache, false},</p>

<p class="MsoPlainText"><span style="">                 
</span>%% {plugins, [&quot;default&quot;, &quot;pep&quot;]}</p>

<p class="MsoPlainText"><span style="">                 
</span>{plugins, [&quot;flat&quot;, &quot;hometree&quot;,
&quot;pep&quot;]}<span style="">  </span>% pep requires
mod_caps</p>

<p class="MsoPlainText"> </p>

<p class="MsoPlainText">I&#39;ve a new problem now, anonymous subscription aren&#39;t
removed at user disconnection, thus causing a LOT of orphan subscriptions to be
left (as almost every page views creates an anonymous connection + a
subscription). The bug is known and described here with a fix, but I&#39;ve no idea
where to put the line : <a href="https://support.process-one.net/browse/EJAB-913">https://support.process-one.net/browse/EJAB-913</a></p>

<p class="MsoPlainText">Do you have any idea how to solve this?</p>

<p class="MsoPlainText"> </p>

<p class="MsoPlainText">Here are how the subscription is done:</p>

<p class="MsoPlainText">SENT: &lt;body rid=&#39;351001713&#39;
xmlns=&#39;<a href="http://jabber.org/protocol/httpbind">http://jabber.org/protocol/httpbind</a>&#39;
sid=&#39;1bceae00285f64b50f45e207317804a3d850450a&#39;&gt;&lt;iq
from=&#39;<a href="http://3862577295126468371691261@push.oopad.com/1812062654126468372345142">3862577295126468371691261@push.oopad.com/1812062654126468372345142</a>&#39;
to=&#39;<a href="http://pubsub.push.oopad.com">pubsub.push.oopad.com</a>&#39; type=&#39;set&#39; id=&#39;297:subscribenode&#39;
xmlns=&#39;jabber:client&#39;&gt;&lt;pubsub
xmlns=&#39;<a href="http://jabber.org/protocol/pubsub">http://jabber.org/protocol/pubsub</a>&#39;&gt;&lt;subscribe
node=&#39;/home/<a href="http://push.oopad.com/server/channel">push.oopad.com/server/channel</a>&#39;
jid=&#39;<a href="http://3862577295126468371691261@push.oopad.com/1812062654126468372345142&#39;/">3862577295126468371691261@push.oopad.com/1812062654126468372345142&#39;/</a>&gt;&lt;/pubsub&gt;&lt;/iq&gt;&lt;/body&gt;</p>


<p class="MsoPlainText">RECV: &lt;body
xmlns=&#39;<a href="http://jabber.org/protocol/httpbind">http://jabber.org/protocol/httpbind</a>&#39;&gt;&lt;message
xmlns=&#39;jabber:client&#39; from=&#39;<a href="http://pubsub.push.oopad.com">pubsub.push.oopad.com</a>&#39;
to=&#39;<a href="http://3862577295126468371691261@push.oopad.com/1812062654126468372345142">3862577295126468371691261@push.oopad.com/1812062654126468372345142</a>&#39;&gt;&lt;event
xmlns=&#39;<a href="http://jabber.org/protocol/pubsub#event">http://jabber.org/protocol/pubsub#event</a>&#39;&gt;&lt;items node=&#39;/home/<a href="http://push.oopad.com/server/channel&#39;/">push.oopad.com/server/channel&#39;/</a>&gt;&lt;/event&gt;&lt;/message&gt;&lt;/body&gt;</p>


<p class="MsoPlainText">RECV: &lt;body
xmlns=&#39;<a href="http://jabber.org/protocol/httpbind">http://jabber.org/protocol/httpbind</a>&#39;&gt;&lt;iq xmlns=&#39;jabber:client&#39;
from=&#39;<a href="http://pubsub.push.oopad.com">pubsub.push.oopad.com</a>&#39;
to=&#39;<a href="http://3862577295126468371691261@push.oopad.com/1812062654126468372345142">3862577295126468371691261@push.oopad.com/1812062654126468372345142</a>&#39;
id=&#39;297:subscribenode&#39; type=&#39;result&#39;&gt;&lt;pubsub
xmlns=&#39;<a href="http://jabber.org/protocol/pubsub">http://jabber.org/protocol/pubsub</a>&#39;&gt;&lt;subscription
jid=&#39;<a href="http://3862577295126468371691261@push.oopad.com/1812062654126468372345142">3862577295126468371691261@push.oopad.com/1812062654126468372345142</a>&#39;
subscription=&#39;subscribed&#39; subid=&#39;4F010B1D82CF7&#39;/&gt;&lt;/pubsub&gt;&lt;/iq&gt;&lt;/body&gt;</p>

<p class="MsoPlainText"> </p>

<p class="MsoPlainText"> </p>

<p class="MsoPlainText"> </p>

<p class="MsoPlainText">And retrieved by the owner:</p>

<p class="MsoPlainText">SENT: &lt;body rid=&#39;1994531870&#39;
xmlns=&#39;<a href="http://jabber.org/protocol/httpbind">http://jabber.org/protocol/httpbind</a>&#39;
sid=&#39;7b2b4ed881cfa7a7f156ce1d7942dbc5ca8e4b9f&#39;&gt;&lt;iq type=&#39;get&#39;
from=&#39;<a href="http://server@push.oopad.com/3965767225126468241566636">server@push.oopad.com/3965767225126468241566636</a>&#39;
to=&#39;<a href="http://pubsub.push.oopad.com">pubsub.push.oopad.com</a>&#39; id=&#39;subman1&#39; xmlns=&#39;jabber:client&#39;&gt;&lt;pubsub
xmlns=&#39;<a href="http://jabber.org/protocol/pubsub#owner">http://jabber.org/protocol/pubsub#owner</a>&#39;&gt;&lt;subscriptions
node=&#39;/home/<a href="http://push.oopad.com/server/channel&#39;/">push.oopad.com/server/channel&#39;/</a>&gt;&lt;/pubsub&gt;&lt;/iq&gt;&lt;/body&gt;</p>

<p class="MsoPlainText">RECV: &lt;body
xmlns=&#39;<a href="http://jabber.org/protocol/httpbind">http://jabber.org/protocol/httpbind</a>&#39;&gt;&lt;iq xmlns=&#39;jabber:client&#39;
from=&#39;<a href="http://pubsub.push.oopad.com">pubsub.push.oopad.com</a>&#39; to=&#39;<a href="http://server@push.oopad.com/3965767225126468241566636">server@push.oopad.com/3965767225126468241566636</a>&#39;
id=&#39;subman1&#39; type=&#39;result&#39;&gt;&lt;pubsub
xmlns=&#39;<a href="http://jabber.org/protocol/pubsub#owner">http://jabber.org/protocol/pubsub#owner</a>&#39;&gt;&lt;subscriptions
node=&#39;/home/<a href="http://push.oopad.com/server/channel">push.oopad.com/server/channel</a>&#39;&gt;&lt;subscription
jid=&#39;<a href="http://1509091452126468264127075@push.oopad.com/3308336906126468264675729">1509091452126468264127075@push.oopad.com/3308336906126468264675729</a>&#39;
subscription=&#39;subscribed&#39; subid=&#39;4F010AF991F93&#39;/&gt;&lt;subscription
jid=&#39;<a href="http://3862577295126468371691261@push.oopad.com/1812062654126468372345142">3862577295126468371691261@push.oopad.com/1812062654126468372345142</a>&#39;
subscription=&#39;subscribed&#39;
subid=&#39;4F010B1D82CF7&#39;/&gt;&lt;/subscriptions&gt;&lt;/pubsub&gt;&lt;/iq&gt;&lt;/body&gt;</p>

<p class="MsoPlainText"> </p>

<p class="MsoPlainText"> </p>

<p class="MsoPlainText">Thanks !</p>