开发者

WCF service does not respond, how to debug?

consider a WCF service, which is heavily used and behaves normally. But then is stopps responding. In the sevice level message trace you can see the outgoing message on the client, but no incoming message on the server. On transport level theres a incoming message and then nothing. After 60 seconds the client throws a TimeoutException.

What can cause a behavior like this?

What would you do to debug this behavior?

Is it possible that th开发者_开发问答is behavior is caused by too many concurrent connections/sessions?

EDIT: Client and Server are on the same machine. Both are .NET apps. When the client is restarted the problem sometimes does not happen. Also the problem does only appear on a single machine. I was not able to reproduce the behavior on any other machine.

Regards

Michael


I understand you have no problem on network level as you have mentioned that you can see incoming request on transport level. So the first thing to check does the service is up and does it works if the client is on the same machine.
Also you can analyze incoming messages may be the problem can be there. Here WireShark will be your friend.

Also check can you view the wsdl from the client machine. By the way are your clients also .NET apps?


You can configure tracing using the application’s configuration file—either Web.config for Web-hosted applications, or Appname.config for self-hosted applications by Service Trace Viewer

or use from debug tools such Debug Diag

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜