Skip to content

Missing buffer size option for wsgi lead to 502 #4

@rafspiny

Description

@rafspiny

When deploying a Flask app to EBS (using the tutorial) one can face 502 HTTP status code when returning response with a size bigger than 4096.

invalid request block size: 4654 (max 4096)...skip

Apparently this script does not contemplate to configure the buffer-size option for WSGI.
After reading the doc about configuration on EBS I am not sure if I can specify such an option without doing a hacky replace of the uwsgi-start.sh script and rerun it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions