You are viewing limited content. For full access, please sign in.

Question

Question

My workflow is stuck on a search

asked on November 15, 2023 Show version history

Hello everyone.

I have workflows that have been running for several days without telling me what to do.

The workflow task is simple: search all file in a folder in Laserfiche.

 

The workflow currently works; it's just that sometimes it doesn't stop and I don't know why.

I've just noticed that the workflow doesn't always stop at the same task.

I would like to point out that on the screen printouts, the tasks in blue have been in progress for several days.

 

 

What is the problem and how can I solve it?

Thanks in advance.

Regards

0 0

Replies

replied on November 16, 2023

What version of Workflow are you running?

0 0
replied on November 16, 2023

Hi Blake. Thanks for your help.

The version is 10.4.223.

In the event viewer, I also noticed that I had connection errors with the server (I should point out that the Workflow server is on the same machine as the Laserfiche server).

Could this be the cause of the problem?

 

Timestamp: 2023-11-14 12:00:38.296

Local Time: 14/11/2023 02:00:38

Category: Errors

Machine: SRV-LF

Severity: Error

Application Domain: Laserfiche.Workflow.Subscriber.exe

Process Id: 4600

Process Name: C:\Program Files\Laserfiche\Laserfiche Workflow 9\Laserfiche.Workflow.Subscriber.exe

Win32 Thread Id: 7128 - Stats thread

Thread Name: Stats thread

Message: <Exception handlingInstanceId="39c2b64a-4c4c-428a-9bf5-7c0cc9a1c830">
  <Description>An exception of type 'Laserfiche.Workflow.WorkflowServerNotFoundException' occurred and was caught.</Description>
  <DateTime>2023-11-14 02:00:38Z</DateTime>
  <ExceptionType>Laserfiche.Workflow.WorkflowServerNotFoundException, Laserfiche.Workflow.ServerObjects, Version=8.3.0.0, Culture=neutral, PublicKeyToken=d8428ff9263e6cda</ExceptionType>
  <Message>Impossible de créer la connexion au Serveur Workflow 'localhost'.</Message>
  <Source>Laserfiche.Workflow.ServerObjects</Source>
  <HelpLink />
  <Property name="Server">localhost</Property>
  <Property name="Trace" />
  <Property name="IsCommunicationError">True</Property>
  <Property name="ServerExceptionType" />
  <Property name="TargetSite">Laserfiche.Workflow.Connection.ConnectionResults Connect(Laserfiche.Workflow.Connection.ConnectionOptions)</Property>
  <Property name="HResult">-2146233088</Property>
  <StackTrace>Client trace
   à Laserfiche.Workflow.Internal.WorkflowServerClient.Connect(ConnectionOptions options)
   à Laserfiche.Workflow.WorkflowConnection.Connect()
   à Laserfiche.Workflow.WorkflowApplication.ConnectToServer(WorkflowConnection connection)
   à Laserfiche.Workflow.WorkflowApplication.Open()
   à Laserfiche.Workflow.Subscriber.Runtime.WorkflowServerCommandExecutor.RestoreConnection()
</StackTrace>
  <additionalInfo>
    <info name="MachineName" value="SRV-LF" />
    <info name="TimeStamp" value="14/11/2023 12:00:38" />
    <info name="FullName" value="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    <info name="AppDomainName" value="Laserfiche.Workflow.Subscriber.exe" />
    <info name="ThreadIdentity" value="" />
    <info name="WindowsIdentity" value="AUTORITE NT\Système" />
  </additionalInfo>
  <InnerException>
    <ExceptionType>System.ServiceModel.EndpointNotFoundException, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
    <Message>Connexion à net.tcp://localhost:8085/ManagementService impossible. La tentative de connexion a duré pendant une période de 00:00:02.2811896. Code d'erreur TCP 10061 : Aucune connexion n’a pu être établie car l’ordinateur cible l’a expressément refusée 127.0.0.1:8085. </Message>
    <Source>mscorlib</Source>
    <HelpLink />
    <Property name="TargetSite">Void HandleReturnMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage)</Property>
    <Property name="HResult">-2146233087</Property>
    <StackTrace>
Server stack trace: 
   à System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
   à System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
   à System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
   à System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
   à System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   à System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
   à System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   à System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout)
   à System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
   à System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
   à System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   à System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   à System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: 
   à System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   à System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)
   à Laserfiche.Workflow.IWorkflowServerApi.Connect(ConnectionOptions options)
   à Laserfiche.Workflow.Internal.WorkflowServerClient.EnsureChannelReady()
   à Laserfiche.Workflow.Internal.WorkflowServerClient.Connect(ConnectionOptions options)</StackTrace>
    <InnerException>
      <ExceptionType>System.Net.Sockets.SocketException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
      <Message>Aucune connexion n’a pu être établie car l’ordinateur cible l’a expressément refusée 127.0.0.1:8085</Message>
      <Source>System</Source>
      <HelpLink />
      <Property name="ErrorCode">10061</Property>
      <Property name="SocketErrorCode">ConnectionRefused</Property>
      <Property name="NativeErrorCode">10061</Property>
      <Property name="TargetSite">Void DoConnect(System.Net.EndPoint, System.Net.SocketAddress)</Property>
      <Property name="HResult">-2147467259</Property>
      <StackTrace>   à System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   à System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
   à System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)</StackTrace>
    </InnerException>
  </InnerException>
</Exception>

0 0
replied on February 28, 2024

These errors are not relevant. Based on the screenshot of your log, they just indicate that your Workflow Server was restarted and the Workflow Subscriber attempted to connect to it while it was still going through its startup sequence. The Subscriber tries the connection again a little later, so if you're not seeing multiple errors after the server is back up, they are not relevant.

There is not enough information in your screenshots to guess what might be happening. If this is still an issue, please contact Tech Support.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.