Comments (3)
I suspect you have more than one reader on the stream already. Please read the following:
- https://blogs.msdn.microsoft.com/gyan/2014/09/02/event-hubs-receiver-epoch/
- https://community.hortonworks.com/questions/80711/getting-connectionerrorexception-while-reading-dev.html
- Azure/amqpnetlite#162
If you stop these receivers deviceexplorer should be able to read from your eventhub sitting behind the IoTHub.
Also, in the future please file DeviceExplorer bugs here: https://github.com/Azure/azure-iot-sdk-csharp/issues
This tool is a CSharp SDK tool: https://github.com/Azure/azure-iot-sdk-csharp/tree/master/tools/DeviceExplorer
from azure-iot-pcs-remote-monitoring-dotnet.
I got the same issue. While @timlaverty is right to say that this is due to having more than one reader on the stream, it is still an issue nevertheless and I reckon that this should be called out as an Improvement. At the very least would be helpful to explain in this repo's documentation about how to circumvent this issue. The Telemetry Agent is already reading off the IoT Hub EH compatible endpoint with the consumer group $Default. Hence what I did was I use Azure CLI to create another consumer group. These are the steps:
- az login
- az iot hub consumer-group create --hub-name "{IoTHubname}" --name {consumer group name}
- az iot hub consumer-group list --hub-name "{IoTHubname}"
You will see $Default and your new consumer group name. Then in your Device Explorer (Windows version), in the Data tab, click the Enable checkbox next to Consumer Group and enter your consumer group. You should be able to see the events streaming off IoT Hub for any of the simulated devices.
from azure-iot-pcs-remote-monitoring-dotnet.
@faister thanks for adding the instructions. What we plan to do in the future is create a separate group, leaving the default alone. This should eliminate the bulk of cases (though still could happen if folks put multiple readers on the other stream). @ppathan @hegate for FYI.
from azure-iot-pcs-remote-monitoring-dotnet.
Related Issues (20)
- Local deployment instruction is incomplete
- Alerting and graphing break because the RM infrastructure does not respect iothub-creation-time-utc HOT 3
- Remove dependency on obsolete RegistryManager.GetDevicesAsync method HOT 6
- Unable to run device simulation service HOT 3
- TypeError
- Any api documents like swagger? HOT 1
- Can't set up Azure resources.
- Device Sim won't start correctly HOT 2
- Environment variables not found HOT 27
- Remote Monitoring local deployment not working - Device Simulation service HOT 5
- What's the value of REACT_APP_BASE_SERVICE_URL to deploy locally? HOT 7
- Fork or Contribute? HOT 1
- Missing icon fonts! HOT 7
- Simulation No Started. Error "Failed to seed default simulations " HOT 3
- Error starting telemetry and storage adapter services HOT 2
- Failed to disable authentication HOT 5
- Run start.sh in linux machine HOT 3
- Linux machine ./start.sh does not recongnize node version HOT 2
- Error: Long running operation failed with error: "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details HOT 1
- Fail to deploy the remote monitoring solution accelerator locally with Docker HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-iot-pcs-remote-monitoring-dotnet.