powered by Jive Software

Register account in jabberd2 with smack does not work

i have a problem when registering new accounts on jabberd2 server with smack API:

Exception in thread “main” Server does not support account creation.:

at org.jivesoftware.smack.AccountManager.createAccount(AccountManager.java:159)

for some reason supportsAccountCreation() returns ‘‘false’’

however I can register accounts with Psi jabber client.

can somebody help me to solve this problem?

Hey Nick,

Could you open the Smack debugger to collect more information and paste it here?

Thanks,

– Gato

raw sent packets:

Hi,

I think you have to make sure that you are not logged in before you register for a new user. Once you are logged in as an existing user, then the error would occur. Try registering without login.