home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
WebService and Mobile Access
TV4Home - WCF Webservice for MediaPortal TV Server
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Oxan" data-source="post: 737708" data-attributes="member: 97484"><p>I'm having some problems under high load (multiple concurrent queries). After waiting a few minutes everything seems to work fine again. It seems to be caused by an exception in the GetChannelBasicById function (but the channel does exist, as the same code works later). Is there some way I can debug this kind of errors? </p><p>[code]2011-04-29 13:50:15.395372: 25: Exception: System.TimeoutException: The open operation did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout. ---> System.TimeoutException: The read from the pipe did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout.</p><p>2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.PipeConnection.WaitForSyncRead(TimeSpan timeout, Boolean traceExceptionsAsErrors)</p><p>2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.PipeConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)</p><p>2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.ConnectionUpgradeHelper.InitiateUpgrade(StreamUpgradeInitiator upgradeInitiator, IConnection& connection, ClientFramingDecoder decoder, IDefaultCommunicationTimeouts defaultTimeouts, TimeoutHelper& timeoutHelper)</p><p>2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.SendPreamble(IConnection connection, ArraySegment`1 preamble, TimeoutHelper& timeoutHelper)</p><p>2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.DuplexConnectionPoolHelper.AcceptPooledConnection(IConnection connection, TimeoutHelper& timeoutHelper)</p><p>2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)</p><p>2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)</p><p>2011-04-29 13:50:15.395372: 25: --- End of inner exception stack trace ---</p><p>2011-04-29 13:50:15.395372: 25: </p><p>2011-04-29 13:50:15.395372: 25: Server stack trace: </p><p>2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)</p><p>2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)</p><p>2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)</p><p>2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)</p><p>2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)</p><p>2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)</p><p>2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)</p><p>2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)</p><p>2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)</p><p>2011-04-29 13:50:15.395372: 25: </p><p>2011-04-29 13:50:15.395372: 25: Exception rethrown at [0]: </p><p>2011-04-29 13:50:15.395372: 25: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)</p><p>2011-04-29 13:50:15.395372: 25: at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)</p><p>2011-04-29 13:50:15.395372: 25: at TV4Home.Server.TVEInteractionLibrary.Interfaces.ITVEInteraction.GetChannelBasicById(Int32 channelId)</p><p>2011-04-29 13:50:15.395372: 25: at MPWebStream.Site.StreamPage.ProcessRequest(HttpContext context)</p><p>2011-04-29 13:50:15.395372: 25: Finishing timeshifting[/code]</p></blockquote><p></p>
[QUOTE="Oxan, post: 737708, member: 97484"] I'm having some problems under high load (multiple concurrent queries). After waiting a few minutes everything seems to work fine again. It seems to be caused by an exception in the GetChannelBasicById function (but the channel does exist, as the same code works later). Is there some way I can debug this kind of errors? [code]2011-04-29 13:50:15.395372: 25: Exception: System.TimeoutException: The open operation did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout. ---> System.TimeoutException: The read from the pipe did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout. 2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.PipeConnection.WaitForSyncRead(TimeSpan timeout, Boolean traceExceptionsAsErrors) 2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.PipeConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout) 2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.ConnectionUpgradeHelper.InitiateUpgrade(StreamUpgradeInitiator upgradeInitiator, IConnection& connection, ClientFramingDecoder decoder, IDefaultCommunicationTimeouts defaultTimeouts, TimeoutHelper& timeoutHelper) 2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.SendPreamble(IConnection connection, ArraySegment`1 preamble, TimeoutHelper& timeoutHelper) 2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.DuplexConnectionPoolHelper.AcceptPooledConnection(IConnection connection, TimeoutHelper& timeoutHelper) 2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout) 2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout) 2011-04-29 13:50:15.395372: 25: --- End of inner exception stack trace --- 2011-04-29 13:50:15.395372: 25: 2011-04-29 13:50:15.395372: 25: Server stack trace: 2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout) 2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) 2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout) 2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) 2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade) 2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout) 2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) 2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) 2011-04-29 13:50:15.395372: 25: at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) 2011-04-29 13:50:15.395372: 25: 2011-04-29 13:50:15.395372: 25: Exception rethrown at [0]: 2011-04-29 13:50:15.395372: 25: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) 2011-04-29 13:50:15.395372: 25: at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) 2011-04-29 13:50:15.395372: 25: at TV4Home.Server.TVEInteractionLibrary.Interfaces.ITVEInteraction.GetChannelBasicById(Int32 channelId) 2011-04-29 13:50:15.395372: 25: at MPWebStream.Site.StreamPage.ProcessRequest(HttpContext context) 2011-04-29 13:50:15.395372: 25: Finishing timeshifting[/code] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
WebService and Mobile Access
TV4Home - WCF Webservice for MediaPortal TV Server
Contact us
RSS
Top
Bottom