Hello aaron and darklrd, and thank you for your work.

After spending a few days installing ejabberd with http-bind, modifying proxy.conf , creating users via ejabberd's web interface and playing with strophejs-1.0.1 , I'm in front of an authentication problem :
(NOTE:I didn't use DXMPP Authentication module yet)

- I created users on ejabberd's webadmin - they have the same log:pass than old drupal users.
I can connect to the xmpp server via strophe's directory/examples/echobot.html

- But I CAN'T connect from dxmpp module interface (after Drupal user login)...
Firebug's XHR Console showing challenge response failure at 3rd XHRequest... wrong authentication.

Will I have to register new users ONLY via Dxmpp's authentication module ?
Or is this another kind of problem ?

I'm available for all questions, and providing all information which can help...
Thank you all.

Comments

darklrd’s picture

Hello Lev,

Dxmpp automatically creates registers all Drupal users on the ejabberd server. You don't need to create the SAME set of username-password as on Drupal site(on the ejabberd server).

Have you turned off further registration on the ejabberd server (after creating your log:pass set)? Because Dxmpp will try on its own to register.

Regards
darklrd

Lev’s picture

Hello darklrd, and thank you for your quick reply:

For your answer : Server-side registration was allowed.
But more information to come :

I wanted to work on 2 different servers for http and xmpp :
- I created my ejabberd users manually because DXMPP Authorization module doesn't work when using separate servers for http and xmpp (as written in the settings panel)...
- I then thought it would work with manually pre-registered users on the ejabberd admin.

I today realised, after installing ejabberd on my http server, than "automatic registration" DOES work when using same server for xmpp and http... but not if using 2 servers. (with different server names, which eventually doesn't help...)

So, my little question :
I'd like to make a _quite massive_ (+500 people) chat service and am afraid 1 simple machine can't be enough for the web+chat load :
- Is it really impossible to run xmpp on a separate xmpp server ? (even with manually registered users?)
- Do I maybe need special settings ? (same xmpp server name as http's ?)

Thank you for your help, and have a nice day.