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

Question

Question

Workflow subscriber unable to Connect to the Workflow Server

asked on February 1, 2015

Workflows are not working and forms are pending on save to folder tasks.  Everything (LF, forms, workflow) is running on the same server.  Have version 9.2 installed.  Subscriber error log has:

----------------------------------------
Timestamp: 2015-02-01 15:15:43.256
Local Time: 2/1/2015 9:15:43 AM
Category: Errors
Machine: CPALFSERVER
Severity: Error
Application Domain: Laserfiche.Workflow.Subscriber.exe
Process Id: 5404
Process Name: C:\Program Files\Laserfiche\Laserfiche Workflow 9\Laserfiche.Workflow.Subscriber.exe
Win32 Thread Id: 5568 - Stats thread
Thread Name: Stats thread
Message: <Exception handlingInstanceId="08c09ea9-3e7a-4990-8912-fce7c998990d">
  <Description>An exception of type 'Laserfiche.Workflow.WorkflowServerNotFoundException' occurred and was caught.</Description>
  <DateTime>2015-02-01 09:15:43Z</DateTime>
  <ExceptionType>Laserfiche.Workflow.WorkflowServerNotFoundException, Laserfiche.Workflow.ServerObjects, Version=8.3.0.0, Culture=neutral, PublicKeyToken=d8428ff9263e6cda</ExceptionType>
  <Message>Connection to the Workflow Server 'localhost' could not be created.</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
   at Laserfiche.Workflow.Internal.WorkflowServerClient.Connect(ConnectionOptions options)
   at Laserfiche.Workflow.WorkflowConnection.Connect()
   at Laserfiche.Workflow.WorkflowApplication.ConnectToServer(WorkflowConnection connection)
   at Laserfiche.Workflow.WorkflowApplication.Open()
   at Laserfiche.Workflow.Subscriber.Runtime.WorkflowServerCommandExecutor.RestoreConnection()
</StackTrace>
  <additionalInfo>
    <info name="MachineName" value="CPALFSERVER" />
    <info name="TimeStamp" value="2/1/2015 3:15:43 PM" />
    <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="Domain\accountname" />
  </additionalInfo>
  <InnerException>
    <ExceptionType>System.ServiceModel.EndpointNotFoundException, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
    <Message>Could not connect to net.tcp://localhost:8085/ManagementService. The connection attempt lasted for a time span of 00:00:02.0101150. TCP error code 10061: No connection could be made because the target machine actively refused it 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:
   at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
   at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
   at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
   at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
   at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)
   at Laserfiche.Workflow.IWorkflowServerApi.Connect(ConnectionOptions options)
   at Laserfiche.Workflow.Internal.WorkflowServerClient.EnsureChannelReady()
   at 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>No connection could be made because the target machine actively refused it 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>   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
   at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)</StackTrace>
    </InnerException>
  </InnerException>
</Exception>
----------------------------------------
 

0 0

Replies

replied on February 2, 2015

Please have your VAR open a case with Support.  Please provide them with the application, system and LFworkflow evtx logs from the Workflow machine.  Please do not filter or parse them so all the information is in the logs.

In addition, there is folder called LOGS in the WF installation directory.  Please zip the whole folder and provide it to Support as well.

0 0
replied on January 26, 2018

Was there a solution to this, as we have a customer who is experiencing a similar issue with their WF Server.

 

1 0
replied on February 13, 2015

I am getting this same message. Re-install, reset WFUser$ password. Just keeps saying the machine actively refused it.

0 0
replied on February 13, 2015

That's the .Net message for "the service is not running". Is your Workflow Server service running? If it is, did you change the default port (8085) or do you have something blocking that port (like another application using it)?

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

Sign in to reply to this post.