R
Railway16mo ago
Rens

Limit on post requests at one time

Is there a limit on post requests at one time? I try to upload more then 1 image at a time on Cloudinary via Strapi on Railway and it gives me an error, but 1 image at a time works.
30 Replies
Percy
Percy16mo ago
Project ID: N/A
Percy
Percy16mo ago
⚠️ experimental feature
Rens
Rens16mo ago
N/A
Brody
Brody16mo ago
what error do you get? why did you delete that image
Rens
Rens16mo ago
Brody
Brody16mo ago
seriously
Rens
Rens16mo ago
Thought i could show more at once
Brody
Brody16mo ago
yeah but the line lmao
Rens
Rens16mo ago
Haha I'm never sure what I can show and what I can't show
Brody
Brody16mo ago
are you using the railway template for strapi?
Rens
Rens16mo ago
Yes
Brody
Brody16mo ago
I can not replicate this with the railway provided template
Ray
Ray16mo ago
is that a response from cloudinary, or your railway-hosted app?
Brody
Brody16mo ago
the previous image that was removed showed a railway domain they're uploading images so they'd be in the strapi ui, so obviously no 503 there, so why would the upload endpoint return 503 have you setup the correct service variables the strapi template needs?
Rens
Rens16mo ago
Yes, it even works if I only upload one image
Brody
Brody16mo ago
I don't know what to tell you, railways template works fine, so you might have messed something up yourself, what that something is, I have no clue, sorry
Rens
Rens16mo ago
I found somebody on the Strapi discord who had the same He said it was because of a limit on the amount of requests at one time
Brody
Brody16mo ago
perfect! railway does not impose any such limits
Rens
Rens16mo ago
Also not on the free plan?
Brody
Brody16mo ago
nope any errors in the logs when you get image upload errors?
Rens
Rens16mo ago
No Something else I have been experiencing: If I don't open my staging frontend for +-3 hours it can't load the data on the first load Seems like it sleeps, even though I know Railway doesn't "[5709] LOG: could not receive data from client: Operation timed out" Maybe it's related, I have no clue
Brody
Brody16mo ago
there's a slim chance this all could be fixed by upgrading to dev plan the strapi instance does use a lot of ram, there might be spikes going past what is allowed on the free plan, this causing these instabilities you are experiencing
Rens
Rens16mo ago
I'll next month, waiting on a new card
Brody
Brody16mo ago
next month? it's the 5th, that's a ways away go buy a visa gift card lol
Rens
Rens16mo ago
Complain to my bank It'll take 3/4 weeks to receive it
Brody
Brody16mo ago
oof
Rens
Rens16mo ago
Saturday I asked them
Brody
Brody16mo ago
it's a viable option
Rens
Rens16mo ago
I'll wait as these issues don't block other work If it isn't fixed with the dev plan, you'll hear me here again Thanks for the help!
Brody
Brody16mo ago
lol no problem!