How can LOGOFF get PERMISSION_DENIED?

All Union Platform questions, comments, feature requests, and bug reports.

How can LOGOFF get PERMISSION_DENIED?

Postby toby » Wed 26 Nov 2014 04:03

Title of post says it all ...
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).
toby
 
Posts: 162
Joined: Sun 24 Jun 2012 14:18

Return to Union Platform

Online

Users browsing this forum: No registered users and 4 guests