azure-hub

Azure NotificationHubClient throws SocketException when used on Azure function intensively

跟風遠走 提交于 2020-04-10 09:11:25
问题 We are using an Azure function to send push notifications via Azure NotificationHubClient. This function is called a lot at peak times on live environment and as a result we got a lot of SocketExceptions thrown from the NotificationHubClient.SendNotificationAsync() method. Exception details: Microsoft.Azure.NotificationHubs.Messaging.MessagingException: Unexpected exception encountered TimeStamp:2020-03-27T04:14:35.4655705Z ---> System.Net.Http.HttpRequestException: Cannot assign requested

Azure NotificationHubClient throws SocketException when used on Azure function intensively

一曲冷凌霜 提交于 2020-04-10 09:11:15
问题 We are using an Azure function to send push notifications via Azure NotificationHubClient. This function is called a lot at peak times on live environment and as a result we got a lot of SocketExceptions thrown from the NotificationHubClient.SendNotificationAsync() method. Exception details: Microsoft.Azure.NotificationHubs.Messaging.MessagingException: Unexpected exception encountered TimeStamp:2020-03-27T04:14:35.4655705Z ---> System.Net.Http.HttpRequestException: Cannot assign requested

Azure NotificationHubClient throws SocketException when used on Azure function intensively

半世苍凉 提交于 2020-04-10 09:10:28
问题 We are using an Azure function to send push notifications via Azure NotificationHubClient. This function is called a lot at peak times on live environment and as a result we got a lot of SocketExceptions thrown from the NotificationHubClient.SendNotificationAsync() method. Exception details: Microsoft.Azure.NotificationHubs.Messaging.MessagingException: Unexpected exception encountered TimeStamp:2020-03-27T04:14:35.4655705Z ---> System.Net.Http.HttpRequestException: Cannot assign requested

Azure NotificationHubClient throws SocketException when used on Azure function intensively

霸气de小男生 提交于 2020-04-10 09:09:28
问题 We are using an Azure function to send push notifications via Azure NotificationHubClient. This function is called a lot at peak times on live environment and as a result we got a lot of SocketExceptions thrown from the NotificationHubClient.SendNotificationAsync() method. Exception details: Microsoft.Azure.NotificationHubs.Messaging.MessagingException: Unexpected exception encountered TimeStamp:2020-03-27T04:14:35.4655705Z ---> System.Net.Http.HttpRequestException: Cannot assign requested

How do I know if my Device in Azure IoT Hub is reachable?

最后都变了- 提交于 2019-12-25 09:18:52
问题 I have a Azure IoT Hub with 2 Devices. I send a Message from a RaspberryPi to another Device. How do I know that the message was received from the other Device? 回答1: You can refer to the Device Explorer tool, which is open sourced. If you want to monitor if an IoT device is reachable by the IoT Hub, you can got to "Message To Device" tab, select the IoT device in the Device ID tab, and make sure you checked "Monitor Feedback Endpoint" . Whenever a message is sent from the IoT Hub to the

Cloud-to-device Azure IoT REST API

我是研究僧i 提交于 2019-12-24 02:24:12
问题 I explored on sending data from Device to Cloud using Azure REST Apis. It is working seamlessly without any issues. I'm not finding good articles on sending Cloud-to-Device messages to Arduino board using "Azure IoT Hub REST Apis". Could some one provide suggestions on this 回答1: You could also send the request as the azure portal does it. All C2D from AZ Portal are sent through this Endpoint https://main.iothub.ext.azure.com/api/Service/SendMessage/ and the payload is a json that look like

azure REST API communication

杀马特。学长 韩版系。学妹 提交于 2019-12-11 16:26:46
问题 I'm currently trying retrieve list share available in my Azure account from salesforce. I'm trying to implement the example from below sample code: https://docs.microsoft.com/en-us/rest/api/storageservices/list-shares#samplerequestandresponse //private key: access key of my account string storageKey =private key; string storageName = 'accountName'; Datetime dt = Datetime.now(); string formattedDate = dt.formatGMT('EEE, dd MMM yyyy HH:mm:ss')+ ' GMT'; system.debug('formattedDate--'