Open
Description
Steps to reproduce
- Run loopback4 app using "loopback-connector-mysql": "7.0.13"
- All endpoints work fine
- After some time (e.g 2 hours), try to get data from an endpoint
- I receive error 500
Request GET /settings failed with status code 500. Error: read ECONNRESET at TCP.onStreamRead (node:internal/stream_base_commons:217:20)
- After 3 or 4 retry, then I get a good response from the server.
Current Behavior
- I get error 500 after some running time (e.g 2 hours) with my loopback4 app
- But I have a loopback3 (node 14) application connected to that same database that is using
loopback-connector-mysql": "^5.4.3"
and I do not have such error even after 24h on running
Expected Behavior
- I should get the response from the database without error
Link to reproduction sandbox
N/A
Additional information
node -e 'console.log(process.platform, process.arch, process.versions.node)'
linux x64 18.20.4
npm ls --prod --depth 0 | grep loopback
+-- @loopback/[email protected]
+-- @loopback/[email protected]
+-- @loopback/[email protected]
+-- @loopback/[email protected]
+-- @loopback/[email protected]
+-- @loopback/[email protected]
+-- @loopback/[email protected]
+-- @loopback/[email protected]
+-- @loopback/[email protected]
+-- [email protected]
Related Issues
See Reporting Issues for more tips on writing good issues