Service too busy error in WCF

前端 未结 8 725
被撕碎了的回忆
被撕碎了的回忆 2021-01-03 20:07

I intermittently get the following exception in my .Net WCF Service. \"The HTTP service located at http://MyServer/TestWCF/MyService.svc is too busy.\"

Am I missing

相关标签:
8条回答
  • 2021-01-03 20:59

    I just ran into this error, and it boiled down to a simple configuration problem. I had a service up on the exact same port and same interface (mock service). I ran the service with the appropriate command line switch to run the "original" service I intended. The error went away.

    0 讨论(0)
  • 2021-01-03 21:00

    Make sure you check the inner exception, too; during our deployments, we disable the application pool of a WCF web service, and clients start getting this error during that time:

    System.ServiceModel.ServerTooBusyException: The HTTP service located at https://ourserver.x.com/path/service.svc is too busy. ---> System.Net.WebException: The remote server returned an error: (503) Server Unavailable.

    So in this case an HTTP error 503 is being (mis?)interpreted as "server too busy".

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