Skip to content

Instantly share code, notes, and snippets.

@jhiemer
Created February 24, 2014 13:35
Show Gist options
  • Save jhiemer/9188542 to your computer and use it in GitHub Desktop.
Save jhiemer/9188542 to your computer and use it in GitHub Desktop.
System.FormatException: Invalid length for a Base-64 char array or string.
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 VMware.SSOAuthentication.VMwareSSOAuthenticationModule.ReadSamlTokenFromAuthHeader(String authHeader)
at VMware.SSOAuthentication.VMwareSSOAuthenticationModule.AuthenticateUser()
at VMware.SSOAuthentication.VMwareSSOAuthenticationModule.OnAuthenticate(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
@lividbliss
Copy link

How did you fix this?

@markhorgan1
Copy link

Issue can be caused by kerberos limitation see vcac 6 releasse notes for fix:

https://www.vmware.com/support/vcac/doc/vcloud-automation-center-601-release-notes.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment