Grizzelbee / ioBroker.mielecloudservice

Integrates your MieleCloudService (aka Miele@Home) Devices to ioBroker
MIT License
20 stars 9 forks source link

Mit der Version 6.5.1 gibt es restart loop : TypeError: oauth.client is not a function #367

Closed SurfGargano closed 1 year ago

SurfGargano commented 1 year ago

Describe the bug
Mit der Version 6.5.1 gibt es restart loop mit 6.5.0 gibt es kein restart loop

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots & Logfiles

host.raspberrypi | 2023-04-21 17:35:21.565 | warn | Do not restart adapter system.adapter.mielecloudservice.0 because restart loop detected -- | -- | -- | -- host.raspberrypi | 2023-04-21 17:35:21.565 | error | instance system.adapter.mielecloudservice.0 terminated with code 6 (UNCAUGHT_EXCEPTION) host.raspberrypi | 2023-04-21 17:35:21.565 | error | Caught by controller[1]: at Mielecloudservice.onReady (/opt/iobroker/node_modules/iobroker.mielecloudservice/main.js:237:17) host.raspberrypi | 2023-04-21 17:35:21.564 | error | Caught by controller[1]: at /opt/iobroker/node_modules/iobroker.mielecloudservice/main.js:239:49 host.raspberrypi | 2023-04-21 17:35:21.564 | error | Caught by controller[1]: at Object.module.exports.getAuth (/opt/iobroker/node_modules/iobroker.mielecloudservice/source/mieleTools.js:82:12) host.raspberrypi | 2023-04-21 17:35:21.564 | error | Caught by controller[1]: at new Promise () host.raspberrypi | 2023-04-21 17:35:21.564 | error | Caught by controller[1]: at /opt/iobroker/node_modules/iobroker.mielecloudservice/source/mieleTools.js:85:49 host.raspberrypi | 2023-04-21 17:35:21.564 | error | Caught by controller[1]: TypeError: oauth.client is not a function host.raspberrypi | 2023-04-21 17:35:21.563 | error | 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: mielecloudservice.0 | 2023-04-21 17:35:20.976 | warn | Terminated (UNCAUGHT_EXCEPTION): Without reason mielecloudservice.0 | 2023-04-21 17:35:20.921 | error | oauth.client is not a function mielecloudservice.0 | 2023-04-21 17:35:20.918 | error | TypeError: oauth.client is not a function at /opt/iobroker/node_modules/iobroker.mielecloudservice/source/mieleTools.js:85:49 at new Promise () at Object.module.exports.getAuth (/opt/iobroker/node_modules/iobroker.mielecloudservice/source/mieleTools.js:82:12) at /opt/iobroker/node_modules/iobroker.mielecloudservice/main.js:239:49 at Mielecloudservice.onReady (/opt/iobroker/node_modules/iobroker.mielecloudservice/main.js:237:17) mielecloudservice.0 | 2023-04-21 17:35:20.899 | error | unhandled promise rejection: oauth.client is not a function mielecloudservice.0 | 2023-04-21 17:35:20.891 | 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(). host.raspberrypi | 2023-04-21 17:35:17.217 | error | instance system.adapter.mielecloudservice.0 terminated with code 6 (UNCAUGHT_EXCEPTION) host.raspberrypi | 2023-04-21 17:35:17.217 | error | Caught by controller[1]: at Mielecloudservice.onReady (/opt/iobroker/node_modules/iobroker.mielecloudservice/main.js:237:17) host.raspberrypi | 2023-04-21 17:35:17.217 | error | Caught by controller[1]: at /opt/iobroker/node_modules/iobroker.mielecloudservice/main.js:239:49 host.raspberrypi | 2023-04-21 17:35:17.217 | error | Caught by controller[1]: at Object.module.exports.getAuth (/opt/iobroker/node_modules/iobroker.mielecloudservice/source/mieleTools.js:82:12) host.raspberrypi | 2023-04-21 17:35:17.217 | error | Caught by controller[1]: at new Promise () host.raspberrypi | 2023-04-21 17:35:17.216 | error | Caught by controller[1]: at /opt/iobroker/node_modules/iobroker.mielecloudservice/source/mieleTools.js:85:49 host.raspberrypi | 2023-04-21 17:35:17.216 | error | Caught by controller[1]: TypeError: oauth.client is not a function host.raspberrypi | 2023-04-21 17:35:17.215 | error | 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: mielecloudservice.0 | 2023-04-21 17:35:16.622 | warn | Terminated (UNCAUGHT_EXCEPTION): Without reason

Versions:

  • Adapter version: <6.5.1>
  • JS-Controller version: <4.0.24>
  • Node version: <v18.15.0>
  • Operating system: <Debian 64 bit>

Additional context
Add any other context about the problem here.

Grizzelbee commented 1 year ago

Just Fixed with V6.5.2