locked
Web Application Proxy on Windows Server 2016 Standard, ADFS-services stopping? RRS feed

  • Question

  • Hi all,

    A few weeks ago we've installed a new Web Application Proxy cluster/farm (ConfigurationVersion = 2016), connected to an ADFS 2016 farm (Farm Functional Level 2016).

    From the beginning the ADFS services stops randomly, on both hosts. When the service is stopped, we see these events in our eventlog, on both servers the same error:

    Application: Microsoft.IdentityServer.ProxyService.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.AccessViolationException
       at System.Net.UnsafeNclNativeMethods+HttpApi.TokenBindingVerifyMessage(Byte*, UInt32, IntPtr, Byte*, UInt32, HeapAllocHandle ByRef)
       at System.Net.HttpListenerRequest.ProcessTlsTokenBindings()
       at System.Net.HttpListenerRequest.GetTlsTokenBindings()
       at Microsoft.IdentityModel.Tokens.TokenBindingWrapper.GetBindingsList(System.Net.HttpListenerRequest)
       at Microsoft.IdentityServer.WebHost.TokenBindingUtility.GetBindingFromChannel(System.Net.HttpListenerRequest)
       at Microsoft.IdentityServer.WebHost.TokenBindingUtility.GetTokenBindingFromRequest(System.Net.HttpListenerRequest, Microsoft.IdentityServer.WebHost.TokenBindingCollectionMode)
       at Microsoft.IdentityServer.WebHost.DefaultHttpListenerAdapter.get_TokenBindingContext()
       at Microsoft.IdentityServer.WebHost.Context.IncomingMessageContext..ctor(Microsoft.IdentityServer.WebHost.WrappedHttpListenerRequest)
       at Microsoft.IdentityServer.WebHost.Context.RequestContext..ctor(Microsoft.IdentityServer.WebHost.WrappedHttpListenerContext)
       at Microsoft.IdentityServer.WebHost.HttpListenerBase.OnGetContextBase(System.IAsyncResult)
       at System.Net.LazyAsyncResult.Complete(IntPtr)
       at System.Net.LazyAsyncResult.ProtectedInvokeCallback(System.Object, IntPtr)
       at System.Net.ListenerAsyncResult.IOCompleted(System.Net.ListenerAsyncResult, UInt32, UInt32)
       at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
    
    

    Followed by:

    Faulting application name: Microsoft.IdentityServer.ProxyService.exe, version: 10.0.14393.0, time stamp: 0x578988ae
    Faulting module name: ucrtbase.dll, version: 10.0.14393.0, time stamp: 0x578997b5
    Exception code: 0xc0000005
    Fault offset: 0x0000000000020b06
    Faulting process id: 0x1f18
    Faulting application start time: 0x01d29c8dbc28e671
    Faulting application path: C:\Windows\ADFS\Microsoft.IdentityServer.ProxyService.exe
    Faulting module path: C:\Windows\System32\ucrtbase.dll
    Report Id: ead49555-7b37-4988-a044-bfb534c9fc23
    Faulting package full name: 
    Faulting package-relative application ID: 

    After this error occurs, starting the services is no problem. A few hours later, the service will stop again, with the same error.

    Anyone?



    Tuesday, March 14, 2017 6:33 PM

All replies

  • Lon shot but the only "similar" situation I have seen was AV related... Maybe you can try with a different AV?

    Totally random guess though... Just saying this based on similar situation I had in the past... Hope somebody else can also comment!


    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

    Tuesday, March 14, 2017 7:08 PM