Service too busy error in WCF

前端 未结 8 781
被撕碎了的回忆
被撕碎了的回忆 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 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".

提交回复
热议问题