Comments (10)
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.
@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.
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.
@gerfen did the DNS entry solve the issue?
from iotedge-lorawan-starterkit.
@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.
@gerfen let's leave it open for now until you test it out so we can better track it
from iotedge-lorawan-starterkit.
@gerfen Any progress on the issue?
from iotedge-lorawan-starterkit.
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.
@gerfen Were you able to test the proposed solution?
from iotedge-lorawan-starterkit.
@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)
- Fix the Label on PRs
- All CIs should be using federated Identities when possible and functional HOT 1
- [Story] Create pull requests from release workflow
- [Bug] If building the provisioning cli fails, release workflow looks green
- [Story] Create Arduino Sample for Class B beaconing HOT 2
- Document twin settings for Class B beaconing HOT 2
- DRs set to 0 in US915 router config recognized as FSK instead of "undefined" HOT 11
- When running E2E CI manually it still fail trying to update PR Label HOT 1
- Release pipeline: Azure Functions zip improperly created HOT 1
- Deployment Failed: 'PrincipalNotFound' error when deploying Discovery Service HOT 1
- QUESTION: Azure IoT TLS upgrade HOT 3
- Wrong manifest creation in release pipeline HOT 1
- Enhance Class B documentation
- Deployment is not idempotent when the deployDevice parameter is enabled HOT 1
- Add timestamp/datetime to console logs HOT 4
- Remove dynamic binding introduced with #1841
- Could not get Facade information from module twin HOT 2
- [QUESTION] Upgrading to latest bits HOT 1
- Join requests received are considered as unexpected HOT 4
- No matching manifest for linux/arm/v7 HOT 11
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 iotedge-lorawan-starterkit.