Microsoft Advanced Threat Analytics Gateway Error

%3CLINGO-SUB%20id%3D%22lingo-sub-1556315%22%20slang%3D%22en-US%22%3EMicrosoft%20Advanced%20Threat%20Analytics%20Gateway%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1556315%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20getting%20below%20highlighted%20errors%20in%20ATA%20log%20file%20%22%3CSPAN%3EMicrosoft.Tri.Gateway%3C%2FSPAN%3E%22.%3C%2FP%3E%3CP%3ECan%20someone%20please%20help%20me%20to%20understand%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E2020-07-30%2004%3A37%3A32.4176%207112%2049%20%3CFONT%20color%3D%22%23FF0000%22%3E%3CSTRONG%3EError%20%5BEventLogException%5D%20System.UnauthorizedAccessException%3A%20Attempted%20to%20perform%20an%20unauthorized%20operation.%3C%2FSTRONG%3E%3C%2FFONT%3E%3CBR%20%2F%3Eat%20System.Diagnostics.Eventing.Reader.EventLogException.Throw(Int32%20errorCode)%3CBR%20%2F%3Eat%20System.Diagnostics.Eventing.Reader.NativeWrapper.EvtSubscribe(EventLogHandle%20session%2C%20SafeWaitHandle%20signalEvent%2C%20String%20path%2C%20String%20query%2C%20EventLogHandle%20bookmark%2C%20IntPtr%20context%2C%20IntPtr%20callback%2C%20Int32%20flags)%3CBR%20%2F%3Eat%20System.Diagnostics.Eventing.Reader.EventLogWatcher.StartSubscribing()%3CBR%20%2F%3Eat%20Microsoft.Tri.Gateway.Collection.Events.EventListeners.WindowsEventLogReader.%3CUPDATEWINDOWSEVENTLOGREADERBOOKMARKSASYNC%3Eb__15_1(KeyValuePair%602%20_)%3CBR%20%2F%3Eat%20MoreLinq.MoreEnumerable.ForEach%5BT%5D(IEnumerable%601%20source%2C%20Action%601%20action)%3CBR%20%2F%3Eat%20async%20Microsoft.Tri.Gateway.Collection.Events.EventListeners.WindowsEventLogReader.UpdateWindowsEventLogReaderBookmarksAsync(%3F)%3CBR%20%2F%3Eat%20async%20Microsoft.Tri.Infrastructure.Framework.Module.%26lt%3B%26gt%3Bc__DisplayClass30_0.%3CREGISTERPERIODICTASK%3Eb__1(%3F)%3CBR%20%2F%3Eat%20async%20Microsoft.Tri.Infrastructure.Extensions.TaskExtension.%26lt%3B%26gt%3Bc__DisplayClass33_0.%3CRUNPERIODIC%3Eb__0(%3F)%3CBR%20%2F%3E2020-07-30%2004%3A37%3A35.1051%207112%20131%20%3CSTRONG%3E%3CFONT%20color%3D%22%23FF0000%22%3EError%20%5BSocket%5D%20%5BNativeErrorCode%3D10052%5D%20System.Net.Sockets.SocketException%3A%20%3C%2FFONT%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CSTRONG%3EThe%20%3C%2FSTRONG%3Econnection%20has%20been%20broken%20due%20to%20keep-alive%20activity%20detecting%20a%20failure%20while%20the%20operation%20was%20in%20progress%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FRUNPERIODIC%3E%3C%2FREGISTERPERIODICTASK%3E%3C%2FUPDATEWINDOWSEVENTLOGREADERBOOKMARKSASYNC%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1557030%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Advanced%20Threat%20Analytics%20Gateway%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1557030%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F744917%22%20target%3D%22_blank%22%3E%40imtiyazali73%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3EDuring%20deployment%20the%20Gateway%20service%20account%20sid%20is%20registered%20to%20get%20read%20access%20to%20the%20local%20security%20log.%20most%20likely%20the%20permissions%20were%20revoked%20either%20by%20GPO%20or%20CustomSD%20reg%20key.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1564459%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Advanced%20Threat%20Analytics%20Gateway%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1564459%22%20slang%3D%22en-US%22%3EWe%20don't%20have%20such%20type%20of%20GPO.%3CBR%20%2F%3EHow%20can%20I%20fix%20this%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1564761%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Advanced%20Threat%20Analytics%20Gateway%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1564761%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F744917%22%20target%3D%22_blank%22%3E%40imtiyazali73%3C%2FA%3E%26nbsp%3B%2C%20you%20can%20try%20to%20uninstall%20and%20reinstall%20which%20will%20set%20the%20permissions%20again.%3C%2FP%3E%0A%3CP%3EAlso%20check%20for%20the%20CustomSD%20registry%20key.%3C%2FP%3E%0A%3CP%3Eif%20the%20issue%20returns%2C%20open%20a%20support%20call%2C%20as%20it%20can%20be%20tricky%20finding%20out%20what%20causes%20the%20permissions%20to%20revert..%20Many%20times%20the%20customers%20has%20GPOs%20they%20are%20not%20even%20aware%20of...%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

We are getting below highlighted errors in ATA log file "Microsoft.Tri.Gateway".

Can someone please help me to understand this?

 

2020-07-30 04:37:32.4176 7112 49 Error [EventLogException] System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.
at System.Diagnostics.Eventing.Reader.EventLogException.Throw(Int32 errorCode)
at System.Diagnostics.Eventing.Reader.NativeWrapper.EvtSubscribe(EventLogHandle session, SafeWaitHandle signalEvent, String path, String query, EventLogHandle bookmark, IntPtr context, IntPtr callback, Int32 flags)
at System.Diagnostics.Eventing.Reader.EventLogWatcher.StartSubscribing()
at Microsoft.Tri.Gateway.Collection.Events.EventListeners.WindowsEventLogReader.<UpdateWindowsEventLogReaderBookmarksAsync>b__15_1(KeyValuePair`2 _)
at MoreLinq.MoreEnumerable.ForEach[T](IEnumerable`1 source, Action`1 action)
at async Microsoft.Tri.Gateway.Collection.Events.EventListeners.WindowsEventLogReader.UpdateWindowsEventLogReaderBookmarksAsync(?)
at async Microsoft.Tri.Infrastructure.Framework.Module.<>c__DisplayClass30_0.<RegisterPeriodicTask>b__1(?)
at async Microsoft.Tri.Infrastructure.Extensions.TaskExtension.<>c__DisplayClass33_0.<RunPeriodic>b__0(?)
2020-07-30 04:37:35.1051 7112 131 Error [Socket] [NativeErrorCode=10052] System.Net.Sockets.SocketException: The connection has been broken due to keep-alive activity detecting a failure while the operation was in progress

3 Replies
Highlighted

@imtiyazali73 
During deployment the Gateway service account sid is registered to get read access to the local security log. most likely the permissions were revoked either by GPO or CustomSD reg key.

Highlighted
We don't have such type of GPO.
How can I fix this
Highlighted

@imtiyazali73 , you can try to uninstall and reinstall which will set the permissions again.

Also check for the CustomSD registry key.

if the issue returns, open a support call, as it can be tricky finding out what causes the permissions to revert.. Many times the customers has GPOs they are not even aware of...