间歇性WCF超时问题

时间:2014-10-01 14:34:15

标签: wcf timeout wcf-security

客户经常遇到以下错误

  

其他信息:客户端无法在配置的超时(00:00:00)内完成安全协商。当前的谈判支持是1(00:00:00)。

这表明某处我指的是0秒的超时时间,我不是。有问题的绑定我已经明确设置超时15秒

<ws2007HttpBinding>
    <binding name="wsUsername" sendTimeout="00:00:15" receiveTimeout="00:00:15">
      <security mode="TransportWithMessageCredential">
        <message establishSecurityContext="false"
                 negotiateServiceCredential="true"
                 clientCredentialType="UserName" />
      </security>

正如我所说,这是非常间歇性的。相当多的时间这个工作,一旦它工作,它继续这样做15分钟左右,直到故障再次开始。我已经开启了WCF跟踪,但它并没有告诉我任何超过我在这里传达的信息。

0 个答案:

没有答案
相关问题