NEWS
Sonos-Adapter stürzt ab
-
Hallo zusammen,
habe das Problem das die Sonos Web-Oberfläche zwar erreichbar ist, aber nicht funktioniert. Zusätzlich stürzt der Sonos-Adapter ab. Im Log finde ich dann folgendes:
host.iobroker 2019-08-07 12:56:21.151 info Restart adapter system.adapter.sonos.0 because enabled host.iobroker 2019-08-07 12:56:21.151 error instance system.adapter.sonos.0 terminated with code 0 (OK) Caught 2019-08-07 12:56:21.151 error by controller[1]: at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17) Caught 2019-08-07 12:56:21.151 error by controller[1]: at Socket.Readable.push (_stream_readable.js:220:10) Caught 2019-08-07 12:56:21.151 error by controller[1]: at readableAddChunk (_stream_readable.js:265:11) Caught 2019-08-07 12:56:21.151 error by controller[1]: at addChunk (_stream_readable.js:284:12) Caught 2019-08-07 12:56:21.151 error by controller[1]: at Socket.emit (events.js:189:13) Caught 2019-08-07 12:56:21.151 error by controller[1]: at Socket.socketOnData (_http_client.js:442:20) Caught 2019-08-07 12:56:21.151 error by controller[1]: at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17) Caught 2019-08-07 12:56:21.151 error by controller[1]: at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:556:21) Caught 2019-08-07 12:56:21.151 error by controller[1]: at ClientRequest.emit (events.js:189:13) Caught 2019-08-07 12:56:21.151 error by controller[1]: at Object.onceWrapper (events.js:277:13) Caught 2019-08-07 12:56:21.151 error by controller[1]: at ClientRequest.http.get.res2 (/opt/iobroker/node_modules/iobroker.sonos/main.js:1767:37) Caught 2019-08-07 12:56:21.151 error by controller[1]: at Object.exists (fs.js:196:3) Caught 2019-08-07 12:56:21.151 error by controller[1]: at maybeCallback (fs.js:128:9) Caught 2019-08-07 12:56:21.150 error by controller[1]: TypeError [ERR_INVALID_CALLBACK]: Callback must be a function sonos.0 2019-08-07 12:56:21.107 error Got error: Parse Error sonos.0 2019-08-07 12:56:21.102 info terminating sonos.0 2019-08-07 12:56:21.098 error at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17) sonos.0 2019-08-07 12:56:21.098 error at Socket.Readable.push (_stream_readable.js:220:10) sonos.0 2019-08-07 12:56:21.098 error at readableAddChunk (_stream_readable.js:265:11) sonos.0 2019-08-07 12:56:21.098 error at addChunk (_stream_readable.js:284:12) sonos.0 2019-08-07 12:56:21.098 error at Socket.emit (events.js:189:13) sonos.0 2019-08-07 12:56:21.098 error at Socket.socketOnData (_http_client.js:442:20) sonos.0 2019-08-07 12:56:21.098 error at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17) sonos.0 2019-08-07 12:56:21.098 error at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:556:21) sonos.0 2019-08-07 12:56:21.098 error at ClientRequest.emit (events.js:189:13) sonos.0 2019-08-07 12:56:21.098 error at Object.onceWrapper (events.js:277:13) sonos.0 2019-08-07 12:56:21.098 error at ClientRequest.http.get.res2 (/opt/iobroker/node_modules/iobroker.sonos/main.js:1767:37) sonos.0 2019-08-07 12:56:21.098 error at Object.exists (fs.js:196:3) sonos.0 2019-08-07 12:56:21.098 error at maybeCallback (fs.js:128:9) sonos.0 2019-08-07 12:56:21.098 error TypeError [ERR_INVALID_CALLBACK]: Callback must be a function sonos.0 2019-08-07 12:56:21.098 error uncaught exception: Callback must be a functionWeiß da vielleicht jemand rat?
Grüße
Karsten -
Hallo zusammen,
habe das Problem das die Sonos Web-Oberfläche zwar erreichbar ist, aber nicht funktioniert. Zusätzlich stürzt der Sonos-Adapter ab. Im Log finde ich dann folgendes:
host.iobroker 2019-08-07 12:56:21.151 info Restart adapter system.adapter.sonos.0 because enabled host.iobroker 2019-08-07 12:56:21.151 error instance system.adapter.sonos.0 terminated with code 0 (OK) Caught 2019-08-07 12:56:21.151 error by controller[1]: at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17) Caught 2019-08-07 12:56:21.151 error by controller[1]: at Socket.Readable.push (_stream_readable.js:220:10) Caught 2019-08-07 12:56:21.151 error by controller[1]: at readableAddChunk (_stream_readable.js:265:11) Caught 2019-08-07 12:56:21.151 error by controller[1]: at addChunk (_stream_readable.js:284:12) Caught 2019-08-07 12:56:21.151 error by controller[1]: at Socket.emit (events.js:189:13) Caught 2019-08-07 12:56:21.151 error by controller[1]: at Socket.socketOnData (_http_client.js:442:20) Caught 2019-08-07 12:56:21.151 error by controller[1]: at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17) Caught 2019-08-07 12:56:21.151 error by controller[1]: at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:556:21) Caught 2019-08-07 12:56:21.151 error by controller[1]: at ClientRequest.emit (events.js:189:13) Caught 2019-08-07 12:56:21.151 error by controller[1]: at Object.onceWrapper (events.js:277:13) Caught 2019-08-07 12:56:21.151 error by controller[1]: at ClientRequest.http.get.res2 (/opt/iobroker/node_modules/iobroker.sonos/main.js:1767:37) Caught 2019-08-07 12:56:21.151 error by controller[1]: at Object.exists (fs.js:196:3) Caught 2019-08-07 12:56:21.151 error by controller[1]: at maybeCallback (fs.js:128:9) Caught 2019-08-07 12:56:21.150 error by controller[1]: TypeError [ERR_INVALID_CALLBACK]: Callback must be a function sonos.0 2019-08-07 12:56:21.107 error Got error: Parse Error sonos.0 2019-08-07 12:56:21.102 info terminating sonos.0 2019-08-07 12:56:21.098 error at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17) sonos.0 2019-08-07 12:56:21.098 error at Socket.Readable.push (_stream_readable.js:220:10) sonos.0 2019-08-07 12:56:21.098 error at readableAddChunk (_stream_readable.js:265:11) sonos.0 2019-08-07 12:56:21.098 error at addChunk (_stream_readable.js:284:12) sonos.0 2019-08-07 12:56:21.098 error at Socket.emit (events.js:189:13) sonos.0 2019-08-07 12:56:21.098 error at Socket.socketOnData (_http_client.js:442:20) sonos.0 2019-08-07 12:56:21.098 error at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17) sonos.0 2019-08-07 12:56:21.098 error at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:556:21) sonos.0 2019-08-07 12:56:21.098 error at ClientRequest.emit (events.js:189:13) sonos.0 2019-08-07 12:56:21.098 error at Object.onceWrapper (events.js:277:13) sonos.0 2019-08-07 12:56:21.098 error at ClientRequest.http.get.res2 (/opt/iobroker/node_modules/iobroker.sonos/main.js:1767:37) sonos.0 2019-08-07 12:56:21.098 error at Object.exists (fs.js:196:3) sonos.0 2019-08-07 12:56:21.098 error at maybeCallback (fs.js:128:9) sonos.0 2019-08-07 12:56:21.098 error TypeError [ERR_INVALID_CALLBACK]: Callback must be a function sonos.0 2019-08-07 12:56:21.098 error uncaught exception: Callback must be a functionWeiß da vielleicht jemand rat?
Grüße
KarstenAchso ... ganz vergessen ... Habe Folgende Versionen, falls wichtig ;-)
Sonos-Adapter 1.7.7 (nur eine Instanz)
js-Controller: 1.5.11
Node.js: 10.15.3
NPM 6.9.0Der ioBroker läuft auf einer Synology NAS 218+
DSM 6.2.2-24922 Update 2
in einem Docker-ContainerVielen Dank ....
-
Der Adapter scheint im Moment, vorallem in Neuinstallationen, nicht sauber zu laufen. Dazu habe ich hier schon ein bisschen was geschrieben:
https://forum.iobroker.net/topic/23609/sonos-adapter-aktualisiert-nur-teilweise/31
und in Github sind auch 2 Issues dazu offen:
https://github.com/ioBroker/ioBroker.sonos/issues/48
https://github.com/ioBroker/ioBroker.sonos/issues/46Ich denke es wäre gut, wenn du deinen Fehler im Github mit Logs ergänzt.
-
hi bekomme momentan folgende Meldung:
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.408 error instance system.adapter.sonos.0 terminated with code 0 (OK)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.407 error Caught by controller[6]: at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.407 error Caught by controller[6]: at Socket.Readable.push (_stream_readable.js:224:10)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.407 error Caught by controller[6]: at readableAddChunk (_stream_readable.js:269:11)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.407 error Caught by controller[6]: at addChunk (_stream_readable.js:288:12)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.407 error Caught by controller[6]: at Socket.emit (events.js:198:13)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.407 error Caught by controller[6]: at Socket.socketOnData (_http_client.js:442:20)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.407 error Caught by controller[6]: at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.407 error Caught by controller[6]: at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:556:21)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.407 error Caught by controller[6]: at ClientRequest.emit (events.js:198:13)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.407 error Caught by controller[6]: at Object.onceWrapper (events.js:286:20)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.407 error Caught by controller[6]: at ClientRequest.http.get.res2 (/opt/iobroker/node_modules/iobroker.sonos/main.js:1767:37)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.407 error Caught by controller[6]: at Object.exists (fs.js:196:3)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.407 error Caught by controller[6]: at maybeCallback (fs.js:128:9)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.407 error Caught by controller[6]: TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.407 error Caught by controller[5]: at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.406 error Caught by controller[5]: at Socket.Readable.push (_stream_readable.js:224:10)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.406 error Caught by controller[5]: at readableAddChunk (_stream_readable.js:269:11)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.406 error Caught by controller[5]: at addChunk (_stream_readable.js:288:12)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.406 error Caught by controller[5]: at Socket.emit (events.js:198:13)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.406 error Caught by controller[5]: at Socket.socketOnData (_http_client.js:442:20)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.406 error Caught by controller[5]: at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.406 error Caught by controller[5]: at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:556:21)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.406 error Caught by controller[5]: at ClientRequest.emit (events.js:198:13)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.406 error Caught by controller[5]: at Object.onceWrapper (events.js:286:20)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.406 error Caught by controller[5]: at ClientRequest.http.get.res2 (/opt/iobroker/node_modules/iobroker.sonos/main.js:1767:37)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.406 error Caught by controller[5]: at Object.exists (fs.js:196:3)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.406 error Caught by controller[5]: at maybeCallback (fs.js:128:9)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.406 error Caught by controller[5]: TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.406 error Caught by controller[4]: (node:16782) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by r
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.405 error Caught by controller[3]: at process._tickCallback (internal/process/next_tick.js:68:7)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.405 error Caught by controller[3]: at parseTrackMetadata.then.track (/opt/iobroker/node_modules/iobroker.sonos/node_modules/sonos-discovery/lib/models/Player.js:243:43)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.405 error Caught by controller[3]: at Player.getUriType (/opt/iobroker/node_modules/iobroker.sonos/node_modules/sonos-discovery/lib/prototypes/Player/getUriType.js:18:10)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.405 error Caught by controller[3]: at isRadio (/opt/iobroker/node_modules/iobroker.sonos/node_modules/sonos-discovery/lib/prototypes/Player/getUriType.js:4:14)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.405 error Caught by controller[3]: (node:16782) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'startsWith' of undefined
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.405 error Caught by controller[2]: (node:16782) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js proce
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.405 error Caught by controller[1]: (node:16782) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by r
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.405 error Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:68:7)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.405 error Caught by controller[0]: at parseTrackMetadata.then.track (/opt/iobroker/node_modules/iobroker.sonos/node_modules/sonos-discovery/lib/models/Player.js:243:43)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.405 error Caught by controller[0]: at Player.getUriType (/opt/iobroker/node_modules/iobroker.sonos/node_modules/sonos-discovery/lib/prototypes/Player/getUriType.js:18:10)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.405 error Caught by controller[0]: at isRadio (/opt/iobroker/node_modules/iobroker.sonos/node_modules/sonos-discovery/lib/prototypes/Player/getUriType.js:4:14)
host.iobrokernuc-GB-BACE-3160 2019-08-12 15:27:02.404 error Caught by controller[0]: (node:16782) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'startsWith' of undefined
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden