Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
SurfGargano opened this issue Apr 21, 2023 · 1 comment
Labels
bug Something isn't working Fixed Already fixed in current developent branch

Comments

@SurfGargano
Copy link

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 Grizzelbee added bug Something isn't working Fixed Already fixed in current developent branch labels Apr 21, 2023
Grizzelbee added a commit that referenced this issue Apr 21, 2023
@Grizzelbee
Copy link
Owner

Just Fixed with V6.5.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Fixed Already fixed in current developent branch
Projects
None yet
Development

No branches or pull requests

2 participants