iotedge | The IoT Edge OSS project

 by   Azure C# Version: metrics-collector-1.1.6 License: MIT

kandi X-RAY | iotedge Summary

kandi X-RAY | iotedge Summary

iotedge is a C# library typically used in Edge Computing, Docker, Kafka applications. iotedge has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

The IoT Edge OSS project
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              iotedge has a medium active ecosystem.
              It has 1416 star(s) with 461 fork(s). There are 144 watchers for this library.
              There were 6 major release(s) in the last 12 months.
              There are 57 open issues and 1609 have been closed. On average issues are closed in 68 days. There are 40 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of iotedge is metrics-collector-1.1.6

            kandi-Quality Quality

              iotedge has 0 bugs and 0 code smells.

            kandi-Security Security

              iotedge has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              iotedge code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              iotedge is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              iotedge releases are available to install and integrate.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of iotedge
            Get all kandi verified functions for this library.

            iotedge Key Features

            No Key Features are available at this moment for iotedge.

            iotedge Examples and Code Snippets

            No Code Snippets are available at this moment for iotedge.

            Community Discussions

            QUESTION

            Azure IoT Edge: Edge Agent can't add X509 certificate to the store
            Asked 2022-Jan-31 at 09:57

            I am trying to setup my azure iot edge device (Linux Ubuntu 18.04 - Linux Containers), but as soon as I apply the configuration with the Connectionstring my EdgeAgent fails on first provisioning with the following error message

            ...

            ANSWER

            Answered 2022-Jan-31 at 09:57

            Managed to resolve the issue, by specifying the edgeHub and edgeAgent container versions explicitly. Check Github issue for more detail.

            Source https://stackoverflow.com/questions/70753673

            QUESTION

            Which OS should choose to generate certificates to configure a IoT Edge device as Transparent Gateway?
            Asked 2022-Jan-24 at 06:48

            I am trying to configure Edge device as a transparent gateway. But I am new to the concept. I am using different machine to generate the certificates and later I will copy them to my Edge device. I am following this link to generate certificates.

            My question is: The edge device is Linux based and my development machine is Windows. So which steps should I follow to generate the certificates (and if I follow Windows steps to generate the certificates, will it work for Linux based IoT edge device?)

            How can I copy the certificates from development machine to IoT edge device (which is VM Ubuntu server 18.04 LTS)?

            Any help would be really great. Thank you in advance.

            ...

            ANSWER

            Answered 2022-Jan-24 at 06:48

            As your IoT Edge device is Linux based, you should follow the steps for Linux machine to configure the certificate.

            Follow the steps given in Manage certificates on an IoT Edge device and follow the complete tutorial for complete development.

            Source https://stackoverflow.com/questions/70806182

            QUESTION

            OPC Publisher module does not start on my Ubuntu VM as an edge module
            Asked 2022-Jan-22 at 06:34

            The OPC Publisher marketplace image runs successfully as a standalone container (albeit with server connection problems). But I am not able to deploy it as an edge module, especially after changing container create options.

            Background: In my host laptop I was never able to get the module up so I created a Ubuntu VM. When I tried to deploy the edge module in the VM with default container create options the module did show up in the iotedge module list as "running". I wanted to set the "--op" option to set publishing rate so I changed it in the create options using the portal "Set modules" tab. Since there is no update button I used create button to "recreate" the modules. After this the module did not show up.

            After that the OPC publisher module is not showing up on the edge VM. I am following the Microsoft tutorial.

            Following is the command:

            ...

            ANSWER

            Answered 2022-Jan-22 at 06:34

            I raised a support query in Azure portal. After sending support bundles and trying various suggestions like removing DNS configuration, changing bind path to a non-sudo location etc. the team zeroed in on the edge version mismatch.

            After re-reading the documentation I uninstalled the earlier iotedge package and installed aziot-edge instead and problem solved!

            The team has raised a github issue for public tracking here:

            https://github.com/Azure/Industrial-IoT/issues/1425

            @asergaz also pointed to the right direction but did not notice since it came a bit later

            Source https://stackoverflow.com/questions/69468069

            QUESTION

            c# Https call to self signed endpoint timeout (curl works)
            Asked 2022-Jan-03 at 15:22

            We are running a C# application (.net Core 3.1) on ubuntu 18.04. The application does a http request to a self-signed https endpoint, but that request is canceled. I managed to reproduce it using the following snippet:

            ...

            ANSWER

            Answered 2022-Jan-03 at 15:22

            It turned out to be a firewall issue, but a very pesky one.

            • In our CA certificate there was a pki.ourdomain.org defined.
            • The C# HTTP library called that URL at some point during the request (despite the ServerCertificateCustomValidationCallback returning true)
            • Curl and python (requests) do not make this call so they dont timeout.
            • Our firewall discarded the request to this pki domain, without any error or response.
            • This caused the HTTP request to eventually timeout without any relevant error message.

            When we found out this cause we added the pki.* url to the firewall rules. A more hacky solution without firewall changes is be to add pki.ourdomain.org to direct to localhost. This makes the pki request fail instantly, and the original request is executed normally.

            I still dont fully understand why the C# library has this behaviour and other clients do not, but I hope this may help someone.

            Source https://stackoverflow.com/questions/69839933

            QUESTION

            Rollback strategy for iotedge device in iothub
            Asked 2021-Dec-13 at 10:13
            Context

            The current IotEdge deployment is missing a crucial component which is a rollback strategy, while searching in the documentation, nothing specifies how we can get the devices to a previous version.

            There's 2 options I considered through my journey of searching for a solution, which one would you opt for and how are you handling this situation ?

            Option 1

            Use kubernetes to manage IotEdge deployments, which is in my opinion over-engineered and not intended for managing only deployment, as K8s is an orchestrator with many useful components not essentially made for such scenarios (or am I wrong ?).

            Pros
            • Quick
            • Centralized configuration
            • Can target multiple iothubs
            Cons
            • Over-engineered
            • K8s knowledge (learning curve)
            Option 2

            The second option is to write custom scripts that handle the deployment/rollback..

            Pros
            • Lightweight solution
            • Free (no additional costs)
            Cons
            • Maintenance is hard.
            • Slow Build time
            • Bug prone
            ...

            ANSWER

            Answered 2021-Dec-13 at 10:13

            If you want to rollback a deployment you should just delete the current one and IoT Edge will rollback to the previous deployment targeting it. To be clear, I am talking about deployments at scale

            EDIT: Instead of deleting the deployment, just modify the target condition, that can prevent from a misclick. See the rollback deployment official documentation

            Source https://stackoverflow.com/questions/70292921

            QUESTION

            Azure IoT Hub Edge Module "AzureVideoAnalyzerEdge" wont deploy
            Asked 2021-Oct-28 at 18:19

            The module "AzureVideoAnalyzerEdge" seems to be asking for a JWS token. I cant find a JWS token anywhere in azure for this.

            Im not sure what this is referring to and it's my first time deploying AVA to the edge.

            Happy to provide more info if required. just need to be pointed in the right direction.

            The error is below:

            ...

            ANSWER

            Answered 2021-Oct-27 at 21:23

            The error is coming because you are entering the wrong JWT token, so you must follow this document to generate a JWT token for Azure Video Analyzer. https://docs.microsoft.com/en-us/azure/azure-video-analyzer/video-analyzer-docs/access-policies#creating-a-token

            Source https://stackoverflow.com/questions/69730648

            QUESTION

            IoT Hub Deployment Manifest: Possible to specify module identity tags?
            Asked 2021-Oct-27 at 21:45

            When programatically deploying an Azure IoT Edge solution to IoT hub via a deployment manifest (see here), is it possible to also immediately specify properties (tags) for module twins? like here.

            ...

            ANSWER

            Answered 2021-Oct-27 at 12:13

            Yes! You can use Device Provisioning Service (DPS) for that.

            When you create an enrollment in DPS, you have the opportunity to declare an initial device twin state. In the device twin, you can set tags to group devices by any metric you need in your solution, like region, environment, location, or device type. These tags are used to create automatic deployments.

            Reference: Create and provision IoT Edge for Linux on Windows devices at scale using symmetric keys

            Source https://stackoverflow.com/questions/69730600

            QUESTION

            OPC Publisher doesn't send data in order as in generated by OPC simulation server
            Asked 2021-Aug-20 at 15:05

            I have been trying to retrieve sensor data generated by OPC simulation server (data listed in excel file and read by OPC simulation) in to one of the custom modules in Azure IOT Edge. When the data logged in the console it shows me that data has not been logged in order. Following is the JSON for OPC publisher hosted in iot edge as a module.

            ...

            ANSWER

            Answered 2021-Aug-02 at 23:35

            So some questions:

            1. What version of iotedge are you using?
            2. Is it just that logs are not in order or are messages being received out of order?
            3. What protocol are you using MQTT or AMQP?

            Source https://stackoverflow.com/questions/68591571

            QUESTION

            How can i access camera module from iotedge module using azure IOTEDGE
            Asked 2021-Aug-11 at 14:57

            I am using following code in my docker file for video streaming

            ...

            ANSWER

            Answered 2021-Aug-11 at 14:57

            With any container, including IoT Edge Modules, you need to expose the /dev/videoX to the container. With IoT Edge Modules, this is done with a Container Create Option.

            Search for /dev/video0 here: https://kevinsaye.wordpress.com/2018/04/16/creating-an-opencv-module-for-iot-edge/ to see how it is done.

            Source https://stackoverflow.com/questions/68737257

            QUESTION

            Azure IoT Hub: Docker Module on IoT Edge device does not update?
            Asked 2021-May-14 at 10:51

            I am using Azure IoT Hub with an Edge device and have installed the Edge runtime on the device. I used this tutorial from Microsoft to get started.

            Now I want to customize this Java code. I then again build, push and deploy the container according to the tutorial, but the changes are not show when I run the command iotedge logs MyModule -f op the edge device.

            I already found this: https://github.com/Azure/iotedge/issues/364#issuecomment-424947107 But it does not seem to help for me.

            Can someone help me?

            ...

            ANSWER

            Answered 2021-May-14 at 10:51

            Are you using the latest in the tag to identify the updated version. It would be better if you could change the version number as well. Finally, check if the build you created is also reflecting the changes you have made before pushing it to the container.

            Source https://stackoverflow.com/questions/67473879

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install iotedge

            You can download it from GitHub.

            Support

            Documentation for the Azure IoT Edge product can be found at https://docs.microsoft.com/azure/iot-edge.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link