Note that there are some explanatory texts on larger screens.

plurals
  1. POejabberd - BOSH module not started
    text
    copied!<p>I'm trying to create a custom Facebook chat, I'm using:</p> <ol> <li>ejabberd</li> <li>strophe</li> <li>apache</li> </ol> <p>The apache is on one pc and the ejabberd is on a different machine, I proxy my request using </p> <pre><code>&lt;Proxy *&gt; Order deny,allow Deny from all Allow from 127.0.0.1 &lt;/Proxy&gt; ProxyPass /http-bind http://my_bosh_domain:5280/http-bind/ nocanon ProxyPassReverse /http-bind http://my_bosh_domain:5280/http-bind/ </code></pre> <p>I log my requests and get the following error:</p> <pre><code>bosh module not started </code></pre> <p>when I check <code>http://my_bosh_domain:5280/http-bind/</code> from my browser I can see:</p> <pre><code>ejabberd mod_http_bind An implementation of XMPP over BOSH (XEP-0206) This web page is only informative. To use HTTP-Bind you need a Jabber/XMPP client that supports it. </code></pre> <p>What am I missing?</p> <p><strong>Update</strong></p> <hr> <p>I've changed my proxy settings to:</p> <pre><code> &lt;Proxy *&gt; Order deny,allow Allow from all &lt;/Proxy&gt; </code></pre> <p>and now I get the following response:</p> <pre><code>&lt;body xmlns='http://jabber.org/protocol/httpbind' xmlns:xmpp='urn:xmpp:xbosh' xmlns:stream='http://etherx.jabber.org/streams' sid='6093aa55412842f7be3de1b33fd2a307df4ae2fa' wait='60' requests='2' inactivity='120' maxpause='120' polling='2' ver='1.8' from='chat.facebook.com' secure='true' authid='3105619037' xmpp:version='1.0'&gt; &lt;stream:features xmlns:stream='http://etherx.jabber.org/streams'&gt; &lt;mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'&gt; &lt;mechanism&gt;SCRAM-SHA-1&lt;/mechanism&gt; &lt;mechanism&gt;DIGEST-MD5&lt;/mechanism&gt; &lt;mechanism&gt;PLAIN&lt;/mechanism&gt; &lt;/mechanisms&gt; &lt;c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.process-one.net/en/ejabberd/' ver='TQ2JFyRoSa70h2G1bpgjzuXb2sU='/&gt; &lt;register xmlns='http://jabber.org/features/iq-register'/&gt; &lt;/stream:features&gt; </code></pre> <p></p> <p>this is wrong I was expecting to get X-FACEBOOK-PLATFORM as one of the mechanisms. Any idea?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload