Hello
Can anyone please help.
I am getting an An Underlying Connection Was Closed error. When i try to publish a workflow that has a business process designed in forms. At the end of the business process a document is createdBut I dont get the same error when i publish other workflows with no business process.
Am using LF 11 with |Forms Professional 11
Below is the full error log
----------------------------------------
Timestamp: 2024-09-04 17:56:32.235
Local Time: 9/4/2024 6:56:32 PM
Category: Activity
Machine: OVP-LFSERVER
Severity: Error
Application Domain: Laserfiche.Workflow.Service.exe
Process Id: 3796
Process Name: C:\Program Files\Laserfiche\Workflow\Laserfiche.Workflow.Service.exe
Win32 Thread Id: 18392 -
Thread Name:
Message: <Exception handlingInstanceId="a787fa70-985b-43c6-878a-43707d3b5426">
<Description>An exception of type 'System.Exception' occurred and was caught.</Description>
<DateTime>2024-09-04 18:56:32Z</DateTime>
<ExceptionType>System.Exception, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
<Message>The underlying connection was closed: An unexpected error occurred on a send.</Message>
<Source>Laserfiche.Workflow.Activity.Base</Source>
<HelpLink />
<Property name="ActivityName">RetrieveBusinessProcessVariables</Property>
<Property name="ActivityType">Laserfiche.Workflow.Activities.Forms.RetrieveFormFieldValueActivity</Property>
<Property name="InstanceId">a3f335ea-2bd9-4fdd-9d26-75437a14e5c4</Property>
<Property name="TargetSite">Void ProcessTaskQueueEvent(System.Workflow.ComponentModel.ActivityExecutionContext)</Property>
<Property name="HResult">-2146233088</Property>
<StackTrace> at Laserfiche.Workflow.Activities.TaskActivityBase.ProcessTaskQueueEvent(ActivityExecutionContext context)
at Laserfiche.Workflow.Activities.TaskActivityBase.OnEvent(Object sender, QueueEventArgs e)
at System.Workflow.ComponentModel.ActivityExecutorDelegateInfo`1.ActivityExecutorDelegateOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
at System.Workflow.Runtime.Scheduler.Run()</StackTrace>
<additionalInfo>
<info name="MachineName" value="OVP-LFSERVER" />
<info name="TimeStamp" value="9/4/2024 5:56:32 PM" />
<info name="FullName" value="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<info name="AppDomainName" value="Laserfiche.Workflow.Service.exe" />
<info name="ThreadIdentity" value="" />
<info name="WindowsIdentity" value="NT AUTHORITY\SYSTEM" />
</additionalInfo>
<InnerException>
<ExceptionType>System.Net.WebException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
<Message>The underlying connection was closed: An unexpected error occurred on a send.</Message>
<Source>System</Source>
<HelpLink />
<Property name="Status">SendFailure</Property>
<Property name="Response"><undefined value></Property>
<Property name="Status">SendFailure</Property>
<Property name="URI">http://localhost/forms/api/BusinessProcess/Instance/8066/Submission/9135</Property>
<Property name="RequestHeader:FormClientVersion">9.0.0.0</Property>
<Property name="RequestHeader:LFWF-Workflow-Host">OVP-LFSERVER</Property>
<Property name="RequestHeader:Host">localhost</Property>
<Property name="RequestHeader:Connection">Keep-Alive</Property>
<Property name="Details" />
<Property name="StartTime">9/4/2024 5:56:32 PM</Property>
<Property name="EndTime">9/4/2024 5:56:32 PM</Property>
<Property name="Duration">00:00:00.0258859</Property>
<Property name="InstanceId">a3f335ea-2bd9-4fdd-9d26-75437a14e5c4</Property>
<Property name="ActivityName">RetrieveBusinessProcessVariables</Property>
<Property name="Workflow">OVPCREATEMEMOWF</Property>
<Property name="ContextGuid">a3f335ea-2bd9-4fdd-9d26-75437a14e5c4</Property>
<Property name="TargetSite">System.Net.WebResponse GetResponse()</Property>
<Property name="HResult">-2146233079</Property>
<StackTrace> at System.Net.HttpWebRequest.GetResponse()
at Laserfiche.Workflow.Runtime.Forms.FormActionBase.GetResponse(Uri uri)
at Laserfiche.Workflow.Runtime.Forms.GetBusinessProcessSubmissionAction.GetData(String instanceId, String submissionId)
at Laserfiche.Workflow.Activities.Forms.Runtime.FormsTaskExecutor.RetrieveFormFields(RetrieveFormFieldsTaskOptions options, TaskExecutorContext status, TaskResult result)
at Laserfiche.Workflow.Activities.Forms.Runtime.FormsTaskExecutor.Execute(ITaskOptionsSerialize options, TaskExecutorContext status)
at Laserfiche.Workflow.Runtime.Systems.Delegator.WorkThread.DoWork(Object state)</StackTrace>
<InnerException>
<ExceptionType>System.IO.IOException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
<Message>Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.</Message>
<Source>System</Source>
<HelpLink />
<Property name="TargetSite">Int32 Read(Byte[], Int32, Int32)</Property>
<Property name="HResult">-2146232800</Property>
<StackTrace> 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.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.ConnectStream.WriteHeaders(Boolean async)</StackTrace>
<InnerException>
<ExceptionType>System.Net.Sockets.SocketException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
<Message>An existing connection was forcibly closed by the remote host</Message>
<Source>System</Source>
<HelpLink />
<Property name="ErrorCode">10054</Property>
<Property name="SocketErrorCode">ConnectionReset</Property>
<Property name="NativeErrorCode">10054</Property>
<Property name="TargetSite">Int32 Read(Byte[], Int32, Int32)</Property>
<Property name="HResult">-2147467259</Property>
<StackTrace> at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)</StackTrace>
</InnerException>
</InnerException>
</InnerException>
</Exception>
----------------------------------------
CAn anyone please help