Trying to fix ssl issue in Node 18+ version adding node_args with pm2 commands
node_args: [‘–tls-max-v1.3’, ‘–tls-min-v1.3’],
this is working fine with dummy code but not working with project repo code, I am getting this error after adding node_args without args getting ssl error in node version more than 18
Error: Client network socket disconnected before secure TLS connection was established at Function.connect (C:\Users\NASHEKH\project-repos\chubb-studio-native-apis\node_modules@studio\sapi-utils\dist\db-operations\db-connection.js:34:19) at C:\Us
Actually we are migrating data from cosmos to mongodb so we are connecting with both In my case cosmos is working fine we are setting tlsv1.3 for mongodb that is not working.
with node 16 working with tls 1.1 as well but i am trying to fix the same issue with node 20 and tls v1.3