VBalazin
Novice

Timeout when refreshing workflow reporting service instance

Hello,

 

we are getting the Execution timeout error when we try to refresh the Workflow Reporting Service instance within the Smartobjects Tester:

 

5046i58D3861A24DA83F2.jpg

 

 We tried to set the commandtimeout key value in the K2HostServer configuration file to 60000, but that didn't help:

 <appSettings>
    <add key="commandtimeout" value="60000" />

                   ...

 </appSettings>

 

Because of this error we can't create and view process reports or go to the process overview page in the K2 workspace. Our K2 version is 4.6.11. 

 

Detailed error log:

 

"91429372","20*personal details removed*:37:58","Error","SmartObjects","10520","DatabaseError","SourceCode.SmartObjects.Runtime.SmartObjectManagementServer [RefreshServiceInstance([ef7310e5-b14f-464d-b0f3-a37d6c367620])]","10520 SmartObject Runtime.Management Database Error: 'Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
'","anonymous","0.0.0.0","IADEV7:C:Program Files (x86)K2 blackpearlHost ServerBin","91429372","bf6b626bb6144d3593619bb5cbfc273e",""
"91429374","20*personal details removed*:37:58","Error","System","2025","InternalMarshalError","SourceCode.Hosting.Server.Runtime.HostServerBroker.InternalMarshal","2025 Error Marshalling SourceCode.SmartObjects.Runtime.SmartObjectManagementServer.RefreshServiceInstance, Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
    InnerException: The wait operation timed out","","","IADEV7:C:Program Files (x86)K2 blackpearlHost ServerBin","91429374","98d40dbd4afa4d218b227aab205d1216",""
"91429375","20*personal details removed*:37:58","Error","System","2025","InternalMarshalError","SourceCode.Hosting.Server.Services.TCPClientSocket.InternalMarshal","2025 Error Marshalling SourceCode.SmartObjects.Runtime.SmartObjectManagementServer.RefreshServiceInstance, Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.","system","fe80::3d2f:64ef:f3fe:d5ba%11","IADEV7:C:Program Files (x86)K2 blackpearlHost ServerBin","91429375","87e2238f76d64c7b89411408d86db25f",""
"91429376","20*personal details removed*:37:58","Error","Communication","8060","ProcessPacketError","SourceCode.Hosting.Server.Services.TCPClientSocket.ProcessMessage","8060 ProcessPacket Error, Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.","system","fe80::3d2f:64ef:f3fe:d5ba%11","IADEV7:C:Program Files (x86)K2 blackpearlHost ServerBin","91429376","397e10226ae049a9ace2ce65e3c11c28",""

 

Greetings,

V

0 Kudos
Reply
2 Replies
tedboeckman
Apprentice

Re: Timeout when refreshing workflow reporting service instance

Doubled the commandtimeout value in the K2HostServer.exe.config, under "sourcecode.smartobjects.runtime" node from 30 to 60(seconds).

-- Sample --
<sourcecode.smartobjects.runtime smartObjectDependencyClassId="9812F4EA-75C9-48C1-83DB-578FCCE0CBC7" smartObjectServicesDependencyClassId="BB063376-0A7B-4849-BE59-49CDF511DC91" smartObjectServicesTypeDependencyClassId="EA60367A-5E41-4889-8F64-E1E494A77675" servicebrokerpath="C:Program Files (x86)K2 blackpearlServiceBroker" bufferrecords="20000" allowexponent="false" commandtimeout="60">


Thank you,


 


Ted Boeckman

0 Kudos
Reply
VBalazin
Novice

Re: Timeout when refreshing workflow reporting service instance

Hello, it was already set to 6000 so that didn't help :(

0 Kudos
Reply