Skip to content

MAX Upload file size #34

@sweco-nlmdek

Description

@sweco-nlmdek

Hi, i have langflow running on a azure kubernetes.
When testing i came across the following error when uploaden a 2.5mb large PDF file : 413 (Request Entity Too Large)

Image

So i have been trying to solve this, but no matter what i tried i aint working.

frontend is of type: LoadBalancer

i have added the following env variables, both in frontend and backend.

  • name: MAX_CONTENT_LENGTH
    value: "100000000" # 100MB
  • name: MAX_UPLOAD_SIZE
    value: "100M"
  • name : LANGFLOW_MAX_FILE_SIZE_UPLOAD
    value: "100"

i have tried specifying like this in the frontend:
nginx:
client_max_body_size: "200M"

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