Solved "Server error" trying to log in - error reading key ring

Status
Not open for further replies.

positron

Bronze Partner
Advanced Certified
Joined
Jan 14, 2013
Messages
112
Reaction score
44
I am supporting a 3CX Pro 15.5 SP6 (Windows) system which had some sort of instability earlier today. I had to forcibly restart the computer. Now, I am unable to log in to the 3CX Management console; when trying it says "server error".

All services are running. The 3cxmanagementconsole.log file shows a line every time a login is attempted:

"An error occurred while reading the key ring"

In an effort to resolve the issue, I uninstalled 3CX and reinstalled and restored from a backup from the day before. The restore was successful (the system processes calls fine) but the same login problem exists and the same message appears in the log.

I tried to log in to the WebClient interface and have the same problem.

Did something not get removed for the uninstall or is there some interaction with a Windows issue causing the problem?
 
So I've never seen that error but all my new installs are on Debian. Seeing as how you uninstalled and reinstalled I think that means there might be some sort of OS issue. I'd try your basic OS troubleshooting (updates, sfc /scannow) and see if that resolves the issue.
 
Hello @positron

Please try the following after you make sure you have a backup of the system and let me know if that works for you:

  • go in folder c:\Windows\System32\config\systemprofile\AppData\Local\ASP.NET
  • copy file DataProtection-Keys on Desktop
  • delete file DataProtection-Keys from this folder
  • restart Management console service and retry login
 
Hello @positron

Please try the following after you make sure you have a backup of the system and let me know if that works for you:

  • go in folder c:\Windows\System32\config\systemprofile\AppData\Local\ASP.NET
  • copy file DataProtection-Keys on Desktop
  • delete file DataProtection-Keys from this folder
  • restart Management console service and retry login

I had just finished a process trace that pointed me to that folder. It looks like the active XML key file contained NULLs. I removed it and now I can log in successfully. Thanks.

My past experience has been when I hve an issue where a 3CX system is not responding, I will subsequently find files containing NULLs where there should be data. Usually this has been on CDR files as I have a process which reads CDR records for post-call processing. It was true in this event as well. I don't know if the NULL files reflect the cause or result of an issue.
 
Glad to see the issue has been resolved and thank you for the update and your feedback
 
Status
Not open for further replies.

Forum statistics

Threads
111,899
Messages
589,623
Members
164,765
Latest member
domi