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

Question

Question

Configuring HA Forms and Repository to connect to Workflow

asked on February 18, 2022 Show version history

Hi,

We have setup our LF Server Repositories (Cluster), Forms (NLB) and Web Client (NLB) which seems to be working, but we are getting errors in workflow when we try and connect to LF Server Repositories (Cluster) and the Forms (NLB) address. I am also not seeing the administration guides giving us this information, unless I have missed something?

 

Workflow Configuration

The address we are connecting to for LF Server Repository, we are using (cluster hostname), however it is giving us the below error whereas if we use the (actual hostname of the server) then it is not giving us an error. 

 

 

 

The address we are connecting to for Forms, we are using https://(nlb-address)/forms, however, this is giving us a 401 Unauthorized error. When we use the https://(hostname.domain)/forms then it works, but we of course want to connect to the NLB address.

 

 

The remote server returned an error: (401) Unauthorized.
---Stack Trace---

Server trace:
System.Net.WebException: The remote server returned an error: (401) Unauthorized.
   at System.Net.HttpWebRequest.GetResponse()
   at Laserfiche.Workflow.Operations.Forms.TestLaserficheFormServiceOperation.Execute(WcfOperationContext context)
   at Laserfiche.Workflow.Runtime.Systems.SubsystemCommandHandler.ProcessExecuteCommand(ExecuteOperationCommand command)
   at Laserfiche.Workflow.Runtime.WcfSubsystem.ExecuteOperation(OperationCommand operation)


Client trace
   at Laserfiche.Workflow.Internal.WorkflowServerClient.ExecuteCommand(OperationCommand data)
   at Laserfiche.Workflow.WorkflowServerClientExtensions.ExecuteCommandInternal(IWorkflowServerApi api, ExecuteOperationCommand command)
   at Laserfiche.Workflow.UI.Configuration.WebServiceReferencesDialog.TestLink(Object sender, TestUrlEventArgs e)


***

When I add an entry into the host file on the workflow using IP address of the actual primary node, then both of the errors disappear. Both of the NLB and Cluster addresses does work successfully when I open up the Laserfiche client and connect to the cluster address and the same for the Forms NLB address works when I connect through Chrome on the workflow server.

Any advice on this would be appreciated!

0 0

Replies

replied on February 18, 2022

The first error is a bug in the WF 11 Admin Console. Try using the Workflow Configuration wizard to attach the repository instead.

0 0
replied on February 18, 2022

Thanks Miruna, anything we can look at in the Forms error we are getting perhaps?

0 0
replied on January 26, 2023

@████████ were you able to figure out how to correct the error when trying to connect to Forms?

 

0 0
replied on January 26, 2023

Hi Blake, perhaps not the best solution, but work around was to edit the host file on the workflow server by adding the NLB address for Forms with both IP's and then make sure the connection was set from Forms first on the Configuration.

0 0
replied on January 27, 2023

We will give that a try. @████████ do you know if there is a more correct way to get this to work or is what Gert did the best option?

 

0 0
replied on January 30, 2023

Sam Carson replied to this post with the answer.

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

Sign in to reply to this post.