vwo-node-sdk
vwo-node-sdk copied to clipboard
On integrating with server side is causing crashing node application
While integrating the vwo-node-sdk
library on the server-side of an existing SSR react application is crashing the whole application. Following is the exception that I am receiving:
`events.js:377
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET at TLSWrap.onStreamRead (internal/stream_base_commons.js:209:20) Emitted 'error' event on ClientRequest instance at: at TLSSocket.socketErrorListener (_http_client.js:475:9) at TLSSocket.emit (events.js:400:28) at emitErrorNT (internal/streams/destroy.js:106:8) at emitErrorCloseNT (internal/streams/destroy.js:74:3) at processTicksAndRejections (internal/process/task_queues.js:82:21) { errno: -54, code: 'ECONNRESET', syscall: 'read' } error Command failed with exit code 1.`
However, the documentation provided here, mentioned about following best practices, which itself is a generic statement. Kindly help here. Thanks!
Please follow the best practices to ensure that your app is prevented from crashing.