WCF WS-Trust 绑定 (ws2007FederationHttpBinding) 延迟?
我们有一个带有联合 WCF 服务 (ws2007FederationHttpBinding) 的 BizTalk 2006 R2 解决方案。一切似乎都正常,但我们遇到了一些延迟。
从 WCF 跟踪日志来看,验证传入消息的安全标头似乎需要大约 30 - 45 秒的延迟。从跟踪中可以看出,处理安全上下文令牌存在延迟(操作:http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/SCT)。它从跟踪中的点“通过通道接收到消息”到“安全协议验证了传入消息”。我们遇到了延迟(每次大约> 30秒)。
我们尝试在服务器和客户端上将 negotiateServiceCredential 设置为 false,但没有得到预期的结果。
有人知道造成延迟的原因吗?
不得不提的是,BizTalk 服务器位于防火墙后面,对资源的访问受到限制(仅为客户端和 STS 服务器打开)
We have an BizTalk 2006 R2 solution with an federated WCF service (ws2007FederationHttpBinding). Things seem to work ok, but we experiencing some delay however.
From the WCF trace logs it seem to take about 30 - 45 sec delay to verify the security header of the incoming message. From the trace there is a delay processing security context tokens (action: http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/SCT). it from the point in the trace "Received a message over a channel" to "The security protocol verified the incoming message." we experience an delay (approx > 30 secs each time).
We've tried to set negotiateServiceCredential to false on both server and client without the desired outcome.
Does anybody have an idea what causing the delay?
Have to mention that the BizTalk server sits behind a firewall with limited access to resources (opened just for the client and the STS server)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我也一直在研究这个问题。我在一个非常简单的 wsHTTPbinding WCF 服务上发生了这种情况,但它是同样的问题。 “通过通道收到消息”到“安全协议验证了传入消息”。位于不同的线程上。我的时间间隔正好是 5 分 30 秒。
I've been researching this issue also. I have it happening on a very simple wsHTTPbinding WCF service, but its the same issue. "Received a message over a channel" to "The security protocol verified the incoming message." are on different threads. mine have exactly 5mins and 30 seconds between them.