Det går också att köra kommandot "tdtool --on 1" utan problem på servern. Står att nästa händelse är tändning av lampa om en timme. Det som däremot går med jämna mellanrum är en datakälla att hämta temperatur.
Har ni någon aning om vad problemet kan vara eller hur man kan få reda på serverns exception om/när det händer igen?
Code: Select all
System.ServiceModel.CommunicationException
Level 1) An error occurred while receiving the HTTP response to http://192.168.0.50:8080/SwitchKingFrameworkServiceHost. 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.
Level 2) The underlying connection was closed: An unexpected error occurred on a receive.
Level 3) Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
Level 4) An existing connection was forcibly closed by the remote host
StackTrace for Level 1:
Server stack trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
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()