Closed ysimonx closed 2 years ago
with the following code
`var mqtt = require('mqtt') var client = mqtt.connect('mqtt://thingsboard.cloud',{ username: process.env.TOKEN })
client.on('connect', function () { console.log('connected') client.subscribe('v1/devices/me/attributes') })
client.on('message', function (topic, message) { console.log('response.topic: ' + topic) console.log('response.body: ' + message.toString()) client.end() })`
when i update a shared variable for the device given by the token nothings happens after
"connected"
it seems better just now ... mqtt is ok
problem solved after "ddos" attack,
shared attributes cloud version - not pushed to gateway When I update attribute on a opcua server, the telemetry is updated on thingsboard Until yesterday, i managed to update a node on opcua server thanks to "shared variables"
I don't manage to update this variable anymore shared attributes updates are not pushed to gateway with MQTT any more
Error traceback:
The MQTT subscription are done
But when i update shared variable on thingsboard.cloud no mqtt message is sent to gateway ...
def _on_message(self, client, userdata, message)
is not called anymore
is there any problem on platform ?
Versions (please complete the following information):