ioBroker.tuya icon indicating copy to clipboard operation
ioBroker.tuya copied to clipboard

Unhandled promise rejection - Adapter Version 3.6.15

Open Ilovegym66 opened this issue 2 years ago • 3 comments

if some devices are offline, the Adapters crashs:

2022-07-13 10:44:35.899 - error: tuya.0 (7247) 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(). 2022-07-13 10:44:35.899 - error: tuya.0 (7247) unhandled promise rejection: connection timed out 2022-07-13 10:44:35.901 - error: tuya.0 (7247) Error: connection timed out at Socket. (/opt/iobroker/node_modules/tuyapi/index.js:468:20) at Object.onceWrapper (node:events:641:28) at Socket.emit (node:events:527:28) at Socket.emit (node:domain:475:12) at Socket._onTimeout (node:net:516:8) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7) 2022-07-13 10:44:35.901 - error: tuya.0 (7247) connection timed out 2022-07-13 10:44:37.877 - error: host.VMC123-iobroker Caught by controller[0]: 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(). The promise rejected with the reason: 2022-07-13 10:44:37.877 - error: host.VMC123-iobroker Caught by controller[1]: Error: connection timed out 2022-07-13 10:44:37.877 - error: host.VMC123-iobroker Caught by controller[1]: at Socket. (/opt/iobroker/node_modules/tuyapi/index.js:468:20) 2022-07-13 10:44:37.877 - error: host.VMC123-iobroker Caught by controller[1]: at Object.onceWrapper (node:events:641:28) 2022-07-13 10:44:37.877 - error: host.VMC123-iobroker Caught by controller[1]: at Socket.emit (node:events:527:28) 2022-07-13 10:44:37.877 - error: host.VMC123-iobroker Caught by controller[1]: at Socket.emit (node:domain:475:12) 2022-07-13 10:44:37.877 - error: host.VMC123-iobroker Caught by controller[1]: at Socket._onTimeout (node:net:516:8) 2022-07-13 10:44:37.877 - error: host.VMC123-iobroker Caught by controller[1]: at listOnTimeout (node:internal/timers:559:17) 2022-07-13 10:44:37.877 - error: host.VMC123-iobroker Caught by controller[1]: at processTimers (node:internal/timers:502:7) 2022-07-13 10:44:37.877 - error: host.VMC123-iobroker instance system.adapter.tuya.0 terminated with code 6 (UNCAUGHT_EXCEPTION)

Ilovegym66 avatar Jul 14 '22 04:07 Ilovegym66

Welche version der tuyapi lib hast du?

/opt/iobroker/node_modules/tuyapi/package.json ... was steht da als "version"?

die 3.6.15 vom adapter sollte an sich die 7.2.1 mitbringen in der das gefixt sein sollte

Apollon77 avatar Jul 14 '22 07:07 Apollon77

sollte.. die Version ist 7.2.1, schau: image

Ilovegym66 avatar Jul 14 '22 08:07 Ilovegym66

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

stale[bot] avatar Oct 12 '22 12:10 stale[bot]

Please try 3.7.0

Apollon77 avatar Oct 22 '22 21:10 Apollon77