You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I set up these parameters in the menuconfig of the project, except the azure cloud server address and port.
To Reproduce
Steps to reproduce the behavior:
cd zephyrproject/zephyr
west build -b nucleo_f429zi samples/net/cloud/mqtt_azure -- -DCONF="prj.conf" -DSHIELD=esp_8299
west build -t menuconfig
west build
west flash
Impact
the sample project cannot connect to the iot-hub. I guess because i didn´t set up correctly the SAS-token. please see the logs in the picture below. in which format is the SAS token for mqtt protocol ?
Logs and console output
Environment (please complete the following information):
OS: Linux Ubuntu
Toolchain Zephyr SDK
The text was updated successfully, but these errors were encountered:
ghost
added
the
bug
The issue is a bug, or the PR is fixing a bug
label
Apr 15, 2021
The -116 errno is ETIMEDOUT, so the connection cannot be established. Difficult to know what is going on, there are lot of moving parts involved when setting the Azure configuration parameters etc. I do not have Azure credentials to try this.
BTW, the current timeout (from your screenshot) seems to be 3 sec. Could you try to increase it as I remember seeing some complaints that the cloud connection establishment can take a long time.
Describe the bug
I am trying to connect the nucleo-f429zi using the wifi shield esp-01 to my azure-iot-hub. The samples project is here: https://docs.zephyrproject.org/latest/samples/net/cloud/mqtt_azure/README.html
i created an iot-hub and i added a device. The sample project requires these parameters:
I set up these parameters in the menuconfig of the project, except the azure cloud server address and port.
To Reproduce
Steps to reproduce the behavior:
Impact
the sample project cannot connect to the iot-hub. I guess because i didn´t set up correctly the SAS-token. please see the logs in the picture below. in which format is the SAS token for mqtt protocol ?
Logs and console output
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: