开发者

The maximum retry count has been exceeded with no response from the remote endpoint

I am calling a method in my WCF service that performs time-consuming data operations. I also require reliable sessions.

When I call this method with reliable sessions enabled I get the following error after about 4 minutes:

The maximum retry count has been exceeded with no response from the remote endpoint. The reliable session was faulted. This is often an indication that the remote endpoint is no longer available.

I realize this question has been asked alot, but every answer I have seen suggests that something is going wrong in the backend and/or that reliable messaging should be disabled.

In my case, I can disable reliable messaging and it completes in about 4 minutes without any errors. In fact, I can see all of the DB calls in Profiler -开发者_Python百科 it appears to be finishing in both cases, only I get an error when reliable messaging is enabled. I can't find any errors in the trace log that don't reference reliable sessions.

Any ideas on why I get an error with reliable session enabled?


What type of binding are you using?

In your configuration, do you have a reliabilitySession inactivityTimeout value set?

Something like:

<binding name = "MyBinding">
  <reliabilitySession inactivityTimeout = "00:24:00" />
</binding>

See here or chapter one of Juval Lowy's Programming WCF Services (link).

What else do you have configured in your binding?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜