Error: read ECONNRESET only on Heroku

System Information
  • Strapi Version: 3.6.5
  • Operating System: linux
  • Database: mysql
  • Node Version: 14
  • NPM Version: 6.14
  • Yarn Version:


Since 3 days, and without any intervention, strapi start to show ECONNRESET error, only on heroku.
When i start the server on local everything works correctly.
But when the projet is hosted on heroku, and my front try to connect, the backend show this :

2022-05-17T13:36:40.872034+00:00 app[web.1]: 
2022-05-17T13:36:40.872042+00:00 app[web.1]:   Error: read ECONNRESET
2022-05-17T13:36:40.872043+00:00 app[web.1]:       at TCP.onStreamRead (internal/stream_base_commons.js:209:20)

The front end is a NextJS application (ISR) hosted en vercel. The project build correctly, but when i try to refresh it, the error show up.

Didn’t find any solution and the forum yet