Describe the bug
I get error messages in the ioBroker protocol.
Cannot convert undefined or null to object
_TypeError: Cannot convert undefined or null to object at Function.keys () at RemoteAccess.onCloudDisconnect (/opt/iobroker/node_modules/iobroker.iot/lib/remote.js:720:29) at DeviceClient.onDisconnect (/opt/iobroker/node_modules/iobroker.iot/main.js:564:22) at DeviceClient.emit (node:events:517:28) at DeviceClient.emit (node:domain:489:12) at MqttClient. (/opt/iobroker/node_modules/aws-iot-device-sdk/device/index.js:797:12) at MqttClient.emit (node:events:529:35) at MqttClient.emit (node:domain:489:12) at TLSSocket. (/opt/iobroker/node_modules/aws-iot-device-sdk/nodemodules/mqtt/lib/client.js:360:10) at TLSSocket.emit (node:events:529:35)
uncaught exception: Cannot convert undefined or null to object
Describe the bug
I get error messages in the ioBroker protocol.
Cannot convert undefined or null to object
_TypeError: Cannot convert undefined or null to object at Function.keys () at RemoteAccess.onCloudDisconnect (/opt/iobroker/node_modules/iobroker.iot/lib/remote.js:720:29) at DeviceClient.onDisconnect (/opt/iobroker/node_modules/iobroker.iot/main.js:564:22) at DeviceClient.emit (node:events:517:28) at DeviceClient.emit (node:domain:489:12) at MqttClient. (/opt/iobroker/node_modules/aws-iot-device-sdk/device/index.js:797:12) at MqttClient.emit (node:events:529:35) at MqttClient.emit (node:domain:489:12) at TLSSocket. (/opt/iobroker/node_modules/aws-iot-device-sdk/nodemodules/mqtt/lib/client.js:360:10) at TLSSocket.emit (node:events:529:35)
uncaught exception: Cannot convert undefined or null to object
Sometimes there is also an warning:
_Terminated (UNCAUGHTEXCEPTION): Without reason
The adapter restarts very often every day.
I am using version 3.2.2 of the iot adapter.