An unsecured or incorrectly secured fault was received from the other party

前端 未结 2 816
臣服心动
臣服心动 2021-01-16 13:31

I have a Windows program that calling a WCF service. This service after a few times be strongly slow and eventually this error will encounter. Restart after once again to th

相关标签:
2条回答
  • 2021-01-16 13:42

    You are probably not closing the connection to the WCF service.

    WCF has a default of 10 connections and a timeout of one min.

    What then happens is that the first 10 hits go OK. The 11th has to wait for an available connection, it will get that after one min when the 1st connections timesout.

    The solution is therefore to make sure that you are closing the WCF connections.

    0 讨论(0)
  • 2021-01-16 13:46

    This happened to me on a newly provisioned server where the time on the box was setup incorrectly. Once the server time was correct this error message went away.

    See the following for more information.

    0 讨论(0)
提交回复
热议问题