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.
Arjun B
created issue -
2019-05-25 08:02
Arjun B
made changes -
2019-05-25 08:03
Field
Original Value
New Value
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
{
host: <host>,
acquireTimeout: 10000,
port: <port>,
database: <db>,
user: <user>,
password: <pswd>,
compress: true,
namedPlaceholders: true,
connectionLimit: 10,
minDelayValidation: 2000
}
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
{code:json}
{
host: <host>,
acquireTimeout: 10000,
port: <port>,
database: <db>,
user: <user>,
password: <pswd>,
compress: true,
namedPlaceholders: true,
connectionLimit: 10,
minDelayValidation: 2000
}
{code}
Arjun B
made changes -
2019-05-25 08:04
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
{code:json}
{
host: <host>,
acquireTimeout: 10000,
port: <port>,
database: <db>,
user: <user>,
password: <pswd>,
compress: true,
namedPlaceholders: true,
connectionLimit: 10,
minDelayValidation: 2000
}
{code}
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
{code:json}
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)
{code}
Arjun B
made changes -
2019-05-25 08:05
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
{code:json}
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)
{code}
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
{code:json}
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)
{code}
When the "compress" is set to false, the error is not seen. I am not sure if it is related.
Arjun B
made changes -
2019-05-25 08:05
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
{code:json}
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)
{code}
When the "compress" is set to false, the error is not seen. I am not sure if it is related.
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
{code:json}
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)
{code}
When the "compress" is set to false, the error is not seen. I am not sure if it is related.
Diego Dupin
made changes -
2020-02-03 14:01
Fix Version/s
0.0.0
[ 23129
]
Resolution
Cannot Reproduce
[ 5
]
Status
Open
[ 1
]
Closed
[ 6
]
Sergei Golubchik
made changes -
2021-12-06 21:28
Workflow
MariaDB v3
[ 96970
]
MariaDB v4
[ 135260
]
{"report":{"fcp":854.1999998092651,"ttfb":253.89999985694885,"pageVisibility":"visible","entityId":76260,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"29d1d2fc-8ffb-4bd6-a33c-cd438e488cf1","navigationType":0,"readyForUser":927,"redirectCount":0,"resourceLoadedEnd":797.3999998569489,"resourceLoadedStart":264,"resourceTiming":[{"duration":5.799999952316284,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":264,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":264,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":269.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":5.8999998569488525,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":264.2999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":264.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":270.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":71.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":264.5,"connectEnd":264.5,"connectStart":264.5,"domainLookupEnd":264.5,"domainLookupStart":264.5,"fetchStart":264.5,"redirectEnd":0,"redirectStart":0,"requestStart":264.5,"responseEnd":336.09999990463257,"responseStart":336.09999990463257,"secureConnectionStart":264.5},{"duration":132.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":265.09999990463257,"connectEnd":265.09999990463257,"connectStart":265.09999990463257,"domainLookupEnd":265.09999990463257,"domainLookupStart":265.09999990463257,"fetchStart":265.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":265.09999990463257,"responseEnd":397.89999985694885,"responseStart":397.89999985694885,"secureConnectionStart":265.09999990463257},{"duration":136.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":265.2999999523163,"connectEnd":265.2999999523163,"connectStart":265.2999999523163,"domainLookupEnd":265.2999999523163,"domainLookupStart":265.2999999523163,"fetchStart":265.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":265.2999999523163,"responseEnd":402.09999990463257,"responseStart":402.09999990463257,"secureConnectionStart":265.2999999523163},{"duration":137.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":265.5,"connectEnd":265.5,"connectStart":265.5,"domainLookupEnd":265.5,"domainLookupStart":265.5,"fetchStart":265.5,"redirectEnd":0,"redirectStart":0,"requestStart":265.5,"responseEnd":402.69999980926514,"responseStart":402.69999980926514,"secureConnectionStart":265.5},{"duration":137.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":265.59999990463257,"connectEnd":265.59999990463257,"connectStart":265.59999990463257,"domainLookupEnd":265.59999990463257,"domainLookupStart":265.59999990463257,"fetchStart":265.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":265.59999990463257,"responseEnd":403.19999980926514,"responseStart":403.19999980926514,"secureConnectionStart":265.59999990463257},{"duration":216,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":265.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":265.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":481.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":137.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":266,"connectEnd":266,"connectStart":266,"domainLookupEnd":266,"domainLookupStart":266,"fetchStart":266,"redirectEnd":0,"redirectStart":0,"requestStart":266,"responseEnd":403.59999990463257,"responseStart":403.59999990463257,"secureConnectionStart":266},{"duration":215.90000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":266.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":266.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":482,"responseStart":0,"secureConnectionStart":0},{"duration":137.89999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":266.2999999523163,"connectEnd":266.2999999523163,"connectStart":266.2999999523163,"domainLookupEnd":266.2999999523163,"domainLookupStart":266.2999999523163,"fetchStart":266.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":266.2999999523163,"responseEnd":404.19999980926514,"responseStart":404.19999980926514,"secureConnectionStart":266.2999999523163},{"duration":398.60000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":284.19999980926514,"connectEnd":284.19999980926514,"connectStart":284.19999980926514,"domainLookupEnd":284.19999980926514,"domainLookupStart":284.19999980926514,"fetchStart":284.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":284.19999980926514,"responseEnd":682.7999999523163,"responseStart":682.7999999523163,"secureConnectionStart":284.19999980926514},{"duration":483.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":314.09999990463257,"connectEnd":314.09999990463257,"connectStart":314.09999990463257,"domainLookupEnd":314.09999990463257,"domainLookupStart":314.09999990463257,"fetchStart":314.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":314.09999990463257,"responseEnd":797.3999998569489,"responseStart":797.3999998569489,"secureConnectionStart":314.09999990463257},{"duration":189.59999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":493.59999990463257,"connectEnd":493.59999990463257,"connectStart":493.59999990463257,"domainLookupEnd":493.59999990463257,"domainLookupStart":493.59999990463257,"fetchStart":493.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":493.59999990463257,"responseEnd":683.1999998092651,"responseStart":683.1999998092651,"secureConnectionStart":493.59999990463257},{"duration":284.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&slack-enabled=true&whisper-enabled=true","startTime":769.0999999046326,"connectEnd":769.0999999046326,"connectStart":769.0999999046326,"domainLookupEnd":769.0999999046326,"domainLookupStart":769.0999999046326,"fetchStart":769.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":769.0999999046326,"responseEnd":1053.3999998569489,"responseStart":1053.3999998569489,"secureConnectionStart":769.0999999046326}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":68,"responseStart":254,"responseEnd":314,"domLoading":258,"domInteractive":988,"domContentLoadedEventStart":988,"domContentLoadedEventEnd":1045,"domComplete":1666,"loadEventStart":1666,"loadEventEnd":1667,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":959.0999999046326},{"name":"bigPipe.sidebar-id.end","time":959.8999998569489},{"name":"bigPipe.activity-panel-pipe-id.start","time":960},{"name":"bigPipe.activity-panel-pipe-id.end","time":963.7999999523163},{"name":"activityTabFullyLoaded","time":1060.5999999046326}],"measures":[],"correlationId":"54461920273f8d","effectiveType":"4g","downlink":9.3,"rtt":0,"serverDuration":109,"dbReadsTimeInMs":16,"dbConnsTimeInMs":26,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
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)