'Microsoft.Azure.Devices.Client.Exceptions.IotHubClient中抛出异常 [英] Exception thrown in 'Microsoft.Azure.Devices.Client.Exceptions.IotHubClient
问题描述
我正在尝试将iot设备连接到azure iot集线器以发送传感器消息并获取已连接传感器的json数据但出现错误
I am trying to connect iot device to azure iot hub to send sensor messages and to get json data of connected sensor but getting an error
抛出异常:'Microsoft。 mscorlib.ni.dll中的Azure.Devices.Client.Exceptions.IotHubClient Transient Exception'发生瞬态错误,请重试。
Exception thrown: 'Microsoft.Azure.Devices.Client.Exceptions.IotHubClient Transient Exception' in mscorlib.ni.dll Transient error occured, please retry.
和
任何人都可以帮帮我!!!
Can anyone please help me out!!!
推荐答案
Hi TecheaseSystems,
Hi TecheaseSystems,
我建议根据某些搜索进行搜索您提供的信息,以查看是否有任何其他Azure IoT或Windows IoT人员遇到此问题或类似问题:
I recommend doing a search based on some of the information you have supplied to see if any other Azure IoT or Windows IoT folks have hit this or a similar issue:
你的消息确实说它是瞬态的,所以它只发生在一些实例?在发生这种情况时,您能否确定设备/ Azure连接中可能有什么不同?
Your message does state that it is transient so does it only happen in some instances? Can you identify what may be different in your device/Azure connection when this occurs?
更新:我已要求Azure客户端团队的成员查看此线程并且他们有以下请求:
来自异常内部的callstack会很好。 如果存在内部异常,那么来自它的callstack也会有所帮助。
UPDATE: I have asked a member of the Azure Client Team to review this thread and they have the following request: A callstack from inside the exception would be good. If there’s an inner exception, the callstack from that would be helpful too.
此致,
这篇关于'Microsoft.Azure.Devices.Client.Exceptions.IotHubClient中抛出异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!