Hello.
Publishing from the device to IoT Hub in the following format results in an error:
$mosquitto_pub-d-q1 --capath/etc/ssl/certs/-V mqttv311-p8883-h●●.azure-devices.net-idev0-u"●●.azure-devices.net/devices/dev0/?api-version=2018-06-30"-P"SharedAccessSignature○○"-m'{"v":1}'
Client dev0 sending CONNECT
Client dev0 received CONNACK
Connection Refused—Not authorized.
Error: The connection was refused.
I'm in trouble.Please help me.
azure
Resolved.
Username was invalid.
(Mistake) -u"●●.azure-devices.net/devices/dev0/?api-version=2018-06-30"
(positive) -u"●●.azure-devices.net/dev0/?api-version=2018-06-30"
573 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
578 Understanding How to Configure Google API Key
618 Uncaught (inpromise) Error on Electron: An object could not be cloned
613 GDB gets version error when attempting to debug with the Presense SDK (IDE)
574 Who developed the "avformat-59.dll" that comes with FFmpeg?
© 2024 OneMinuteCode. All rights reserved.