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