I following the instruction from " Quickstart: Provision a device with symmetric keys" https://docs.microsoft.com/en-us/azure/iot-dps/quick-create-simulated-device-symm-key
The Visual Studio 2019 , git and cmake environment have been installed. I follow the instruction and up to run the "prov_dev_client_sample". I got the following error messages:
Provisioning API Version: 1.4.1
Registering Device
Error: Time:Sun Jun 13 14:47:30 2021 File:C:\Users\user\azure-iot-sdk-c\umqtt\sr
c\mqtt_client.c Func:onOpenComplete Line:454 Error: failure opening connection t
o endpoint
Error: Time:Sun Jun 13 14:47:30 2021 File:C:\Users\user\azure-iot-sdk-c\provisio
ning_client\src\prov_transport_mqtt_common.c Func:mqtt_error_callback Line:139 M
QTT communication error
Error: Time:Sun Jun 13 14:47:30 2021 File:C:\Users\user\azure-iot-sdk-c\provisio
ning_client\src\prov_device_ll_client.c Func:on_transport_registration_data Line
:771 Failure retrieving data from the provisioning service
Failure registering device: PROV_DEVICE_RESULT_TRANSPORT
Press enter key to exit:
Anythings I miss the configure or any other issues. I have test the internet connection was fine.

