AC System failed after changing password field

We updated the username and password on an Access Control System and we got a strange error. It loaded the new doors and we saved. After we restarted the Event Server, the AC plugin was not able to load anymore until we changed the username and password again.

We have the same passowrd that failed now and it is working.

Can you please tell me what could cause this error message? Are you storing the password as base64?

2021-11-19 13:48:50 UTC+00:00 Info ServerConfigManager Server ‘ORBSVR-44[orbsvr-44:7563]’ created.

2021-11-19 13:48:50 UTC+00:00 Info StatusSessionServer Finished loading updated VMS configuration

2021-11-19 13:48:55 UTC+00:00 Info AccessControlManager Access control license updated.

2021-11-19 13:48:56 UTC+00:00 Info AccessControlSystem Access control system registered with license manager: Brivo Demo (c77963ff-1342-42b9-af05-703cc793bb41)

2021-11-19 13:48:56 UTC+00:00 Error ESEnvironmentManager Error during AccessControlManager.Init() with message: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.

Exception details:

System.FormatException: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.

at System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength)

at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)

at System.Convert.FromBase64String(String s)

at VideoOS.Utilities.Cryptography.AesSymmetricEncryption.DecryptFromBase64String(String encodedValue)

at VideoOS.Event.Server.AccessControl.AccessControlSystem.UndoProperties(IEnumerable`1 acProperties, IEnumerable`1 acPropertyDefinitions)

at VideoOS.Event.Server.AccessControl.AccessControlSystem.Init(AccessControlPlugin accessControlPlugin, Guid id, String serializedData)

at VideoOS.Event.Server.AccessControl.AccessControlManager.Init(IEnumerable`1 acPluginWrappers)

at VideoOS.Event.Server.MIP.Environment.ESEnvironmentManager.StartAfterTokenAndConfigurationReady()

Hi Eric,

I was working on your question and testing it this week with the latest versions of the product and one of AC plugin and I couldn’t reproduce the problem!

  • Can you provide me Management Client and Event Server versions you are using?
  • How do you updated the password in the first place “when you said the first time when it failed”?
  • Can you provide me with the dll of your AC Plugin?

Thanks,

Daniel

Hi Eric,

I will close the thread that was opened to answer your question!

In case you are not using the latest version of AC plugin, it’s probably the case, please consider updating it. In case you still have the issue, please send us updates by opening a new thread!

Best wishes,

Daniel