The program has good potential, but only if is stable and remains up for extended periods.
Below are the entries from the event logs (from two separate machines - there might be duplicates).
I did try to restart the service (are there two? - I might have only tried one)
Maybe you would consider catching the exceptions so that the application does not go down.
Thanks
Failed send Stop signal to a plugin
Error: "System.Runtime.Remoting.RemotingException: Object '/5254a5e1_2146_4e66_bc46_16994cf37111/1sf4mrfseyimggqwxrftbbze_3.rem' has been disconnected or does not exist at the server.
at HttpVpnAgentService.PluginHost.SignalStop()
at HttpVpnAgentService.AgentSvc.StopAllPlugins()"
Failed to Launch "C:\Program Files\UltiDev\HttpVPNProxy\Plugins\MyOwnSecureWeb.com" plugin. while running the plugin from "C:\Program Files\UltiDev\HttpVPNProxy\Plugins\MyOwnSecureWeb.com".
Exception:
System.Threading.ThreadAbortException: Thread was being aborted.
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at HttpVpnAgentService.PluginHost.LaunchPlugin(MethodInfo startMethod)
at HttpVpnAgentService.PluginHost.Run()
Failed to run the main plugin loop for "C:\Program Files\UltiDev\HttpVPNProxy\Plugins\MyOwnSecureWeb.com" plugin.
Exception:
System.AppDomainUnloadedException: The application domain in which the thread was running has been unloaded.
at HttpVpnAgentService.PluginHost.Run()
at HttpVpnAgentService.AgentSvc.RunPlugin(String pluginFolder, Boolean restoreFromBackup)
Failed to stop service. System.CannotUnloadAppDomainException: Error while unloading appdomain. (Exception from HRESULT: 0x80131015)
at System.AppDomain.Unload(AppDomain domain)
at HttpVpnAgentService.AgentSvc.StopAllPlugins()
at HttpVpnAgentService.AgentSvc.OnStop()
at System.ServiceProcess.ServiceBase.DeferredStop()
Exception in HttpVPN Plugin "MyOwnSecureWeb.com" while calling SendCallbackSignal().
System.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at HttpVpnAgentPlugin.PortalCallback.CallbackService.PortalPortalOnTheWall(DateTime currentConfigTimestamp, String currentAgentVersion, String agentMachineName, String agentIPAddress, String& appServerState)
at HttpVpnAgentPlugin.ResponseProcessorClientThunk.PortalPortalOnTheWall(Communicator comm, DateTime currentConfigTimestamp, String currentAgentVersion, String agentMachineName, String agentIPAddress)
at HttpVpnAgentPlugin.Communicator.CheckConfigChangeAndGetRequests(String& step, ResponseProcessorClientThunk callbackSvc, Boolean& toldToStopCalling, Boolean& servedRequests, Boolean& toldToRestorePreviousPlugin)
at HttpVpnAgentPlugin.Communicator.SendCallbackSignal(Object rawScheduleData)
Exception in HttpVPN Plugin "MyOwnSecureWeb.com" while calling SendCallbackSignal() at "Making callback call to Portal requests queue web service at "HttpVpnAgentPlugin.ResponseProcessorClientThunk"." step.
System.Net.WebException: The operation has timed out
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at HttpVpnAgentPlugin.PortalCallback.CallbackService.PortalPortalOnTheWall(DateTime currentConfigTimestamp, String currentAgentVersion, String agentMachineName, String agentIPAddress, String& appServerState)
at HttpVpnAgentPlugin.ResponseProcessorClientThunk.PortalPortalOnTheWall(Communicator comm, DateTime currentConfigTimestamp, String currentAgentVersion, String agentMachineName, String agentIPAddress)
at HttpVpnAgentPlugin.Communicator.CheckConfigChangeAndGetRequests(String& step, ResponseProcessorClientThunk callbackSvc, Boolean& toldToStopCalling, Boolean& servedRequests, Boolean& toldToRestorePreviousPlugin)
at HttpVpnAgentPlugin.Communicator.SendCallbackSignal(Object rawScheduleData)
Failed send Stop signal to a plugin
Error: "System.Runtime.Remoting.RemotingException: Object '/e92bf93b_f59c_41a8_8786_f064b09c4a1b/sarke0tzceqqmq5j7i0epb95_3.rem' has been disconnected or does not exist at the server.
at HttpVpnAgentService.PluginHost.SignalStop()
at HttpVpnAgentService.AgentSvc.StopAllPlugins()"
Exception in HttpVPN Plugin "MyOwnSecureWeb.com" while calling SendCallbackSignal() at "Making callback call to Portal requests queue web service at "HttpVpnAgentPlugin.ResponseProcessorClientThunk"." step.
System.Threading.ThreadAbortException: Thread was being aborted.
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
at System.Net.Connection.PollAndRead(HttpWebRequest request, Boolean userRetrievedStream)
at System.Net.ConnectStream.PollAndRead(Boolean userRetrievedStream)
at System.Net.HttpWebRequest.EndWriteHeaders(Boolean async)
at System.Net.HttpWebRequest.WriteHeadersCallback(WebExceptionStatus errorStatus, ConnectStream stream, Boolean async)
at System.Net.ConnectStream.WriteHeaders(Boolean async)
at System.Net.HttpWebRequest.EndSubmitRequest()
at System.Net.HttpWebRequest.CheckDeferredCallDone(ConnectStream stream)
at System.Net.HttpWebRequest.GetResponse()
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at HttpVpnAgentPlugin.PortalCallback.CallbackService.PortalPortalOnTheWall(DateTime currentConfigTimestamp, String currentAgentVersion, String agentMachineName, String agentIPAddress, String& appServerState)
at HttpVpnAgentPlugin.ResponseProcessorClientThunk.PortalPortalOnTheWall(Communicator comm, DateTime currentConfigTimestamp, String currentAgentVersion, String agentMachineName, String agentIPAddress)
at HttpVpnAgentPlugin.Communicator.CheckConfigChangeAndGetRequests(String& step, ResponseProcessorClientThunk callbackSvc, Boolean& toldToStopCalling, Boolean& servedRequests, Boolean& toldToRestorePreviousPlugin)
at HttpVpnAgentPlugin.Communicator.SendCallbackSignal(Object rawScheduleData)
Failed to Launch "C:\Program Files\UltiDev\HttpVPNProxy\Plugins\MyOwnSecureWeb.com" plugin. while running the plugin from "C:\Program Files\UltiDev\HttpVPNProxy\Plugins\MyOwnSecureWeb.com".
Exception:
System.Threading.ThreadAbortException: Thread was being aborted.
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at HttpVpnAgentService.PluginHost.LaunchPlugin(MethodInfo startMethod)
at HttpVpnAgentService.PluginHost.Run()
Failed to run the main plugin loop for "C:\Program Files\UltiDev\HttpVPNProxy\Plugins\MyOwnSecureWeb.com" plugin.
Exception:
System.AppDomainUnloadedException: The application domain in which the thread was running has been unloaded.
at HttpVpnAgentService.PluginHost.Run()
at HttpVpnAgentService.AgentSvc.RunPlugin(String pluginFolder, Boolean restoreFromBackup)