render-examples / strapi-postgres-cloudinary

Deploy Strapi with PostgreSQL and Cloudinary on Render.
https://render.com/docs/deploy-strapi
MIT License
41 stars 165 forks source link

Connection Error: Connection ended unexpectedly #18

Open greynguyen opened 2 years ago

greynguyen commented 2 years ago

I am using Render for Strapi with PostgreSQL and uploads on Cloudinary. However, I keep getting Connection Error: Connection ended unexpectedly once a while.

QRDVmGSLkwITnjbMv9bpACw6GYvhKi4cZ3eqcUro

I've tried adding API_TOKEN_SALT per this ticket. I've tried increasing the CPU and RAM per this ticket. But nothing seems to fix the issue. Would appreciate if anyone can help out.

shelmund-popcorn commented 2 years ago

I have the exact same issue with a PostgreSQL Database. The Issue comes up if i try to open the Strapi Login page

greynguyen commented 2 years ago

@crcastle Do you have any ideas on how to fix this?

crcastle commented 2 years ago

Hi @greynguyen and @shelmund-popcorn - It's not immediately clear to me what's causing that, but I can look into it a bit more next week. Do let me know if you are able to resolve it before then.

greynguyen commented 2 years ago

@crcastle @shelmund-popcorn please check out this ticket here: https://github.com/strapi/strapi/issues/11860. Many other users are also experiencing the same issue with Render

johnbeynon commented 2 years ago

It seems like it's a Strapi on Docker issue - as customers of Railway and Fly have reported this error. We have an open PR to address this based on my own findings of a fix.

https://github.com/render-examples/strapi-postgres-cloudinary/pull/19