Any Progress on Diagnosing “Request timed out” HttpExceptions?

后端 未结 1 2030
无人共我
无人共我 2021-02-09 12:38

I am having the same issue as described in this post, Diagnosing "Request timed out" HttpExceptions. I\'ve turned on Failed Request Tracing as recommended and am worki

相关标签:
1条回答
  • 2021-02-09 12:57

    After over seven months of troubleshooting this issue, the fine folks at Microsoft finally tracked down the problem. It didn't end up being that complicated an issue, we all certainly learned a lot about IIS 7+ integrated mode.

    In summary:

    In IIS6 & IIS7+ Classic mode, the request doesn’t reach asp.net until the entire entity body is read. If the entity body doesn’t get completely read, asp.net has never been reached so http just logs the error and asp.net is never the wiser.

    However, in IIS7+ Integrated mode, asp.net picks up the request immediately, so if the entity body doesn’t get completely read, asp.net logs the timeout and triggers the exception.

    So, these exceptions can safely be ignored because they are expected behavior.

    I really hope this helps someone else out there.

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