Hi,
I wondered if anyone had success in connecting to ejabberd http-bind service using JSJaC Javascript client?
I've verified that my installation, which uses nginx to serve pages:
1. Has both http-bind and the page containing the javascript served at localhost:81
2. The http-bind service is running on localhost:81/http-bind/ an I can connect to the xmpp via desktop clients.
However, on trying to connect to the http-bind service, the error is
[Exception... "Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsIXMLHttpRequest.send]" nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" location: "JS frame ::
Any suggestions on other configurations or BOSH clients appreciated.
I use this configuration and
I use this configuration and works:
http://www.ejabberd.im/jwchat-localserver
Maybe it doesn't satisfy your requirements, but I guess you can start with that configuration. And later modify it to suit your needs: try your desired BOSH client, then try your Nginx config...