Closed kin-for-test closed 1 year ago
I believe it is expected behaviour in node 19 for uncaught promise rejections to exit node.
You need to make sure you're catching errors.
As I don't know about your environment, I can't give help on why the connections are being reset.
closing due to lack of response
Were you able to solve this issue @kin-for-test @dhensby ? I have tried multiple fixes but none of them seem to work.
I have opened a new issue as well https://github.com/tediousjs/tedious/issues/1545
Software Versions: Node : v18.16.0 mssql : v9.1.1 Sequelize : v6.31.1 Tedious: v16.1.0
when using connectionpool to connect the db , it will randomly exit program
Expected behaviour:
expected using connection pool connect to the db
Actual behaviour:
start from connect() it will throw err but not close the program , after some req come in , program will randomly exit program.
Configuration:
index.js
DB.js
Software versions