error: timeout of 5000ms exceeded, stack: AxiosError Adapter Absturz
Opened this issue · 2 comments
Moin,
Unifi 0.6.7
JS 5.0.19
Node JS v18.17.1
NPM 9.6.7
seit einiger Zeit stürzt der Adapter regelmäßig ab, im Protokoll finde ich nur diese Fehler die mir nicht wirklich weiterhelfen:
unifi.0
2024-04-12 19:00:37.327 error Cannot read properties of undefined (reading 'captureException')
unifi.0
2024-04-12 19:00:37.327 error TypeError: Cannot read properties of undefined (reading 'captureException') at Unifi.handleError (/opt/iobroker/node_modules/iobroker.unifi/main.js:243:53) at Unifi.updateUnifiData (/opt/iobroker/node_modules/iobroker.unifi/main.js:269:22)
unifi.0
2024-04-12 19:00:37.327 error unhandled promise rejection: Cannot read properties of undefined (reading 'captureException')
unifi.0
2024-04-12 19:00:37.327 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
unifi.0
2024-04-12 19:00:37.326 error [updateUnifiData-login site undefined] error: timeout of 10000ms exceeded, stack: AxiosError: timeout of 10000ms exceeded at RedirectableRequest.handleRequestTimeout (/opt/iobroker/node_modules/axios/dist/node/axios.cjs:3120:16) at RedirectableRequest.emit (node:events:514:28) at Timeout. (/opt/iobroker/node_modules/follow-redirects/index.js:210:12) at listOnTimeout (node:internal/timers:569:17) at process.processTimers (node:internal/timers:512:7)
ist bei mir auch so, alle 5std
Unifi adapter Version: v0.7.0
Node.js: v18.20.2
NPM: 10.5.0
updateUnifiData-login site undefined] error: timeout of 10000ms exceeded, stack: AxiosError: timeout of 10000ms exceeded at RedirectableRequest.handleRequestTimeout (/opt/iobroker/node_modules/axios/lib/adapters/http.js:643:16) at RedirectableRequest.emit (node:events:517:28) at RedirectableRequest.emit (node:domain:489:12) at Timeout.<anonymous> (/opt/iobroker/node_modules/follow-redirects/index.js:210:12) at listOnTimeout (node:internal/timers:569:17) at processTimers (node:internal/timers:512:7)
Bei mir auch in regelmäßigen Abständen. Allerdings eher im 5-10 Minuten Takt.
Unifi adapter Version: v0.7.0
Node.js: v20.11.0
NPM: 10.2.4
[updateUnifiData-login site undefined] error: timeout of 10000ms exceeded, stack: AxiosError: timeout of 10000ms exceeded at RedirectableRequest.handleRequestTimeout (D:\ioBroker\node_modules\axios\lib\adapters\http.js:643:16) at RedirectableRequest.emit (node:events:518:28) at RedirectableRequest.emit (node:domain:488:12) at Timeout.<anonymous> (D:\ioBroker\node_modules\follow-redirects\index.js:210:12) at listOnTimeout (node:internal/timers:573:17) at processTimers (node:internal/timers:514:7)