cancel
Showing results for 
Search instead for 
Did you mean: 

Listener crashes after exiting browser on BP 7.1.1?

Hi all,

Since upgrading to Blue Prism 7.1.1, we're seeing the Automate listener on our virtual machines crash every so often, typically after closing the Edge (Chromium, version > 107) browser. Is anyone else facing this problem or have a solution?

This is from the event log at the time the listener crashed:
Application: Automate.exe
Framework version: v4.0.30319

Exception: System.AccessViolationException
at System.Net.UnsafeNclNativeMethods+WinHttp.WinHttpGetProxyForUrl(System.Net.SafeInternetHandle, System.String, WINHTTP_AUTOPROXY_OPTIONS ByRef, WINHTTP_PROXY_INFO ByRef)
at System.Net.WinHttpWebProxyFinder.WinHttpGetProxyForUrl(System.String, WINHTTP_AUTOPROXY_OPTIONS ByRef, System.String ByRef)
at System.Net.WinHttpWebProxyFinder.GetProxies(System.Uri, System.Uri, System.String ByRef)
at System.Net.WinHttpWebProxyFinder.GetProxies(System.Uri, System.Collections.Generic.IList`1<System.String> ByRef)
at System.Net.HybridWebProxyFinder.GetProxies(System.Uri, System.Collections.Generic.IList`1<System.String> ByRef)
at System.Net.AutoWebProxyScriptEngine.GetProxies(System.Uri, System.Collections.Generic.IList`1<System.String> ByRef, Int32 ByRef)
at System.Net.WebProxy.GetProxiesAuto(System.Uri, Int32 ByRef)
at System.Net.ProxyScriptChain.GetNextProxy(System.Uri ByRef)
at System.Net.ProxyChain+ProxyEnumerator.MoveNext()
at System.Net.ServicePointManager.FindServicePoint(System.Uri, System.Net.IWebProxy, System.Net.ProxyChain ByRef, System.Net.HttpAbortDelegate ByRef, Int32 ByRef)
at System.Net.HttpWebRequest.FindServicePoint(Boolean)
at System.Net.HttpWebRequest.get_ServicePoint()
at System.ServiceModel.Channels.HttpChannelFactory`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].GetWebRequest(System.ServiceModel.EndpointAddress, System.Uri, System.Net.NetworkCredential, System.Security.Principal.TokenImpersonationLevel, System.Net.Security.AuthenticationLevel, System.ServiceModel.Security.Tokens.SecurityTokenProviderContainer, System.ServiceModel.Security.Tokens.SecurityTokenContainer, System.TimeSpan, Boolean)
at System.ServiceModel.Channels.HttpChannelFactory`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].GetWebRequest(System.ServiceModel.EndpointAddress, System.Uri, System.ServiceModel.Security.Tokens.SecurityTokenProviderContainer, System.ServiceModel.Security.Tokens.SecurityTokenProviderContainer, System.ServiceModel.Security.Tokens.SecurityTokenContainer, System.TimeSpan, Boolean)
at System.ServiceModel.Channels.HttpChannelFactory`1+HttpRequestChannel[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].GetWebRequest(System.ServiceModel.EndpointAddress, System.Uri, System.ServiceModel.Security.Tokens.SecurityTokenContainer, System.Runtime.TimeoutHelper ByRef)
at System.ServiceModel.Channels.HttpChannelFactory`1+HttpRequestChannel[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].GetWebRequest(System.ServiceModel.EndpointAddress, System.Uri, System.Runtime.TimeoutHelper ByRef)
at System.ServiceModel.Channels.HttpChannelFactory`1+HttpRequestChannel+HttpChannelRequest[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SendRequest(System.ServiceModel.Channels.Message, System.TimeSpan)
at System.ServiceModel.Channels.RequestChannel.Request(System.ServiceModel.Channels.Message, System.TimeSpan)
at System.ServiceModel.Channels.ClientReliableChannelBinder`1+RequestClientReliableChannelBinder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].OnRequest(System.__Canon, System.ServiceModel.Channels.Message, System.TimeSpan, System.ServiceModel.Channels.MaskingMode)
at System.ServiceModel.Channels.ClientReliableChannelBinder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Request(System.ServiceModel.Channels.Message, System.TimeSpan, System.ServiceModel.Channels.MaskingMode)
at System.ServiceModel.Channels.ClientReliableChannelBinder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Request(System.ServiceModel.Channels.Message, System.TimeSpan)
at System.ServiceModel.Security.SecuritySessionClientSettings`1+SecurityRequestSessionChannel[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Request(System.ServiceModel.Channels.Message, System.TimeSpan)
at System.ServiceModel.Channels.ClientReliableChannelBinder`1+RequestClientReliableChannelBinder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].OnRequest(System.__Canon, System.ServiceModel.Channels.Message, System.TimeSpan, System.ServiceModel.Channels.MaskingMode)
at System.ServiceModel.Channels.ClientReliableChannelBinder`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Request(System.ServiceModel.Channels.Message, System.TimeSpan, System.ServiceModel.Channels.MaskingMode)
at System.ServiceModel.Channels.ReliableRequestSessionChannel.OnConnectionSend(System.ServiceModel.Channels.MessageAttemptInfo, System.TimeSpan, Boolean)
at System.ServiceModel.Channels.ReliableOutputConnection.InternalAddMessage(System.ServiceModel.Channels.Message, System.TimeSpan, System.Object, Boolean)
at System.ServiceModel.Channels.ReliableRequestSessionChannel+SyncRequest.SendRequest(System.ServiceModel.Channels.Message, System.TimeSpan)
at System.ServiceModel.Channels.RequestChannel.Request(System.ServiceModel.Channels.Message, System.TimeSpan)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(System.ServiceModel.Channels.Message, System.TimeSpan)
at System.ServiceModel.Channels.ServiceChannel.Call(System.String, Boolean, System.ServiceModel.Dispatcher.ProxyOperationRuntime, System.Object[], System.Object[], System.TimeSpan)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(System.Runtime.Remoting.Messaging.IMethodCallMessage, System.ServiceModel.Dispatcher.ProxyOperationRuntime)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(System.Runtime.Remoting.Messaging.IMessage)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(System.Runtime.Remoting.Proxies.MessageData ByRef, Int32)
at BluePrism.AutomateAppCore.IServer.LogToDB(Int32, System.Guid, System.String, System.Guid, System.String, BluePrism.AutomateProcessCore.StageTypes, System.String, BluePrism.AutomateProcessCore.DataType, BluePrism.AutomateProcessCore.LogInfo, System.DateTimeOffset, System.String, System.String, System.String, System.String, System.String, Boolean)
at BluePrism.AutomateAppCore.clsDBLoggingEngine.DoLog(BluePrism.AutomateProcessCore.ProcessStage, System.String, BluePrism.AutomateProcessCore.DataType, BluePrism.AutomateProcessCore.ArgumentList, BluePrism.AutomateProcessCore.ArgumentList, BluePrism.AutomateProcessCore.LogInfo, System.String, System.String)
at BluePrism.AutomateAppCore.clsDBLoggingEngine.WriteLog(BluePrism.AutomateProcessCore.ProcessStage, System.String, BluePrism.AutomateProcessCore.DataType, BluePrism.AutomateProcessCore.ArgumentList, BluePrism.AutomateProcessCore.ArgumentList, BluePrism.AutomateProcessCore.LogInfo, System.String, System.String)
at BluePrism.AutomateAppCore.clsDBLoggingEngine.ActionPrologue(BluePrism.AutomateProcessCore.LogInfo, BluePrism.AutomateProcessCore.Stages.ActionStage, System.String, System.String, BluePrism.AutomateProcessCore.ArgumentList)
at BluePrism.AutomateProcessCore.CompoundLoggingEngine+<>c__DisplayClass7_0.<ActionPrologue>b__0(BluePrism.AutomateProcessCore.LoggingEngine)
at BluePrism.AutomateProcessCore.CompoundLoggingEngine.a(System.Action`1<BluePrism.AutomateProcessCore.LoggingEngine>)
at BluePrism.AutomateProcessCore.CompoundLoggingEngine.ActionPrologue(BluePrism.AutomateProcessCore.LogInfo, BluePrism.AutomateProcessCore.Stages.ActionStage, System.String, System.String, BluePrism.AutomateProcessCore.ArgumentList)
at BluePrism.AutomateProcessCore.Stages.ActionStage.Execute(System.Guid ByRef, BluePrism.AutomateProcessCore.CompoundLoggingEngine)
at BluePrism.AutomateProcessCore.BluePrismProcess.r(BluePrism.AutomateProcessCore.ProcessBreakpointInfo ByRef, Boolean)
at BluePrism.AutomateProcessCore.BluePrismProcess.RunAction(BluePrism.AutomateProcessCore.Processes.ProcessRunAction, BluePrism.AutomateProcessCore.ProcessBreakpointInfo ByRef, Boolean)
at BluePrism.AutomateProcessCore.BluePrismProcess.RunAction(BluePrism.AutomateProcessCore.Processes.ProcessRunAction)
at BluePrism.AutomateProcessCore.VBO.DoDoAction(System.String, BluePrism.AutomateProcessCore.ProcessStage, BluePrism.AutomateProcessCore.ArgumentList, BluePrism.AutomateProcessCore.ArgumentList ByRef)
at BluePrism.AutomateProcessCore.BusinessObject.DoAction(System.String, BluePrism.AutomateProcessCore.ProcessStage, BluePrism.AutomateProcessCore.ArgumentList, BluePrism.AutomateProcessCore.ArgumentList ByRef)
at BluePrism.AutomateProcessCore.Stages.ActionStage.Execute(System.Guid ByRef, BluePrism.AutomateProcessCore.CompoundLoggingEngine)
at BluePrism.AutomateProcessCore.BluePrismProcess.r(BluePrism.AutomateProcessCore.ProcessBreakpointInfo ByRef, Boolean)
at BluePrism.AutomateProcessCore.BluePrismProcess.RunAction(BluePrism.AutomateProcessCore.Processes.ProcessRunAction, BluePrism.AutomateProcessCore.ProcessBreakpointInfo ByRef, Boolean)
at BluePrism.AutomateProcessCore.BluePrismProcess.RunAction(BluePrism.AutomateProcessCore.Processes.ProcessRunAction)
at BluePrism.AutomateProcessCore.VBO.DoDoAction(System.String, BluePrism.AutomateProcessCore.ProcessStage, BluePrism.AutomateProcessCore.ArgumentList, BluePrism.AutomateProcessCore.ArgumentList ByRef)
at BluePrism.AutomateProcessCore.BusinessObject.DoAction(System.String, BluePrism.AutomateProcessCore.ProcessStage, BluePrism.AutomateProcessCore.ArgumentList, BluePrism.AutomateProcessCore.ArgumentList ByRef)
at BluePrism.AutomateProcessCore.Stages.ActionStage.Execute(System.Guid ByRef, BluePrism.AutomateProcessCore.CompoundLoggingEngine)
at BluePrism.AutomateProcessCore.BluePrismProcess.r(BluePrism.AutomateProcessCore.ProcessBreakpointInfo ByRef, Boolean)
at BluePrism.AutomateProcessCore.BluePrismProcess.RunAction(BluePrism.AutomateProcessCore.Processes.ProcessRunAction, BluePrism.AutomateProcessCore.ProcessBreakpointInfo ByRef, Boolean)
at BluePrism.AutomateProcessCore.BluePrismProcess.RunAction(BluePrism.AutomateProcessCore.Processes.ProcessRunAction)
at BluePrism.AutomateProcessCore.VBO.DoDoAction(System.String, BluePrism.AutomateProcessCore.ProcessStage, BluePrism.AutomateProcessCore.ArgumentList, BluePrism.AutomateProcessCore.ArgumentList ByRef)
at BluePrism.AutomateProcessCore.BusinessObject.DoAction(System.String, BluePrism.AutomateProcessCore.ProcessStage, BluePrism.AutomateProcessCore.ArgumentList, BluePrism.AutomateProcessCore.ArgumentList ByRef)
at BluePrism.AutomateProcessCore.Stages.ActionStage.Execute(System.Guid ByRef, BluePrism.AutomateProcessCore.CompoundLoggingEngine)
at BluePrism.AutomateProcessCore.BluePrismProcess.r(BluePrism.AutomateProcessCore.ProcessBreakpointInfo ByRef, Boolean)
at BluePrism.AutomateProcessCore.BluePrismProcess.RunAction(BluePrism.AutomateProcessCore.Processes.ProcessRunAction, BluePrism.AutomateProcessCore.ProcessBreakpointInfo ByRef, Boolean)
at BluePrism.AutomateProcessCore.BluePrismProcess.RunAction(BluePrism.AutomateProcessCore.Processes.ProcessRunAction)
at BluePrism.AutomateAppCore.RunnerRecord.RunnerMethod()
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
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.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()
8 REPLIES 8

expertcr
Staff
Staff
At this moment, we don't have known issues with something similar to your description.
It is possible is a memory issue; please take a look at the following KB Article, "How do I avoid Out Of Memory issues?" also, this KB can help you to how to report an issue with memory (How do I diagnose and report Out Of Memory exceptions?).

Please get in touch with our support team with a  new ticket to help you in this case.

MikkoKamppila
Level 5

Hello, did you get any insight what mght cause this? We bump into a similar error time to time with Edge. In our case, the crash happens while trying to click a certain HTML element. Version is BP 6.9. 

This specific issue with the runtime resource crashing on browser close was resolved with the 7.1.2 update. 

The links to the articles didn't help and we've had a long-running support ticket with Blue Prism regarding memory issues since the upgrade to v7.1.1. Our 8gb machines fill up in memory usage over the course of a few days when running processes on them. Idle machines (resource is on and the listener is running, but no processes are being run) don't have this problem. This issue started happening almost directly after the upgrade from 6.10.4 to 7.1.1. We're currently experimenting with other resources (Win11 instead of Win10) to see if this might affect anything.

MikkoKamppila
Level 5

Thanks, I appreciate the answer. It's interesting to hear that in your case issue began with 6.10.4, but probably the upgrade path was a different from ours (6.5 -> 6.9.1) and that's why you didn't face the issue with versions prior 6.10.4.

It's fantastic news if the issue was fixed with the 7.1.2 update. I agree numerous KB articles didn't help with the issue and maybe it's just me, but I couldn't see any listener related issues mentioned in the known issues list (checked 6.9+ lists).

But thanks once again!

I should point out that we didn't have these issues in 6.10.4. It was only after our upgrade to 7.1.1. that we saw listeners crash on browser shutdown, and the memory issues as well.

We did always (6.10.4 and prior) have a random listener crash (though nothing in any logs) about once a week for a long while, but that might've been a security policy on our end. But as you said, nothing in any release notes / known issues regarding this.

MikkoKamppila
Level 5

Sorry, my bad! Left out a critical word from my response - "...that in your case issue began with 6.10.4 upgrade" (to version 7.1.1). What I meant is it's interesting that in your case 6.10.4 was fairly stable, what comes to listener stability, but we face the issue with a version 6.9.1. 

So it's possible the fix you mentioned might not help in our case, but I'll keep the fingers crossed! 

xiaojingzhongtd
Level 2

Hi Jordyvan, I have the similar issue in 7.1.2 as welll. We have a process running on scheduler. And every time the main process completed, the log out task cannot be executed and it’s in pending status and the Virtual Machine lose connection. And when we log in the VM, we found that the listener crash. I’m wondering is your problem solved? Thanks

Unfortunately there's been nothing we could explicitly do to solve the issue. It went away with the 7.1.2 update but every once in a while we do get one of these SystemAccessViolationExceptions. Today we got one while on BP 7.3.1.