SAS Token not working for FileUpload IoTHub
I'm trying to replicate this https://github.com/Azure/azure-iot-sdk-csharp/blob/main/iothub/device/samples/getting%20started/FileUploadSample/FileUploadSample.cs example to upload a file. This part works: `// Note: GetFileUploadSasUriAsync and…
Notify uploaded file using System-assigned authentication type
How can I notify the upload file using system-assigned authentication type? I have an IoT hub using system-assigned authentication type and connected to a storage account with a private endpoint. I uploaded the file using python, and the upload was…
Set the expiry of cloud to device message in Azure IoT hub
I am well aware of setting the message expiration time from the portal by configuring the Default TTL under Cloud to device Messaging of Iot Hub. From the documentation(https://video2.skills-academy.com/en-us/azure/iot-hub/iot-hub-devguide-messages-c2d), we…
Azure IoT central device cannot connect to MQTT after several days of working
I was testing 1 IoT central devices over the weekend, from 3/31 19:00 KST, and another for more than 10 days, but I found that they are both disconnected since 4/1 05:34AM KST and 4/1 05:05AM KST. One of them shows error as follows. 2023/4/4 11:13:47…
How to degrade my Avnet Azure Starter kit OS version
Hi. We are working with Avnet Azure sphere starter kit. We have already updated the device OS version to 22.11. We found a link which says we can degrade the version of the device. "After a device updates to the 22.09 release, it will no longer…
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 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.…
Azure IoT SDK connection with Ethernet and Wifi
I have developed my application using Azure IoT SDK, and it is running fine when my device is connected to wifi. But when I use wifi and ethernet both, I feel that my application is not getting internet (whereas on the browser i am getting internet and…
Not able to connect ESP 8266 to Azure. Not able to authenticate. Please help!
Hello, I have followed all procedure to connect my ESP8266 and i have entered my credentials correctly. Why am I facing this issue? Have uploaded screenshot of the error. Kindly help! ERROR: MQTT client connect attempt failed. Check host, deviceId,…
SAS provisioning with c embedded SDK MQTT not connecting
Hello, I'm using the embedded c SDK and i'm trying to provision a device I created in IoT central with SAS. the key and signature seem to be created successfully. I'm getting URL: global.azure-devices-provisioning.net user name:…
Module connection using x509 certificates
Hi, When reading the docs about connecting devices and modules using a x509 certificate there is this part about the required common name (CN): For modules using X.509 authentication, the module's certificate must have its common name (CN) formatted…
How to ProvisioningDeviceClient using React Native?
I want to provision device client using symmetric key and x509 certificate so I find out that https://github.com/Azure/azure-iot-sdk-node/blob/a85e280350a12954f46672761b0b516d08d374b5/provisioning/device/ts-samples/src/register_symkey.ts#L49 and…
Module Authentication with x509 Certificate
Hi, When using the Microsoft.Azure.Devices.Client library it is really easy to set up device connections with x509 certificates through the use of the DeviceAuthenticationWithX509Certificate class. However the library does not provide any logic to…
frequent MQTT disconnections with cloud in Python Azure IOT SDK
Frequent MQTT disconnections with azure device client. This happens whenever low-level Rx packet loss (WIFI) while communicating with azure IOT cloud device client. Python Azure IOT SDK. VERSION = "2.12.0" git tag : 2022-08-23 We are…
DeviceTwinStatusCallBack method in latest library iot-device-client-2.2.0
Hello everyone, I am facing an issue with the DeviceTwinStatusCallBack method after upgrading the library iot-device-client to verion 2.2.0. In the past, when I used the version 1.x of iot-device-client, there was a method DeviceTwinStatusCallBack , but…
IoT Hub - Problems with Service SDK Connection - Started 08/01/2022
The IoT Hub was working fine and suddenly (Also no log of changes) stopped to accept connection from Service SDK. The Visual Studio Code is also neither connecting nor listing the devices. Some Azure Functions and Applications connected to IoT Hub…
Azure Sphere rest api's issue
Hello. I was able get the resource groups using bearer token. But I couldn't figure out how to run the API's using https://prod.core.sphere.azure.net/ to get tenant details and move device to different group. Please provide more info on…
Auto URL encode couldn't be used at cloud to device
Data was sent via Azure IoT Hub's Cloud to Device channel, and the gateway is using the lts_01_2023 branch of the Azure IoT SDK C. It printed 'Unprintable value in encoded string'. See below for detailed information. However, the data I actually sent was…
Azure IoT Device Provisioning Service – Device Registrations C# SDK – “CA certificate not found”
Hello Community, Referring to the sample from the link - https://video2.skills-academy.com/en-us/azure/iot-dps/tutorial-custom-hsm-enrollment-group-x509?tabs=windows&pivots=programming-language-csharp I am trying to create a restful service that does the…
I am passing a Stream to the service but never return the text
speech-sdk-log.txt I am trying to convert live stream to text , this works fine with microphone , but when i send the Stram it was not recognized I already try same stremresult file and works fine from file but not for live stream …