Hey all,
I’ve been having a lot of trouble with account creation and various errors. My current relevant code is:
try {
XMPPConnection tmp = new XMPPConnection("JabberServerNameHere");
tmp.connect();
tmp.getAccountManager().createAccount("asdf", "asdf");
tmp.disconnect();
} catch (XMPPException e) {
System.out.println(e);
}
which outputs “conflict(409)” as the error.
a few things I have checked / figured out.
*The server does support account creation
*This account does not yet exist
What’s the standard procedure for account creation using smack?
Any help would be great. Thanks.