Does Railway have a max upload size limit?
I am trying to upload a 256 MB payload to my Go server deployed on Railway using Gin and I am receiving an EOF error. However when I try to upload a 52 MB payload it works just fine. Is there a limit for Railway and can I increase it? I have the Pro plan.
Solution:Jump to solution
no size limit, but there is a 5 minute time limit, you would need to do chunked uploads
7 Replies
Project ID:
N/A
My guess is that there's a 100 MB limit somewhere but I have no idea in the stack where that might be set. Not sure if it's a Railway thing or a server thing?
Solution
no size limit, but there is a 5 minute time limit, you would need to do chunked uploads
Oh shit maybe 5 minutes
That is imposed by Railway?
yes
Thanks that's likely the culprit
given the EOF error, super likely