Skip to content

Completely blank white swagger page, browser reports failure to retrieve files from nonsense URLs #50

@LordZorgoth

Description

@LordZorgoth

Flask is looking for Swagger files at nonsense locations, e.g. http://swagger-ui-standalone-preset.js/, and I get a blank white page upon loading my Swagger path. gunicorn and Python report no errors, and my API works fine apart from the Swagger page.

Firefox reports the following:

Failed to load resource: net::ERR_EMPTY_RESPONSE
swagger-ui-bundle.js/:1          Failed to load resource: net::ERR_EMPTY_RESPONSE
swagger-ui.css/:1          Failed to load resource: net::ERR_EMPTY_RESPONSE
index.css/:1          Failed to load resource: net::ERR_EMPTY_RESPONSE
(index):22 Uncaught ReferenceError: SwaggerUIBundle is not defined
    at (index):22:9
favicon-32x32.png/:1          Failed to load resource: net::ERR_EMPTY_RESPONSE
favicon-16x16.png/:1          Failed to load resource: net::ERR_EMPTY_RESPONSE

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