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

Question

Question

No connection could be made because the target machine actively refused it

asked on November 4, 2015

Hi, I am using LF Forms 9.2 and Workflow 9.2 - in my Process I am having the Service Task perform a Laserfiche Workflow.

 

I have already made sure that the process and connection to the server (Repository tab in Configuration) validates, however the configuration page did not have me connect the workflow server (separate than the repository).

 

The error from the event viewer:

11/5/2015 1:27:59 AM
Message: Unable to connect to the remote server
Stack trace:    at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
   at System.Net.HttpWebRequest.GetRequestStream()
   at Laserfiche.Forms.Routing.LFWorkflowService.Execute(Int32 instanceId, IRoutingContext routingContext)
   at Laserfiche.Forms.Routing.ServiceTask.Execute(Int32 instanceId, IRoutingContext routingContext)
Message: No connection could be made because the target machine actively refused it (IP Address was here but I had to remove it for this question)
Stack trace:    at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)

 

How do I "connect" the LF Forms and LF Workflow servers OR how do i fix this error?

 

Thanks!

 

0 0

Answer

SELECTED ANSWER
replied on November 5, 2015

It sounds like your configuration is wrong. Double-check both Workflow and Forms and make sure that, on the Forms side, the WF Server name and SSL setting matches the settings of your WFServer and on the WF side, the Forms web service configuration matches Forms.

Basically, if Forms uses SSL, the web service in WF should specify https in the URL. If WF wasn't set up for SSL, then the "Use SSL" checkbox next to the WFServer name on the Forms config page should be cleared.

0 0

Replies

replied on November 5, 2015

This error usually means the service is not running or the name specified for the Workflow server (in the Forms configuration page) is wrong.

0 0
replied on November 5, 2015

The service is running and I made sure that it was working alright.

 

I don't know if this helps but the Message part of the error: "No connection could be made because the target machine actively refused it <LFformsIPaddress>:443"

 

443 is SSL and in the configuration we don't have anything as ssl... could that be the problem?

 

0 0
replied on November 5, 2015

Yes.

0 0
replied on November 5, 2015

OK and how would I go about fixing that?

0 0
SELECTED ANSWER
replied on November 5, 2015

It sounds like your configuration is wrong. Double-check both Workflow and Forms and make sure that, on the Forms side, the WF Server name and SSL setting matches the settings of your WFServer and on the WF side, the Forms web service configuration matches Forms.

Basically, if Forms uses SSL, the web service in WF should specify https in the URL. If WF wasn't set up for SSL, then the "Use SSL" checkbox next to the WFServer name on the Forms config page should be cleared.

0 0
replied on November 9, 2015

This post helped our VAR solve it, thank you!

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

Sign in to reply to this post.