cancel
Showing results for 
Search instead for 
Did you mean: 

Using B-L475E-IOT01A Discovery kit to connect to IOT Hub but getting 0x00010085 Auth error.

DiverJohn
Visitor

I am following the Azure tutorial using the B-L475E-IOT01A Discovery kit to connect to IOT Hub via MQTT.

Tutorial: https://learn.microsoft.com/en-us/previous-versions/azure/iot/tutorial-devkit-stm-b-l475e-iot-hub

I pulled the example source from git and added my Azure Hub, device ID and primary SAS per the tutorial but when I run the example program I get an 0x00010085 error which indicates an authentication error, see Teraterm output below.

Initializing Azure IoT Hub client
        Hub hostname: xxxIotHub.azure-devices.net
        Device id: xxxdevice
        Model id: dtmi:azurertos:devkit:gsgstml4s5;2
ERROR: nx_azure_iot_hub_client_connect (0x00010085)
I

Looking at the Azure Hub diagnostics file, Azure says, "No strong TLS ciphers available to connect to IoT Hub".

I enabled TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, recommended strong TLS cipher, but still get the same error code.

Additionally, I have tried the following but still cannot connect:

  • Created a new Hub. (Free tier should work)
  • Tried different Wifi networks.
  • Updated the Wifi chip on the STMicro Discovery Kit.
  • Pulled the source code a 2nd time and rebuilt.

I am not sure how to debug this issue since I cannot use Wireshark to get a trace over Wi-Fi.

Any help would be appreciated.

Thanks...

0 REPLIES 0