Open nappa85 opened 3 years ago
OS distro and version? Node version? Npm version? Mysql version? DCM version? Using cloudflare?
Request aborted should only occur occasionally tbh, if it's frequent then you have a big-ish issue. Do you use proxies and do they have access to local resources?
I honestly don't ever have to restart DCM other than doing it occasionally (every few months to update it) so I think it can recover from failed mysql connections just fine.
The second error is pointing here: https://github.com/versx/DeviceConfigManager/blob/master/src/routes/api.js#L413 which leads me to believe a CF or proxy issue although you said that it only happens sometimes. 🤔
Sorry for the late reply
OS distro and version? docker (alpine) Node version? 12.16.2 Npm version? 6.14.4 Mysql version? 5.7.33 DCM version? latest master branch Using cloudflare? Yes, but clients are using public IP, so I think cloudflare is skipped
Sorry for the late reply
OS distro and version? docker (alpine) Node version? 12.16.2 Npm version? 6.14.4 Mysql version? 5.7.33 DCM version? latest master branch Using cloudflare? Yes, but clients are using public IP, so I think cloudflare is skipped
Is this still an issue? CF is still used/routed if client is using public IP address to connect.
My running DCM log is full of
Somethimes also
Is it something I should worry about? Can this exception be handled? More, it seems that it can't recover from a lost MySQL connection, I'm having some minor problems with MySQL reachability and DCM is the only software I have to force-restart.