Azure IoT (Hub, DPS, SDKs)
This forum is to get feedback on Azure IoT Hub, Azure IoT HubDevice Provisioning Service (DPS), and Azure IoT SDKs. This forum will help the engineering team collect feedback from our customers and users and help us understand and prioritize the roadmap.
For providing feedback on other IoT related services, please do so on the corresponding forums.
-
Enable per device message throttling capability
From the cost and cyber security perspective, its ideal to set message throttling/quote per device instead of at the IoTHub Level. there is a possibility that one rogue device eating the complete limit of one or more IoTHubs if we cant throttle per device.
38 votes -
When the connection of Azure IoT Hub from Node-RED is disconnected, an error occurs and it cannot be reconnected.
I have Node-RED installed on my Raspberry Pi.
Connecting to Azure IoT Hub with Mosquitto using Node-RED.
Sometimes I'm in trouble because the connection with Azure IoT Hub is lost.
Checking with Log Analytics, the following error appears.<ERROR>
This article describes the causes and solutions for 404104 DeviceConnectionClosedRemotely errors.It is very annoying that the reconnection is not done.
I want a solution.6 votes -
gc object already tracked
considering the python lib azure-iothub-device-client (1.4.6)
tested on a Raspberry Pi 3 B+ with python 3.5.3
the issue seems related to the "sendeventasync - callback"4 votes -
From an MQTT client, you can publish on a different topic than expected
I have seen this behaviour, is this as expected?
I connect as deviceid1, and I can publish to devices/deviceid2/messages/events/ . The message is publish to devices/deviceid1/messages/events/3 votesFor scalability reasons, IoT Hub does not provide a generic pub/sub system.
You can use the Azure IoT Protocol Gateway (https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-protocol-gateway), in case you have to support legacy/brownfield MQTT devices. -
Getting 404 Response While Trying to Open Get Started Kit
The Get started kit anand many other examples are not available, when we attempted to open those examples. We are getting 404 response on those examples. The Get Started Kit.
https://github.com/Microsoft/vscode-iot-workbench/blob/master/docs/iot-devkit/devkit-get-started.md2 votes -
Do we have similar document step by step guide for C#? ( .net consloe app as simulated device)
Do we have similar document step by step guide for C#? ( .net consloe app as simulated device)
2 votes -
IoTHubClient_LL_DoWork() blocks for 5 seconds the execution while wifi nic is down
Scenario:
-using LL APIs;
-using the retry policy IOTHUBCLIENTRETRY_INTERVAL;
-device is being connected to the azure iot hub by a wifi NIC, then the NIC is disabled on the board;Problem:
When the device network interface is disconnected (i.e. wifi nic is disabled) the IoTHubClientLLDoWork() call blocks execution for 5 seconds each time is being called.The reason should be that the getaddinfo() underlying call is blocking, this is in the log traces each five seconds indeed:
/git/c-utility/adapters/socketioberkeley.c Func:socketioopen Line:627 Failure: getaddrinfo failure -3.
2 votes -
This is garbage...
From this tutorial...
https://docs.microsoft.com/en-us/samples/azure-samples/mxchip-iot-devkit-get-started/sample/
NOTHING matches.As I try to make heads or tails of this, there is no description of what is going on.
i.e. The tutorial says "Replace this placeholder below with the name you choose for your IoT hub."But the overview does NOT say what "the name" is" I have a "hostname", a "resource group", a "subscription ID"
But apparently the "hostname" isn't the "IoT hub" because when I use that, I get a failure.Can't you guys get your **** together??
1 vote -
Azure IOT Message route query - telemetry data as json array
It looks like, the IoT Hub message routing on the body is supported on the JObject only.
There is no way to apply message routing query on the batch of telemetry data (array of messages) within the IoT Hub.(JArray).for example:
Data-1:
{"timestamp":"2020-12-21T10:17:42.074Z","type":"Unknown","mac":"ACXXXXXXXXX3","bleName":"","rssi":-55,"rawData":"0201060303E1FF1016E1FFA10826F558263F23AC504C5553"}
Data-2:
[{"timestamp":"2020-12-21T10:17:42.074Z","type":"Gateway","mac":"ACXXXXXXXXX5","bleName":"","rssi":-55,"rawData":"0201060303E1FF1016E1FFA10826F558263F23AC504C5553"}]Here Data-1 is supported since it is JObject but Data-2 is not supported.it is JArray. Which means for Data-2, query is_array($body) is not working since it is not supported.
Documentation says that telemetry data has to be valid json data to use message route query. here even though Data-2 is valid json format data,it is…
1 vote -
When re-provisioning IoT edge devices to another hub, transfer also module identity twin
When we provision our existing devices to another IoT Hub, say from EU hub to US hub. We see device twin and other data transfer correctly. However we also have custom edge modules running in devices and module identity twins seem to be left behind. Our enrollment group has the "Re-provision and migrate data" setting on and we were at the assumption this covers module twins also but that seems not to be the case. Are we doing something wrong and is there another way to have Azure transfer module data or is this something we need to implement ourselves.
1 vote -
Problemas con Storage Explorer
Cuando ejecuto el Storage Explorer me dice que necesito una versión de .NET Framework 4.7.2 o posterior. Tengo la versión 4.8 e igual no funciona.
1 vote -
SetConnectionStatusChangesHandler
A device running as a multi-threaded service may create multiple connections (CreateFromConnectionString) if the device needs to receive messages multiple different server applications. The device connection string is different per server application as each server application is unique. When SetConnectionStatusChangesHandler() is set, the device is unable to create multiple connections.
1 vote -
The IoT Hub C SDK for ESP32 and Arduino is incomplete after being made
I have download azure-iot-arduino repository (https://github.com/Azure/azure-iot-arduino).
I have also downloaded the pre-requisite azure-iot-arduino repository (https://github.com/Azure/azure-iot-pal-arduino) and run the makeskd.py to install the Azure IoT C SDK libraries. The script executes without error, but the iothubIItelemetysample.ino sketch does not compile.
The compilation error says there are missing files from the SDK folder azure-iot-pal-arduino\pal\azurecshared_utility . The only file in the folder is a xlogging.h file.1 vote -
Integration of LogicApps Triggers with the IoTHub are not working correctly
The IoTHubs Events of LogicApps are not working correctly. As far as I can tell, a LogicApps application is only executed when one chooses all IoTHubs Event Types:
-Microsoft.Devices.DeviceCreated
-Microsoft.Devices.DeviceDeleted
-Microsoft.Devices.DeviceTelemetry
-Microsoft.Devices.DeviceConnected
-Microsoft.Devices.DeviceDisconnected
Selecting only a subset of these 5 will result in the LogicApps application to never execute even when the event has happened.For example: Selecting
-Microsoft.Devices.DeviceCreated
-Microsoft.Devices.DeviceDeleted
-Microsoft.Devices.DeviceTelemetry
-Microsoft.Devices.DeviceConnected
-Microsoft.Devices.DeviceDisconnected
as Event Types to trigger the LogicApps application and creating/deleting devices via the IoTHub UI will result in no Trigger. Only when one adds the last Event Type will the LogicApps application be triggered.1 vote -
Configure Properties on IotHub doesn't work
I ran the following command
az iot hub update --name {your iot hub name} \
--set properties.storageEndpoints.'$default'.connectionString="{your storage account connection string}" in a bash script and I receiveCouldn't find '$default' in 'properties.storageEndpoints'. Available
options: []I just followed the steps provided https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-configure-file-upload-cli to enabled file uploading for my iotHub instance.
1 vote -
IoT hub number of devices
I had 5 IoT devices in IoT hub. Now I have removed 1, but IoT hub still shows the number of 5 IoT devices
1 vote -
IOT Hub File Upload Post Request Authorization with X509 Certificate
Hi Team, can we have this documentation extended to cover up file upload Post Request authorization when device is registered with X509 certificate.
In normal scenario when device is registered with Symmetric key we send POST request to below url with SAS token which is generated using device key however if device is registered with X509 certificate what should be the POST request submit as auth token?Url- {iot hub}.azure-devices.net/devices/{deviceId}/files/notifications
Thanks,
Bhupal1 vote -
Azure IoT Developer's Guide Ebook unavailable
The below link doesn't contain any ebook/PDF. Also, the 'View Report' button redirects to Microsoft Homepage.
https://azure.microsoft.com/en-us/resources/iot-developers-guide/1 vote -
IOT Hub and Device Prov. Service Security
Hi Team,
current documentaiton does not provide much details about how to secure IOT HUB/Device provisioning service by adding api layer (NGINX) on top of core paas services.
Is device connecting using X.509 CA certificates to IOT HUB/DPS is enough secure? do we need to add extra gateway layer on top of these PAAS services?
Thanks
Bhupal1 vote -
Is Metrics/Diagnostics under IOT Hub to view Device telemetries or it is for IOT Hub health monitoring?
Hi team, bit confused with the documentation about metrics and diagnostic logs.
is metrics and diagnostic logs feature under IOT Hub is to view the messages sent by devices connected to that hub AND/OR this feature is only to view the logs of IOT hub performances and failures?
what is the recommended PAAS application to view the messages/logs sent by devices? I don't want to build new application or use power BI tool. looking for something within Azure itself which lets me view the messages sent by devices more interactively (filer/report etc...)
Thanks
Bhupal1 vote
- Don't see your idea?