Unable to connect to Azure IoT hub From Linux machine.
I am connecting to Azure iot hub using Azure-iot-sdk-c. I am using the API IoTHubDeviceClient_CreateFromConnectionString(connectionString, protocol). My application is working fine from my laptop on which Ubuntu is installed. When I run this…
Delay of Microsoft.Devices.DeviceConnected (4 to 6 minutes)
Hi I am working on a system where I use an IotHub (S1 tier) that communicates with one IoT device using the setup showed in the table. Furthermore, I use an EventHub that subscribes on Microsoft.Devices.DeviceConnected and …
Unable to get azure sdk logs to console for "Microsoft.Azure.Devices" package
I have created a sample .NET 6 console application and added the below line of code as mentioned in the below Microsoft learn website to enable azure sdk client library logs. https://learn.microsoft.com/en-us/dotnet/azure/sdk/logging using…
Setup edge hub input for azure stream analytics using the azure cli or python SDK
I am trying to create an azure stream analytics job using azure cli or python SDK with both input and output as edge hub. I tried using None and GatewayMessageBus as the input types but both of them did not work. It gives an error message: (BadRequest)…
stuck on IoTHubClient_LL_DoWork
The azure-iot-sdk-c version used is 1.3.7 At begin , the program worked well , but suddenly it can not receive the response from the mqtt broker after publishing a message to the cloud, and meanwhile the program hanged in IoTHubClient_LL_DoWork. hope…
Unknown error in sending http request with Azure Cognitive Services
On my testing machine (Github codespace) everything works, but when I publish my changes and update my main project (Server located in Brazil), I get the following: Error reason: ImageAnalysisErrorReason.CONNECTION_FAILURE Error code: -1 Error message:…
Python function to upload files to storage failing with 403 TooManyDevicesError
I have a python app running on an embedded linux device. The app runs async code that connects an iothub device client. I have a class called device_client_wrapper that uses a semaphore to ensure that only one function calls device client methods at a…
latest release branch missing
For the latest release there exists only a tag but no branch. On the ontherhand the branch is mentioned in docu? Furthermore the *_Ref0x prefix is missing this time.
Get Azure IoT Hub metric using the connection string
Hi, How do we get the Azure IoT Hub metric info using the connection string? Is there any sample available for it.? All we could find was methods of using .Net. But we want to using connection string to keep it simple as possible. Please let us…
Error on partition ""
I am trying to run this sample code using my connection string, and I am encountering the following error: Error on partition "" : MessagingError: The messaging entity 'sb://....servicebus.windows.net/
Web application tutorial has a new bug
I have been following this tutorial for visualizing real-time sensor data from my IoT Hub in a web application. It was working fine around 1-2 weeks ago for me and the behavior was as described in the tutorial. However, when I run it now, it still runs,…
Using Azure IoT Hub in Expo React Native
I am currently working on developing a backend/service-side Expo RN application to connect to my IoT Hub to access device data for visualization, control/configure my device from my application using direct methods and device twins, send messages from…
How to connect my React Native Expo application to IoT Hub and interact? Which package or SDK should I use?
I am attempting to create an app on React Native using Expo Router to figure out how to connect to my IoT Hub. The following is my code in app/index.js. However, I get the following error when I run npx expo start Web Bundling failed 3317ms The package…
Non-Edge translation gateway examples using Azure IoT C SDK?
I'm trying to find code examples to build a translation gateway (NOT an Edge system) using C, preferably the C SDK with task control using FreeRTOS, although I could probably wrap everything RTOS myself if I had the rest of the example code working. …
Dynamically Provision iot Device With Azure dps - Unexpected Failure. Python sdk
I am dynamically provision an iot device using the python azure-iot-device python package. I am using v2 and not 3.0.0b2. I can't even get that to compile. Here's my python code trying to provision a device: import asyncio import os from…
Azure IOT Devices.Client SDK V 1.41.3 creating client and opening connection timeout troubleshooting.
I`m using Microsoft.Azure.Devices.Client v 1.41.3 SDK to create iot client and connect to Azure IoT hub. Mostly it works fine, but in some specific environments, there are difficulties to create client and/or open connections.…
to make a connection with ms dynamics 365?
I find the token is null.
How to catch az.sdk.message as the response from SDK
Hi, I am using Azure SDK to create import upate. The SDK methods returns the instance of SyncOverAsyncPoller. In case of exception scenarion AzureException is being thrown. For example, when I am creating a ImportUpdate for already existing…
azure: connection dropped error when trying to get twin properties
I use the device provisioning service to provision a "fake" iot device (using example code). I can then use the python SDK to send messages. But every time I run the line: twin = await device_client.get_twin() I immediately get this…
Can we compile Azure IoT C SDK for ArmV4I platform?
Hi everyone, I'm currently trying to compile the Azure IoT C SDK in ArmV4I. My system can't be modified or upgraded and the different solutions on internet to compile only Arm (ArmV7) doesn't match with my machine. I've already tried to compile the Az…