Request size limit
stepankukharskiy
HOBBYOP

a year ago

I have a SvelteKit project with the adapter node here on Railway. It has an api endpoint to save a project to my PocketBase collection. The project is saved is saved as a json text. It works fine with the request content-length around 30000 but doesn't work with the content-length 75000. The save fetch request just gets stuck. And after 5 minutes I get this error: net::ERR_HTTP2_PROTOCOL_ERROR. I think I'm hitting some request size limit. I have the BODY_SIZE_LIMIT variable set to Infinite in my project. Are there any ways to fix this?

Solved

5 Replies

a year ago

Heya, we have a 5min max http timeout, which is probably the root cause of the issue vs the size of the request.

We currently don't support bumping the http timeout


Status changed to Awaiting User Response Railway 12 months ago


stepankukharskiy
HOBBYOP

a year ago

Got it, thanks! And what are the request size limits?


Status changed to Awaiting Railway Response Railway 12 months ago


a year ago

Not sure, I can ask - here's the docs for the other limits btw: https://docs.railway.com/reference/public-networking#technical-specifications


Status changed to Awaiting User Response Railway 12 months ago


itsrems

Not sure, I can ask - here's the docs for the other limits btw: https://docs.railway.com/reference/public-networking#technical-specifications

stepankukharskiy
HOBBYOP

a year ago

Ok, thanks! No worries.


Status changed to Awaiting Railway Response Railway 12 months ago


a year ago

There is no max payload size +1 emoji only the limits I sent earlier


Status changed to Awaiting User Response Railway 12 months ago


Status changed to Solved itsrems 12 months ago


Loading...