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

Question

Question

Laserfiche Server connection failure ( Workflows Will Not run ) Error code [1910]

asked on November 8, 2021

Our workflows have been working as expected.  All of the sudden a workflow stops working.  I check the connection profile, fails.  I have a backup profile, I check this, it fails.  On that server I go into services and restart Laserfiche service.  Try connection profile again and it fails.  I go back to Laserfiche service.  I validated that my user account is being used and that my user account is a local admin. I than restart all Laserfiche services.  Connection profile fails.

-------

Specifically the workflow says its having this error. "Retrieve Field valuations from FA Template" - "The user account name or password is incorrect." So it just keeps trying to login and final after a few hours stops.

---------

So there is where I'm at.  User account hasn't changed and seems to be setup as expected.  This workflow was working for a year and a half, so it works.  Anyone have any ideas how to troubleshoot this.  I will include the error I am seeing in "Workflow Administrator - Error Log Viewer".

Our setup is Laserfiche 10.4 rio on prem.  Thanks ahead of time for any help.

Error log below:

------------------------

Machine: VULASR(redacted)
Severity: Error
Application Domain: Laserfiche.Workflow.Subscriber.exe
Process Id: 580
Process Name: C:\Program Files\Laserfiche\Laserfiche Workflow 10.4\Laserfiche.Workflow.Subscriber.exe
Win32 Thread Id: 2368 - (Redatced)University Notification Thread
Thread Name: (Redacted)University Notification Thread
Message: <Exception handlingInstanceId="11b51d3a-9833-4b40-86ec-5ca1298ad4c9">
  <Description>An exception of type 'Laserfiche.Connection.LFSOException' occurred and was caught.</Description>
  <DateTime>2021-11-08 10:30:26Z</DateTime>
  <ExceptionType>Laserfiche.Connection.LFSOException, Laserfiche.Workflow.Common, Version=8.3.0.0, Culture=neutral, PublicKeyToken=d8428ff9263e6cda</ExceptionType>
  <Message>Could not connect to the Laserfiche Server.</Message>
  <Source />
  <HelpLink />
  <Property name="LFROError">False</Property>
  <Property name="LFSOError">False</Property>
  <Property name="ErrorCode">797</Property>
  <Property name="TargetSite">&lt;undefined value&gt;</Property>
  <Property name="HResult">-2146233088</Property>
  <StackTrace />
  <additionalInfo>
    <info name="MachineName" value="VULA(Redacted)" />
    <info name="TimeStamp" value="11/8/2021 6:30:26 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="(Redacted)\(Redacted)" />
  </additionalInfo>
  <InnerException>
    <ExceptionType>Laserfiche.RepositoryAccess.NoConnectionException, Laserfiche.RepositoryAccess, Version=10.4.0.0, Culture=neutral, PublicKeyToken=3f98b3eaee6c16a6</ExceptionType>
    <Message>Could not connect to the Laserfiche Server.</Message>
    <Source>Laserfiche.RepositoryAccess</Source>
    <HelpLink />
    <Property name="ErrorCode">0</Property>
    <Property name="Server">(Redacted)/Property>
    <Property name="Repository">(Redacted)University</Property>
    <Property name="User">WFUser$</Property>
    <Property name="Thread">(Redacted)University Notification Thread</Property>
    <Property name="LastASN">6215745</Property>
    <Property name="TargetSite">Laserfiche.RepositoryAccess.Activity.Notification WaitForNotification(Int32)</Property>
    <Property name="HResult">-2146233088</Property>
    <StackTrace>   at Laserfiche.RepositoryAccess.Activity.HttpNotificationManager.WaitForNotification(Int32 seconds)
   at Laserfiche.Connection.Lfso.RepositoryAccess91.LFNotificationManagerRA.WaitGetNotification(Int32 timeoutMilliseconds)
   at Laserfiche.Workflow.Subscriber.Runtime.Threads.NotificationThread.ListenToLaserfiche(LFDatabase database, Int64 lastASN)
   at Laserfiche.Workflow.Subscriber.Runtime.Threads.NotificationThread.ListenToNotifications()
   at Laserfiche.Workflow.Subscriber.Runtime.Threads.NotificationThread.Run(Object state)</StackTrace>
  </InnerException>
</Exception>

0 0

Replies

replied on November 9, 2021

It's not very clear what you're describing. The error you pasted is from the Workflow Subscriber not being able to connect to the Laserfiche Server. This may be normal if the Subscriber was running when you restarted the Laserfiche Server service or it may be an indication of some other problem if it occurred at other times. The Subscriber attempts to reconnect after losing the connection to the Laserfiche Server, so sporadic occurrences are not an indication of a problem.

Connection profiles in Workflow are saved with the workflow definition. So you should look at the workflow containing the "Retrieve Field valuations from FA Template" activity and validate its connection profile.

0 0
replied on November 9, 2021

Miruna,

Thank you for your response.  I have been doing more work on this and have a clearer explanation of the issue.

Here is more data:

Go here - Workflow Configuration Manager.  Monitored Repositories.  Register Repository. 

Here is where the issue directly shows itself.  If I go to register a repository, I cannot use "Laserfiche Authentication", it fails to authenticate, error 9010. It was working a few days ago, now it's broke.  I can use "Windows Authentication", which uses the username and pass that is provided in the "Laserfiche Workflow Service" ( as far as I know ), and it works. I'm using the same username and pass for both auth. methods. 

So one method is working and the other is not.  The problem was that I was using "Laserfiche Authentication" for my repos.  It was working a few days ago, not working now.

While using the same username and pass, why would "Laserfiche Authentication" stop working while "Windows Authentication" is working?  What is the end to end path the authentication process takes while using the "Laserfiche Authentication method and what path does the "Windows Authentication" use?  Path meaning end to end how is it negotiating? 

Currently using windows authentication as a workaround, but I would like to understand what is breaking the other auth. method.

0 0
replied on November 9, 2021

The configuration manager uses a one-time connection to register the repository, but it expects the user to have the Manage Trustees privilege to set up the user for the Workflow Subscriber. This user name and password is not save or reused. Being a local admin on the Workflow Server is not relevant to this connection to connecting to the repository here.

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

Sign in to reply to this post.