Directus on Railway: 413 (Upload Too Large)

2 years 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

2 years ago

5bce27d5-0216-4700-b2fc-f3a7f9644cba


2 years ago

original image I'm deploying from


2 years 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.


2 years ago

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


2 years ago

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


2 years ago

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


2 years ago

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


2 years ago

hmm, L. <:sadcat:630183323104444437>


2 years ago

whatever lol


2 years ago

!s


Status changed to Solved brody over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...