gpt4 book ai didi

服务调用上的 WCF 超时异常

转载 作者:行者123 更新时间:2023-12-01 02:34:09 26 4
gpt4 key购买 nike

我有一个 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:

我们的网站已关闭,我不知道在这里做什么。任何想法都是最受欢迎的。

最佳答案

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

WCF Service , how to increase the timeout?

关于服务调用上的 WCF 超时异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11100551/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com