【问题标题】:WCF Timeout exception on service call服务调用上的 WCF 超时异常
【发布时间】:2012-06-19 12:05:52
【问题描述】:

我有一个 WCF 服务在直播时出现以下错误

Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 19/06/2012 10:39:09 
Event time (UTC): 19/06/2012 09:39:09 
Event ID: 501c1b630958413db7c7f746b0a467f7 
Event sequence: 74336 
Event occurrence: 742 
Event detail code: 0 

Application information: 
    Application domain: /LM/W3SVC/5/ROOT-1-129844753959691296 
    Trust level: Full 
    Application Virtual Path: / 
    Application Path: <private> 
    Machine name: <private> 

Process information: 
    Process ID: 6112 
    Process name: w3wp.exe 
    Account name: IIS APPPOOL\<private> 

Exception information: 
    Exception type: TimeoutException 
    Exception message: The HTTP request to '<private>/EndPoint.svc' has exceeded the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout.
   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)

The operation has timed out
   at System.Net.HttpWebRequest.GetResponse()
   at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)



Request information: 
    Request URL: http://<private>/ 
    Request path: / 
    User host address: <private> 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: IIS APPPOOL\<private>  

Thread information: 
    Thread ID: 110 
    Thread account name: IIS APPPOOL\<private>  
    Is impersonating: False 
    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)


Custom event details: 

我们的网站已关闭,我不知道该怎么办。欢迎任何想法。

【问题讨论】:

  • 您可以发布客户端/服务配置以及您从客户端调用服务的方式吗?

标签: wcf wcf-data-services


【解决方案1】:

尝试在服务/客户端配置中增加SendTimeoutReceiveTimeout 属性。

WCF Service , how to increase the timeout?

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2010-12-11
    • 1970-01-01
    • 2011-03-20
    • 2012-07-16
    • 1970-01-01
    • 2011-11-28
    • 1970-01-01
    相关资源
    最近更新 更多