Databricks app crash

kay0291
New Contributor

Hello everyone,

I am working on a databricks app project. IT's a chatbot on a monorepo wih a frontend built with next.js and a fastapi backend. 

Sometimes the app crashes unexpectedly. In the logs i see these messages : 

-> sending sigterms to other processes
npm run start:api exited with code 137
Error: read ECONNRESET at TCP.onStreamRead (node:internal/stream_base_commons) at TCP.callback...
Failed to proxy http://localhost.... ERROR: read ECONNRESET 
Killed


Any ideas ? I know the project setup is not ideal but i still don't get why the sudden crashes happen. 

Thank you.