Directus on Railway: 413 (Upload Too Large)

a year ago

I've read through the docs and issues from others, nothing tells me that Railway should be imposing any kind of upload limits. That said, my configuration does not specify an upload limit on Directus.

Seems like though that I've mitigated the issue by enabled chunked uploads through "TUS_ENABLED", but I'm curious what caused it to fail in the first place.

Solved

10 Replies

a year ago

5bce27d5-0216-4700-b2fc-f3a7f9644cba


a year ago

original image I'm deploying from


a year ago

ADMIN_EMAIL
ADMIN_PASSWORD
DB_CLIENT
DB_CONNECTION_STRING
DB_POOL__MAX
DB_POOL__MIN
EMAIL_TEMPLATES_PATH
ENABLE_ALPINE_PRIVATE_NETWORKING
EXTENSIONS_PATH
HOST
KEY
PORT
PRIVATE_URL
PUBLIC_URL
RAILWAY_RUN_UID
SECRET
STORAGE_LOCAL_ROOT
STORAGE_LOCATIONS
STORAGE_S3_BUCKET
STORAGE_S3_DRIVER
STORAGE_S3_ENDPOINT
STORAGE_S3_KEY
STORAGE_S3_REGION
STORAGE_S3_SECRET
WEBSOCKETS_ENABLED
TUS_ENABLED

These are the only .ENV variables I have set.


a year ago

likely a limitation from directus, we indeed do not impose any upload limits


a year ago

Unclear what the upload limit would be, seems like it gets mad at around 120-180 MB


a year ago

Worked just fine with a 300 MB upload, with Chunked Uploads


a year ago

then problem solved! all i know that this is not something we have a limit on or a page that we would return


a year ago

hmm, L. <:sadcat:630183323104444437>


a year ago

whatever lol


a year ago

!s


Status changed to Solved brody about 1 year ago


Loading...