GithubHelp home page GithubHelp logo

Comments (10)

ronniesa avatar ronniesa commented on May 31, 2024

One trick that you can do is to change a dummy env variable on each module this will trigger a restart of every module. Maybe is worth to try just forcing the restart of the edgeHub module that could be the cause of not correctly reconnecting.

If you have a lot of network disconnects is also recommended to put a DNS settings in to edge: https://docs.microsoft.com/en-us/azure/iot-edge/troubleshoot#edge-agent-module-continually-reports-empty-config-file-and-no-modules-start-on-the-device

Yes, it would be nice to be able to force a reboot of edge from IoT Hub.
You could implement a module that runs in priviledged mode and allow you to call a directmethod to trigger the reboot. Not probably a best practice but it should work.

from iotedge-lorawan-starterkit.

gerfen avatar gerfen commented on May 31, 2024

@ronniesa Thanks for the suggestions. I think I will start with the DNS settings to see if that improves the situation.

from iotedge-lorawan-starterkit.

Mandur avatar Mandur commented on May 31, 2024

Hello @gerfen, I had luckily a similar requirement for our ci. Sadly my method don't work on x86, but I found a more aggressive one that can work with x86 devices : https://github.com/Mandur/IoTEdgeDeviceRebooter.

from iotedge-lorawan-starterkit.

ronniesa avatar ronniesa commented on May 31, 2024

@gerfen did the DNS entry solve the issue?

from iotedge-lorawan-starterkit.

gerfen avatar gerfen commented on May 31, 2024

@ronniesa Unfortunately I did not have time to try to add the DNS entry while I was on site as I got side tracked with not be able to join my new devices to the gateway. I have plans to return in two weeks and will attempt to add the DNS entry then.

I can close this issue and re-open i if necessary.

from iotedge-lorawan-starterkit.

ronniesa avatar ronniesa commented on May 31, 2024

@gerfen let's leave it open for now until you test it out so we can better track it

from iotedge-lorawan-starterkit.

AxelBertilsson avatar AxelBertilsson commented on May 31, 2024

@gerfen Any progress on the issue?

from iotedge-lorawan-starterkit.

gerfen avatar gerfen commented on May 31, 2024

Unfortunately no due to the current situation here in the States. I will hopefully be back on site in two weeks. We can close the issue and reopen it if appropriate.

from iotedge-lorawan-starterkit.

Mandur avatar Mandur commented on May 31, 2024

@gerfen Were you able to test the proposed solution?

from iotedge-lorawan-starterkit.

gerfen avatar gerfen commented on May 31, 2024

@Mandur No I haven't been able to test the solution. That said the system has stabilized. The real issue was related to the max number of devices getting reset to 100 when I did an upgrade. It took me ages to figure that out. I'll close this issue now. Sorry for the fire drill.

from iotedge-lorawan-starterkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.