-
Notifications
You must be signed in to change notification settings - Fork 523
Random 502 cgi gateway error when response 304 then flush response #952
Comments
This seems to be a Kestrel issue. Updated repro code:
I saw the same behaviors with both the DefaultVersion and ThreadPoolVersion repro methods. If I start the site with just Kestrel then the browser will make many parallel requests but only the first 8 will complete, the remainder time out. If I launch IIS Express then most of the requests complete, but 1/10 fail with a 502. |
@CesarBS will investigate. |
On sync flush,
Adding However it does look like |
Fix in "Don't set TE header for non-body responses" #962 |
From @303248153 on July 2, 2016 22:58
First I found this problem with my project, sometime static files will return 502 with cgi gateway error.
Today I do a diggup, to reproduce this problem you needs:
I uploaded a minimal reproduce project, please check it.
It maybe a thread race condition problem because only parallel request will cause this problem.
WebApplication1.zip
I don't known if it's same with other 502.3 issues,
and I already using asp.net core 1.0.0 as you can see in the project.json.
Copied from original issue: aspnet/IISIntegration#219
The text was updated successfully, but these errors were encountered: