-
Notifications
You must be signed in to change notification settings - Fork 182
Open
Labels
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/authentication-jwt@0.15.1
+-- @loopback/authentication@11.0.1
+-- @loopback/authorization@0.15.1
+-- @loopback/boot@7.0.1
+-- @loopback/core@6.0.1
+-- @loopback/repository@7.0.1
+-- @loopback/rest-explorer@7.0.1
+-- @loopback/rest@14.0.1
+-- @loopback/service-proxy@7.0.1
+-- loopback-connector-mysql@7.0.13
Related Issues
See Reporting Issues for more tips on writing good issues
AdamSmid