mkr1000-iotc icon indicating copy to clipboard operation
mkr1000-iotc copied to clipboard

---> mqtt failed, rc=5

Open weavermech opened this issue 5 years ago • 1 comments

Hiya,

Thanks for the guide, hoping you might be able to give me a hand. I had troubles with ERROR: Couldn't connect AzureIOT DPS endpoint. as in #3 but followed what nahojkj did and now I'm getting

23:33:06.251 -> Getting IoT Hub host from Azure IoT DPS
23:33:12.088 -> Starting IoT Hub connection
23:33:23.147 -> ---> mqtt failed, rc=5

Any ideas what this means? I've had a search around and not been able to find much to help.

Cheers,

S

weavermech avatar Dec 17 '19 23:12 weavermech

According to this article , rc=5 is caused by mqtt unauthorized

hope it helps you :)

image

4lenz1 avatar Aug 29 '20 08:08 4lenz1