No ratings

Timeouts when attaching a document




Symptoms


During the execution of a workflow involving a SharePoint library, K2 for SAP and an External Web Service, a ?request timed out? error is encountered. Client is trying to pinpoint where. According to a SAP consultant the document does get uploaded although they receive a timeout. Client already increased the timeout according to this article: https://help.k2.com/kb000552

Diagnoses


From reviewing the K2 Hostserver Log file, the following error was observed: "An error occurred in the [ExternalWebServices] Service Instance. The operation has timed out". This indicated a timeout occurring on the External Web Services used by a SmartObject.

Resolution

The client was requested to increase the "executionTimeout" and "maxRequestLength" value in the Web Servive web.config file. e.g.

Please see the following Microsoft Documentation for reference: https://msdn.microsoft.com/en-us/library/e1f13641(v=vs.90).aspx

After the limits were increased, the issue was resolved.





Version history
Last update:
‎01-27-2017 01:54 AM
Updated by:
Contributors