02-11-2022 03:18 AM - edited 06-30-2022 02:09 AM
Alteryx Server administrators and users may notice an "AuthenticationException" error after installing updates released January 11, 2022 or later from Microsoft on the Alteryx Server instance(s) that run the Gallery component. This issue can appear while saving or uploading a workflow, while browsing the Collections page on the Gallery, or while attempting to add access to users in a Windows Authentication environment. The issue will cause collections pages not to load with an error for end-users, and may cause issues while attempting to administer user permissions or settings.
The following message(s) may be displayed.
Gallery logs:
"System.Security.Authentication.AuthenticationException: The user name or password is incorrect.-> ---> System.Runtime.InteropServices.COMException: The user name or password is incorrect.->-> at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)-> at System.DirectoryServices.DirectoryEntry.Bind()-> at System.DirectoryServices.DirectoryEntry.get_AdsObject()-> at System.DirectoryServices.PropertyValueCollection.PopulateList()-> at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)-> at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)-> at System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName)-> --- End of inner exception stack trace ----> at System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName)-> at System.DirectoryServices.ActiveDirectory.Forest.GetForest(DirectoryContext context)-> at System.DirectoryServices.AccountManagement.ADStoreCtx.GetGroupsMemberOf(Principal p)-> at System.DirectoryServices.AccountManagement.Principal.GetGroupsHelper()-> at Alteryx.Server.Common.Utility.ActiveDirectory.AddDirectGroupsToList(Principal user, List`1 groups)-> at Alteryx.Server.Common.Utility.ActiveDirectory.GetForestGroupsSids(Int32 adCacheTimeout, String sid)-> at Alteryx.Server.Models.Presenters.WindowsAuthenticationCollectionPresenter.GetAccessibleCollections(User user, DateTime expiry)-> at Alteryx.Server.Models.Presenters.CollectionPresenter.GetCollections(User user, Func`1 expiryFunc)-> at SyncInvokeGetCollections(Object , Object[] , Object[] )-> at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)-> at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)-> at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)-> at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)-> at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)"
Microsoft has identified an issue in the January Rollup Patches which causes the DirectoryServices functionality to fail. "Apps using Microsoft .NET Framework to acquire or set Active Directory Forest Trust Information might fail, close, or you might receive an error from the app or Windows. You might also receive an access violation (0xc0000005) error."
More about this issue can be found on Microsoft's website here.
I encountered this problem for the first time on Monday (3/14/2022).
The Collections screen in the Gallery was blank and workflows were stuck in Queue for several seconds before finally throwing an error message stating, "we are unable to get your workflow results at this time . ..." The error message referenced above occurred in the Gallery logs every time a workflow was run. After verifying all of our server settings were correct, I installed the patch from Microsoft referenced in this article and restarted the server. It fixed the issue ... until today. We are again experiencing this problem and the last update installed on the server was the patch from Microsoft I installed on 3/14/2022.
Have there been any reports of this issue popping up again after applying the patch? Could something else be causing this?
@rymatt830 Same thing with our env..None of these patches are installed yet we are running into same error. Were you able to find any other root cause?
@ShrikantPatil the issue is back again for me, too, and we haven't installed any updates since 4/2022. I have a support case open and will follow-up if we find a solution.
@rymatt830
If you have a paid license, please open a case with the Customer Support team, being sure to include the assets called out in this article, including the optional .har file, item number 6.
Thank you, @lepome, we do have a paid license and believe to have implemented a fix this morning. The fix was installing KB5011261 and restarting the server. I should point out we're running Windows Server 2012 R2 but do not have the January rollup (KB5009624) installed.