R
Railway2y 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
Percy2y ago
Project ID: N/A
Percy
Percy2y ago
⚠️ experimental feature
Rens
RensOP2y ago
N/A
Brody
Brody2y ago
what error do you get? why did you delete that image
Rens
RensOP2y ago
Brody
Brody2y ago
seriously
Rens
RensOP2y ago
Thought i could show more at once
Brody
Brody2y ago
yeah but the line lmao
Rens
RensOP2y ago
Haha I'm never sure what I can show and what I can't show
Brody
Brody2y ago
are you using the railway template for strapi?
Rens
RensOP2y ago
Yes
Brody
Brody2y ago
I can not replicate this with the railway provided template
Ray
Ray2y ago
is that a response from cloudinary, or your railway-hosted app?
Brody
Brody2y 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
RensOP2y ago
Yes, it even works if I only upload one image
Brody
Brody2y 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
RensOP2y 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
Brody2y ago
perfect! railway does not impose any such limits
Rens
RensOP2y ago
Also not on the free plan?
Brody
Brody2y ago
nope any errors in the logs when you get image upload errors?
Rens
RensOP2y 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
Brody2y 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
RensOP2y ago
I'll next month, waiting on a new card
Brody
Brody2y ago
next month? it's the 5th, that's a ways away go buy a visa gift card lol
Rens
RensOP2y ago
Complain to my bank It'll take 3/4 weeks to receive it
Brody
Brody2y ago
oof
Rens
RensOP2y ago
Saturday I asked them
Brody
Brody2y ago
it's a viable option
Rens
RensOP2y 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
Brody2y ago
lol no problem!
Want results from more Discord servers?
Add your server