R
Railway•13mo ago
Tyron

Many people on my website

Hello i have many people go on my website to register on it and sometimes i got this error Im using Strapi and Nextjs Is this from my code or not ? I'm on Hobby plan for now do i need to scale up ? Thanks in advance
No description
14 Replies
Percy
Percy•13mo ago
Project ID: 3fccad91-9566-4070-ba57-8c0ce7d43105
Tyron
Tyron•13mo ago
3fccad91-9566-4070-ba57-8c0ce7d43105
Brody
Brody•13mo ago
parse error would be a code issue, nothing really to do with railway
Tyron
Tyron•13mo ago
Ok thx brody !
Tyron
Tyron•13mo ago
Might not be related but should i create a specific file for each in the folder env/production ?
No description
Brody
Brody•13mo ago
that would more so be a question for strapi's docs I'm curious now, what are you doing on strapi when you get this error?
Tyron
Tyron•13mo ago
Hum nothing much, just people where on the website and register on it and upload data like photo, pdf... And sometimes i get this error I work with a client and he can't access the admin panel on Safari for example And dumb question, if i push change to railway, i have data in production will my push delete the data on prod ?
Brody
Brody•13mo ago
common safari L how big are these photos or pdfs? if the upload reaches 5 minutes railway will kill the connection and if this isnt handled properly in code you could see those exact type of errors
Tyron
Tyron•13mo ago
i upload the file in AWS S3 buckets and i got some file like : - 248KB , - 2MB , - 200KB , - 95KB , - 2MB
Brody
Brody•13mo ago
then maybe a client is canceling the upload? does that error outright crash strapi?
Tyron
Tyron•13mo ago
No just the request doesnt pass at all for example : the register is in two step i create the account and then upload all data in a content type register always work but for the content type sometimes it failed And one time strapi crash and give me an error 503 on S3 request, i wait 5 minutes and reload the admin panel and work again
Brody
Brody•13mo ago
yeah super odd, well if you arent running into the 5 minute upload limit for railway then this would be an issue with strapi or something in your code base at least
Tyron
Tyron•13mo ago
One last thing and i let you be 😂 (ps: thanks for your patience)
We agree that everything is ok in here ?
No description
No description
Brody
Brody•13mo ago
yep looks good to me (someone who doesnt use strapi)
Want results from more Discord servers?
Add your server