Showing posts with label WCF. Show all posts
Showing posts with label WCF. Show all posts

Friday, March 1, 2013

Intermittent TimeoutException: The request channel timed out while waiting for a reply after 00:01:00 in WCF web service

I was experiencing this bug fairly long enough and without any success in reproduction.
Setting sendTimout to more than 1 default minute was not a decision, because this obviously was not an  execution time problem. So as I have described in the previous post about WCF diagnostic, I analysed logs and found out that the response was actually sent from the server towards client which the client somehow failed to recieve. How is that? After pondering some time on the problem I just modified an amount of simultaneous client connection.




This has resolved the issue, but soon after it became clear that I was looking in wrong direction: another two methods clogged the channel which led to above mentioned methods timeout.

Some links which might be helpful:

http://stackoverflow.com/questions/981475/wcf-timeout-exception-detailed-investigation
http://www.codeproject.com/Articles/36031/WCF-Tracing-FAQs
http://www.codeproject.com/Articles/420538/Simple-steps-to-enable-tracing-in-WCF

Thursday, February 28, 2013

WCF Tracing

This link explains the most of trace levels: WCF Tracing FAQ

Add the following sections to server config


And corresponding params to system.serviceModel as well.
All the explanatory notes on params may easily be found in MSDN.


Tuesday, October 27, 2009

Powered by Blogger.