Instances of particular process had been starting, running and completing fine for months now. No changes had been made to the process or the laserfiche forms server. Then yesterday, for about 1 hour, all of the instances of that process were stuck. Upon checking the error log for each instance, it gave the following:
"The call to Laserfiche Workflow API was not successful. (The operation has timed out.). [LFF5203-WFServerApiFault]"
The workflows had not been changed in any way, and other types of processes were running and calling workflows just fine. So this was confusing.
Then after the hour, all of the affected process instances become "unstuck" and ran their natural course. The issue has not happened since, but not know the root cause makes me uncomfortable.
Has anyone experienced this type of issue? If so, what was the root cause?
When I checked the Event Viewer for the server, the error was as follows:
Description:
[5203]: The call to Laserfiche Workflow API was not successful. (The operation has timed out.). [LFF5203-WFServerApiFault]
Details:
URL:
Error: WFServerApiFault
Date: 4/20/2020 11:53:37 AM (SA Western Standard Time)
HTTP Status Code: 500
Business Process ID: 72
Instance ID: 15770
Business Process Name: Trade Ticket - Multiple Trades
Stack Trace:
Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException
Message: The call to Laserfiche Workflow API was not successful. (The operation has timed out.). [LFF5203-WFServerApiFault]
at Laserfiche.Forms.Routing.LFWorkflowService.Execute(Int32 instanceId, IRoutingContext routingContext, RoutingInstanceStatus OriginalStatus)
at Laserfiche.Forms.Routing.ServiceTask.Execute(Int32 instanceId, IRoutingContext routingContext)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Laserfiche-Forms-App" Guid="{98141CA4-660B-51C6-66B4-EC37F5B2FD87}" />
<EventID>7</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>65527</Task>
<Opcode>0</Opcode>
<Keywords>0x2000f00000000000</Keywords>
<TimeCreated SystemTime="2020-04-20T15:53:37.654847400Z" />
<EventRecordID>148230</EventRecordID>
<Correlation />
<Execution ProcessID="1876" ThreadID="8744" />
<Channel>Laserfiche-Forms-App/Admin</Channel>
<Computer>Laserfiche.Ocean.local</Computer>
<Security UserID="S-1-5-21-1276637595-2749041683-54484719-1649" />
</System>
<EventData>
<Data Name="message">The call to Laserfiche Workflow API was not successful. (The operation has timed out.). [LFF5203-WFServerApiFault]
Details:
URL:
Error: WFServerApiFault
Date: 4/20/2020 11:53:37 AM (SA Western Standard Time)
HTTP Status Code: 500
Business Process ID: 72
Instance ID: 15770
Business Process Name: Trade Ticket - Multiple Trades
Stack Trace:
Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException
Message: The call to Laserfiche Workflow API was not successful. (The operation has timed out.). [LFF5203-WFServerApiFault]
at Laserfiche.Forms.Routing.LFWorkflowService.Execute(Int32 instanceId, IRoutingContext routingContext, RoutingInstanceStatus OriginalStatus)
at Laserfiche.Forms.Routing.ServiceTask.Execute(Int32 instanceId, IRoutingContext routingContext)
</Data>
<Data Name="internalErrorCode">5203</Data>
</EventData>
</Event>