Strapi logging connection Error. Read CONNRESET. But still running

System Information
  • 3.2.5:
  • Ubunto 18.04:
  • Mysql:
  • Node 12.xx:
  • NPM 6.14.x:

Hello! I just deployed my Strapi on my Azure VM but it keeps logging an error saying:

Connection error: Error: read CONNRESET.

It’s run perfectly on my local development (mac os)

That could be one of two things:

  • Your cron script that is logging to the console is failing to connect for random reasons
  • Strapi is temporarily losing connection to the database

Are you using Docker?

Thanks for the response!

I tried to debug my cron function but it’s seems fine. They ain’t throwing any error.

Agree with the database issue. But if it’s the db, why the apps still running normally(?)

I don’t use docker btw.

That I’m not sure, I need more information to determine where that issue is coming from as it’s not really clear.