Skip to content

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

@VamsiKande

Description

@VamsiKande

** 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions