Timeout after 5 minutes during system action

CODE: ErrorWebServiceCall (#217)
SOURCE: WebServiceExecute
MESSAGE: Error while invoking the web method CreateFinalGDF : Exception has been thrown by the target of an invocation. : System.ServiceModel.CommunicationException: An error occurred while receiving the HTTP response to ~removed link~. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details. —> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. —> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. —> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
— End of inner exception stack trace —
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
— End of inner exception stack trace —
at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
— End of inner exception stack trace —

Server stack trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, 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& msgData, Int32 type)
at BMS.WFGen.GDFWorkflowProxy.GdfWorkflow.IGdfWorkflow.CreateFinalGdf(GdfWorkflowRequest request)
at BMS.WFGen.GDFWorkflowProxy.GdfWorkflow.GdfWorkflowClient.CreateFinalGdf(GdfWorkflowRequest request)
at BMS.WFGen.GDFWorkflowProxy.GDFWorkflowProxyClient.CreateFinalGDF(String WFGEN_CONTEXT)

Hi,

This seems like an error in your custom application.
You can debug the method BMS.WFGen.GDFWorkflowProxy.GdfWorkflow.IGdfWorkflow.CreateFinalGdf and see why it is crashing.

Check the web.config and see if you have correctly entered the service endpoint as mentioned in the error:
This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server.

Best Regards,
Eddy.

I am wondering why WFGen cancelled the action at 1:29pm (in this case) 5 minutes after it started at 1:24pm? The webservice completed just after 1:30pm and sent the response which was after the action was cancelled.

From the web service log:

Line 278725: 2017-06-28 13:24:51,583 [15] INFO GdfWorkflow.CreateFinalGdf - Web service CreateFinalGdf method invoked for request: {“RequestId”:33052} [BMSADMIN]

Line 360386: 2017-06-28 13:30:04,897 [15] INFO GdfWorkflow.CreateFinalGdf - Web service CreateFinalGdf method response: {“ReturnCode”:1,“Success”:true,“Message”:“Successfully processed request: 33052 at Time: 6/28/2017 1:30:04 PM”,“Result”

Hi,

Try this solution and let me know if it helps:

Regards,
Eddy.