[CONJS-78] Read ECONNRESET Error Created: 2019-05-25  Updated: 2020-02-03  Resolved: 2020-02-03

Status: Closed
Project: MariaDB Connector/node.js
Component/s: pool
Affects Version/s: 2.0.5
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Arjun B Assignee: Diego Dupin
Resolution: Cannot Reproduce Votes: 0
Labels: None


 Description   

MariaDB Node JS connector pool returns "read ECONNRESET Error" randomly with the compress pool option set to true. Here are the options that I used to create the pool

let options = {
    host: <host>,
    acquireTimeout: 10000,
    port: <port>,
    database: <db>,
    user: <user>,
    password: <pswd>,
    compress: true,
    namedPlaceholders: true,
    connectionLimit: 10,
    minDelayValidation: 2000
}
 
let pool = mariaDb.createPool(options)

When the "compress" is set to false, the error is not seen. I am not sure if it is related.



 Comments   
Comment by Diego Dupin [ 2019-06-03 ]

I've try to reproduced the issue without success.

"read ECONNRESET Error" means socket has been closed server side.
Could you check and send server logs here ? (server logs error when closing connection without client explicitly indicating to close connection)

Comment by Diego Dupin [ 2020-02-03 ]

closing since not reproducing and no answer.
Feel free to open a new issue and link to that one if you reproduced the issue.

Generated at Thu Feb 08 03:22:36 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.