here's what's in the log:
2014-11-26 07:20:57,503 DEBUG - Processing from client [51] message [<U><M>C2S_LOGOFF(u86)</M><L><A>XXXXXX</A><A></A></L></U>]
2014-11-26 07:20:57,503 DEBUG - Account cache [hit] for userID [XXXXXX] current references now [2]
2014-11-26 07:20:57,503 DEBUG - Server sending to client [51] message [<U><M>S2C_LOGOFF_RESULT(u87)</M><L><A>XXXXXX</A><A>PERMISSION_DENIED</A></L></U>]
(user name changed to XXXXXX here)
I should add: this was a call by the same client logged in with the account,
not a different client supplying a password.
Some minutes later the same user logged in again, and the previous client was then removed.
Here's my code:
- Code: Select all
acctManager = orbiter1.getAccountManager(); // done as part of the login sequence
... // and then later
acctManager.logoff();
Add #2:
After looking at the orbiter code, I changed
acctManager.logoff() to
acctManager.logoff(null, null)
Just in case something other than null was being passed
(which would account for the error, although the () code works 99.9% of the time).