-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Unable to get Telemetry for device using default event hub #551
Comments
I have just done some digging in issues and realise that #541 is exactly what happened to me, but in v0.14.14 instead of saying [object,object] it gives the rest of the error above. |
Hi Wiggy, yes starting in v0.14.14, we fixed the error message, and I am at least happy to see that you are able to get the error message for us to triage, thank you! |
@YingXue thanks for the reply. |
@wiggydave10 I am not quite sure what support package indicates. |
@YingXue so I filled that through and get some "Recommended solutions" which don't assist in anything, however if I continue to the next step I only get "Get expert help from $29/month" or "Ask our community". I've tried asking the community since and will see if thats the way to report it but I'm not fully sure where to report bugs for Azure things 😂 Thanks for your guidance so far. |
Hi @wiggydave10 |
Thanks for the help @YingXue. Yes it seems like its the Azure IoT Hub thats the problem as the latest version worked with their hub. Hopefully we can get to the bottom of it |
@wiggydave10 So did MS support resolve your issue? Now I'm questioning if IoT Explorer is using the correct Event Hub path. But when I look at my iot hub > Built-in endpoints > event hub-compatible name, the name is there is not the full name but truncated after 25 characters. If I go to the first url with my browser, I get a generic response that mentions "Publicly Listed Services" and "Service Bus 1.1". Changing any portion of the url path gets the same response. But if I go to the second url, which substitutes the full iot hub name with the event hub compatible one, the response is an error on "MissingToken", meaning the path hit something and it wants to authenticate. So perhaps there is a bug with IoT Explorer where it assumes the event hub path uses the full name of the iot hub when instead it should get the event hub compatible name from the hub first. |
Hi @robertyung001 FYI, we've got another icm that got reported has the opposite issue as what you see, “For some reason, IoT Explorer is looking for "iotCPCscus-DT-Data-HERM-Dev" instead of "iotcpcscus-dt-data-herm-d" which is the built-in endpoint of the IoT Hub they are trying to connect IoT Explorer to.” |
It’s not an opposite issue because that’s my ticket (support engineer is James)! Did I explain it wrong and cause confusion?
From: YingXue ***@***.***>
Sent: Thursday, October 6, 2022 12:28 PM
To: Azure/azure-iot-explorer ***@***.***>
Cc: Yung, Robert K ***@***.***>; Mention ***@***.***>
Subject: Re: [Azure/azure-iot-explorer] [BUG] Unable to get Telemetry for device using default event hub (Issue #551)
This mail has been sent from an external source
Hi @robertyung001<https://github.com/robertyung001>
With users login through Explorer using connection string, the tool does not have permission to get event hub connection string. Connection string only gets data plane access, while this information is stored in control plane in iot hub.
Instead, what we use is EventHub's node sdk, which give us a method to connect to them using iot hub connection string in which case the tool itself does not do any conversion. And if it fails, we fall back to use another SDK method which does the conversion. In both cases if there is a bug, we can inform the support to help transfer the ticket to event hub's sdk team.
FYI, we've got another icm that got reported has the opposite issue as what you see, “For some reason, IoT Explorer is looking for "iotCPCscus-DT-Data-HERM-Dev" instead of "iotcpcscus-dt-data-herm-d" which is the built-in endpoint of the IoT Hub they are trying to connect IoT Explorer to.”
—
Reply to this email directly, view it on GitHub<#551 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADJXKTVQYPRR73UQ5AZSX6DWB34YXANCNFSM6AAAAAAQOL4TCM>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
|
Hi, |
@robertyung001 No worries and it's good that we have the opposite data point, which confirms that the issue is the Event hub sdk itself, and now the ticket has been transferred and being taken care of by our dependency team. We will up the thread once we hear anything back. |
I have the same error, yet I thought it was not related to the SDK and now that I read the comments, I don't know what to think. Indeed, if I download a previous version (0.14.5.0 for instance) of the Azure IoT explorer it works fine. Is it because the IoT Hub explorer now uses a newer version of the Event Hub SDK? Another thing I was wondering was: is it fine that the event hub path contains "$management" at the end? Shouldn't this be $Default as there is not consumer group $management in the built-in event-hub. |
I've been told that an update to the IoTHub sample has been released, however I think the problem has been misunderstood. Is this something that needs to be changed in IoT Explorer? Heres the links: Since the update I've been told to try again, however I'm not fully sure how a sample being updated would fix my problem especially when all I do is open IoT Explorer and it doesn't load. I am yet to retry this as I haven't had time, but thought I'd give feedback here too. |
Hi, we use their sample in this app to convert iot hub connection strings (that users use to login to) to event hub connection string, and pull telemetry from event hub. |
https://github.com/Azure/azure-iot-explorer/releases/tag/v0.15.1 has addressed the issue. Event hub's sdk fixes has been incorporated. |
I'm new into looking at the Azure IoT and was attempting to follow the guide here. I have created my IoT Hub and downloaded the latest version of IoT Explorer, however I was having trouble viewing the telemetry in IoT Explorer. I kept getting an issue indicating it can't connect to the event hub which I'm just using the default built it. I've downgraded to each version until I got to v0.14.12 before it started working for me.
Steps to reproduce:
See: Error
Expect: Connect and see telemetry like in v0.14.12
It is possible I am doing something wrong but I just followed the guide and it didn't work.
Failed to start monitoring device telemetry: Error: "The messaging entity 'sb://....servicebus.windows.net/.../$management' could not be found. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:3ef1fdc8-301b-4b12-bb34-4d269c692581_G6, SystemTracker:....servicebus.windows.net:.../$management, Timestamp:2022-09-16T14:10:51"
The text was updated successfully, but these errors were encountered: