NEWS
Worx Adapter crasht alle paar Stunden mit unexpected token
-
Systemdata Bitte Ausfüllen Hardwaresystem: NUC Arbeitsspeicher: 5GB Festplattenart: SSD Betriebssystem: Debian Node-Version: 12.x.x Nodejs-Version: 12.x.x NPM-Version: 6.x.x Installationsart: Skript Image genutzt: Nein Ort/Name der Imagedatei: Link Hallo,
Seit gestern crasht bei mir regelmäßig (alle paar Stunden) der worx Adapter. Aktuellste Version ist installiert.
Der crash beginnt immer hiermit:
Unexpected token > in JSON at position 0
Was genau bedeutet das?
Hier der ganze crash:
2021-10-16 04:59:18.765 - error: worx.0 (29864) Unexpected token > in JSON at position 0 2021-10-16 04:59:18.866 - error: host.iobroker Caught by controller[0]: SyntaxError: Unexpected token > in JSON at position 0 2021-10-16 04:59:18.868 - error: host.iobroker Caught by controller[0]: at JSON.parse () 2021-10-16 04:59:18.869 - error: host.iobroker Caught by controller[0]: at MqttClient. (/opt/iobroker/node_modules/iobroker.worx/lib/api.js:267:31) 2021-10-16 04:59:18.869 - error: host.iobroker Caught by controller[0]: at MqttClient.emit (events.js:314:20) 2021-10-16 04:59:18.869 - error: host.iobroker Caught by controller[0]: at MqttClient.EventEmitter.emit (domain.js:483:12) 2021-10-16 04:59:18.869 - error: host.iobroker Caught by controller[0]: at MqttClient._handlePublish (/opt/iobroker/node_modules/iobroker.worx/node_modules/mqtt/lib/client.js:1277:12) 2021-10-16 04:59:18.869 - error: host.iobroker Caught by controller[0]: at MqttClient._handlePacket (/opt/iobroker/node_modules/iobroker.worx/node_modules/mqtt/lib/client.js:410:12) 2021-10-16 04:59:18.869 - error: host.iobroker Caught by controller[0]: at work (/opt/iobroker/node_modules/iobroker.worx/node_modules/mqtt/lib/client.js:321:12) 2021-10-16 04:59:18.870 - error: host.iobroker Caught by controller[0]: at Writable.writable._write (/opt/iobroker/node_modules/iobroker.worx/node_modules/mqtt/lib/client.js:335:5) 2021-10-16 04:59:18.870 - error: host.iobroker Caught by controller[0]: at doWrite (/opt/iobroker/node_modules/iobroker.worx/node_modules/readable-stream/lib/_stream_writable.js:409:139) 2021-10-16 04:59:18.870 - error: host.iobroker Caught by controller[0]: at writeOrBuffer (/opt/iobroker/node_modules/iobroker.worx/node_modules/readable-stream/lib/_stream_writable.js:398:5) 2021-10-16 04:59:18.870 - error: host.iobroker Caught by controller[0]: at Writable.write (/opt/iobroker/node_modules/iobroker.worx/node_modules/readable-stream/lib/_stream_writable.js:307:11) 2021-10-16 04:59:18.870 - error: host.iobroker Caught by controller[0]: at TLSSocket.ondata (_stream_readable.js:718:22) 2021-10-16 04:59:18.870 - error: host.iobroker Caught by controller[0]: at TLSSocket.emit (events.js:314:20) 2021-10-16 04:59:18.870 - error: host.iobroker Caught by controller[0]: at TLSSocket.EventEmitter.emit (domain.js:483:12) 2021-10-16 04:59:18.871 - error: host.iobroker Caught by controller[0]: at addChunk (_stream_readable.js:297:12) 2021-10-16 04:59:18.871 - error: host.iobroker Caught by controller[0]: at readableAddChunk (_stream_readable.js:272:9) 2021-10-16 04:59:18.871 - error: host.iobroker Caught by controller[0]: at TLSSocket.Readable.push (_stream_readable.js:213:10) 2021-10-16 04:59:18.871 - error: host.iobroker Caught by controller[0]: at TLSWrap.onStreamRead (internal/stream_base_commons.js:188:23) 2021-10-16 04:59:18.871 - error: host.iobroker instance system.adapter.worx.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
Vielleicht kannst du helfen?