4 months 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?
5 Replies
4 months 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 • 5 months ago
4 months ago
Got it, thanks! And what are the request size limits?
Status changed to Awaiting Railway Response Railway • 5 months ago
4 months 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 • 5 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
4 months ago
Ok, thanks! No worries.
Status changed to Awaiting Railway Response Railway • 5 months ago
Status changed to Awaiting User Response Railway • 5 months ago
Status changed to Solved itsrems • 5 months ago