R
Railway5mo ago
zgmg92

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:
no size limit, but there is a 5 minute time limit, you would need to do chunked uploads
Jump to solution
7 Replies
Percy
Percy5mo ago
Project ID: N/A
zgmg92
zgmg925mo ago
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
Brody
Brody5mo ago
no size limit, but there is a 5 minute time limit, you would need to do chunked uploads
zgmg92
zgmg925mo ago
Oh shit maybe 5 minutes That is imposed by Railway?
Brody
Brody5mo ago
yes
zgmg92
zgmg925mo ago
Thanks that's likely the culprit
Brody
Brody5mo ago
given the EOF error, super likely