strapi-postgres-cloudinary icon indicating copy to clipboard operation
strapi-postgres-cloudinary copied to clipboard

Connection Error: Connection ended unexpectedly

Open greynguyen opened this issue 2 years ago • 5 comments

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.

greynguyen avatar Apr 15 '22 22:04 greynguyen

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

shelmund-popcorn avatar May 10 '22 11:05 shelmund-popcorn

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

greynguyen avatar May 25 '22 18:05 greynguyen

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.

crcastle avatar May 26 '22 18:05 crcastle

@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

greynguyen avatar May 26 '22 19:05 greynguyen

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

johnbeynon avatar Jun 14 '22 09:06 johnbeynon