ejabberd - Comments for "Connection via BOSH http-bind not listed in ejabberdctl connected_users " https://www.ejabberd.im/node/4195 en zaaas wrote: I'm using https://www.ejabberd.im/node/4195#comment-56504 <div class="quote-msg"> <div class="quote-author"><em>zaaas</em> wrote:</div> <p>I'm using ejabberd 2.1.4 and authenticating users via PLAIN authentication.<br /> I'm using a anonymous login. The user can specify a username but a password is not necessary (config: [{auth_method, [anonymous]},<br /> {allow_multiple_connections, false},<br /> {anonymous_protocol, both}])q</p> <p> Accepted authentication for BOSH_MUC_191986_75 by ejabberd_auth_anonymous</p> <p>No error is shown but the user is not listed in "ejabberdctl connected_users".<br /> Am I missing something? </p></div> <p>I have no clue why it fails for you. It could be related to BOSH, or to Anonymous, but it works for me.</p> <p>I tried using ejabberd 2.1.4 and Oneteam with this configuration:</p> <pre> {hosts, ["localhost", "anon.localhost"]}. {host_config, "anon.localhost", [{auth_method, anonymous}, {allow_multiple_connections, false}, {anonymous_protocol, both}]}. </pre><p> The log says:</p> <pre> =INFO REPORT==== 11-Aug-2010::21:22:08 === I(&lt;0.487.0&gt;:ejabberd_c2s:580) : ({socket_state,ejabberd_http_bind, {http_bind,&lt;0.486.0&gt;,{{127,0,0,1},52786}},ejabberd_http_bind}) Accepted authentication for BOSH_MUC_191986_75 by ejabberd_auth_anonymous =INFO REPORT==== 11-Aug-2010::21:22:08 === I(&lt;0.487.0&gt;:ejabberd_c2s:839) : ({socket_state,ejabberd_http_bind, {http_bind,&lt;0.486.0&gt;,{{127,0,0,1},52786}},ejabberd_http_bind}) Opened session for BOSH_MUC_191986_75@anon.localhost/OneTeam </pre><p> The command line:</p> <pre> $ ejabberdctl connected_users bosh_muc_191986_75@anon.localhost/OneTeam </pre><p> I also see the user online in the ejabberd WebAdmin.</p> Wed, 11 Aug 2010 19:28:13 +0000 mfoss comment 56504 at https://www.ejabberd.im