Page 1 of 1

Datakälla och ändra "Använd förfallotid" ger timeout

Posted: Wed 29 Aug 2012, 11:16
by tohn
När jag vill ändra eller sätta "Använd förfallotid" på mina datakällor så får jag System Timout.
Får det både direkt på servern(Windows 7 sp1) och från klient (Windows 8 RTM)

Server Version: 3.0.0.8
Client Version : 3.0.0.9


Utökad fel information från klienten :

System.TimeoutException

Level 1) The request channel timed out while waiting for a reply after 00:01:00. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.
Level 2) The HTTP request to 'http://192.169.0.28:8080/SwitchKingFrameworkServiceHost' has exceeded the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout.
Level 3) The request was aborted: The operation has timed out.

StackTrace for Level 1:

Server stack trace:
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.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.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
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 SwitchKing.Client.GUI.SKSrv.FrameworkService.GetEntityLogEntriesRegisteredNewerThan(DateTime d)
at SwitchKing.Client.GUI.Server.CheckServerState()

Re: Datakälla och ändra "Använd förfallotid" ger timeout

Posted: Wed 29 Aug 2012, 11:23
by Martin
Går servern fortfarande efter ändring, eller kraschar den så att det är just ett tillfälligt problem?

Eftersom det krävs en omsparning av alla värden så kan det bero på att det är ett stort antal som ska sparas och isf tar väldigt lång tid. I normalfallet tar det inte (eller ska det naturligtvis inte ta) så lång tid som en minut.

Skicka gärna loggar + db så att det är möjligt att se antalet värden och hur lång tid detta tar.

Re: Datakälla och ändra "Använd förfallotid" ger timeout

Posted: Wed 29 Aug 2012, 13:28
by tohn
DB + loggar skickade..

Oftast fungerar servern efteråt.. Men det har hänt att jag har varit tvungen att starta om tjänsterna för att få kontakt igen..

Re: Datakälla och ändra "Använd förfallotid" ger timeout

Posted: Wed 29 Aug 2012, 22:39
by Martin
Tack för db+loggar.

http://bugnet.switchking.se/Issues/Issu ... spx?id=543

Åtgärdat i 3.0.0.9