Thank you for your time in advance.
I am a ejabberd newbie, I managed to setup ejabberd 15.03 on my AWS instance, and I use javascript library Strophe.js and its plugin Strophe.register.js.
Chatting is working fine, but I have a problem with registering new account. My coding example follows this github page:
However, registration failed for some unknown reason. I console.log the responsed stanza, which is like:
<iq xmlns="jabber:client" from="myAWS.com" type="error">
<query xmlns="jabber:iq:register">
<username>hello@myAWS.com</username>
<password>hello</password>
</query>
<error code="400" type="modify">
<bad-request xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"> </bad-request>
</error>
</iq>
What does this error means? Any help?
And just so you know, in-band registration is enabled (at least I think it does), because I can use Adium on my mac to register a new account, working good.
Thanks.
It's been solved, stupid
It's been solved, stupid error, I shouldn't append domain name to username
Thanks for the update and
Thanks for the update and very glad you managed to make it work.