domaindrivendev / Swashbuckle.WebApi

Seamlessly adds a swagger to WebApi projects!
BSD 3-Clause "New" or "Revised" License
3.07k stars 679 forks source link

Swagger UI not loading with error Microsoft.AspNet.WebApi net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK) #1434

Open VamsiKande opened 2 years ago

VamsiKande commented 2 years ago

** As per the contributing guidelines, please restrict the creation of issues to reproducible bug reports and feature requests that align to the project's goals. If you have general questions or feedback around the use of Swashbuckle, PLEASE DON'T CREATE AN ISSUE AND POST TO STACKOVERFLOW INSTEAD.

Also note that Swashbuckle leverages the swagger-ui project but doesn't actually implement any UI code. If you've discovered a UI-specific issue, PLEASE DON'T CREATE AN ISSUE HERE AND POST TO THE SWAGGER-UI REPO INSTEAD **

VERSION:

Swashbuckle.WebApi 5.6.0

STEPS TO REPRODUCE:

when trying to load the swagger UI

EXPECTED RESULT:

should load the UI

ACTUAL RESULT:

showing blank screen

ADDITIONAL DETAILS

seems to be an issue with gzip encoding on the index, response getting chunked, seeing an error net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK)

tried disabling the gzip encoding removing the browser default, loads the UI. so seems to be an issue with the gzip encoding.

image image image

VamsiKande commented 2 years ago

Suspecting this could be an issue loading the swagger UI, does anyone could see this be an issue?

image