• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Every few hours I get "ERROR:network_service_instance_impl.cc(916)] Network service crashed, restarting service"

Scheduled Pinned Locked Moved Troubleshooting
36 Posts 4 Posters 7.9k Views 4 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    TvE @TvE
    last edited by TvE Mar 2, 2022, 7:08 AM Mar 2, 2022, 6:18 AM

    Hmm crashed after 6,5h with the same error…

    NB.: My symptom is the same as being reported here (though I’m not using a docker container)
    https://github.com/electron/electron/issues/31675

    Is there any way of increasing the verbosity in any logs to get more debugging info?

    I’m now perforing a new test:

    • Reverting to the default MM config
    • And tcpdump’ing the network traffic so I can correlate and maybe identify what triggers the network service crash

    If it no longer crashes I’ll revert to my own config and retest (as it then must be related to that specific network traffic [no matter how unfair that seems]

    T 1 Reply Last reply Mar 2, 2022, 5:38 PM Reply Quote 0
    • T Offline
      TvE @TvE
      last edited by Mar 2, 2022, 5:38 PM

      Test with default config looks good 11h without a crash

      [02.03.2022 07:43.20.529] [LOG]   Starting MagicMirror: v2.18.0
      ...
      [02.03.2022 18:35.01.238] [INFO]  Calendar-Fetcher: Broadcasting 10 events.
      And still running
      

      Thus I must deduce that one of the two services I had configured was triggering the problem

      I must enable my two changes individually to identify which is “bad”

      S 1 Reply Last reply Mar 2, 2022, 5:55 PM Reply Quote 0
      • S Offline
        sdetweil @TvE
        last edited by Mar 2, 2022, 5:55 PM

        @tve weird

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        T 1 Reply Last reply Mar 2, 2022, 6:38 PM Reply Quote 0
        • T Offline
          TvE @sdetweil
          last edited by Mar 2, 2022, 6:38 PM

          @sdetweil Yep (but I get exposed to that type of behavior daily :-) )

          I have also found the DEBUG setting in the conf file:

          logLevel: ["INFO", "LOG", "WARN", "ERROR", "DEBUG"], // Add "DEBUG" for even more logging
          

          And am tcpdumping the traffic as well

          sudo tcpdump -i wlan0 -w tcpdump-wlan.pcap && sudo tcpdump -i eth0 -w tcpdump-eth.pcap &
          

          So let’s see what a bisect approach to disabling the “services” leads to

          S 1 Reply Last reply Mar 2, 2022, 7:13 PM Reply Quote 0
          • S Offline
            sdetweil @TvE
            last edited by Mar 2, 2022, 7:13 PM

            @tve yeh, sorry on debug. lots of calendar stuff

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            T 1 Reply Last reply Mar 3, 2022, 8:04 AM Reply Quote 0
            • T Offline
              TvE @sdetweil
              last edited by Mar 3, 2022, 8:04 AM

              @sdetweil Don’t worry about “debug” I just had to read the config in stead of skipping over that part

              I have now reverted to my original config and will enable the different service in bisect style.

              /*
              TvE test log (on legacy OS)
              Re-configured services resulting in crash:
                1 calendar
                2 openweather_current
                3 openweather_forecast
                4 news
              
              A: Sample config
                  => 11h and still OK
              
              B: Enable DEBUG log level
              
              C: Disable 2+3 (openweather) Enable 1+4
                  => 14 h and still OK
              
              D: Enable 2+3 (openweather) + disable 1+4 (news & calendar)
                  => ongoing
              */
              

              So in a few days I should know what’s triggering the issue…

              T 1 Reply Last reply Mar 5, 2022, 10:10 AM Reply Quote 0
              • T Offline
                TvE @TvE
                last edited by Mar 5, 2022, 10:10 AM

                Hmm so my latest config ran for more than 2 days.

                I’m now reverting to the initial config (enabling all four config-changes) and then time will tell

                T 1 Reply Last reply Mar 9, 2022, 8:26 AM Reply Quote 0
                • T Offline
                  TvE @TvE
                  last edited by Mar 9, 2022, 8:26 AM

                  @sdetweil This is really getting intersting - I have now re-enabled all the config changes so I’m back to my initial config and have been running for four days without a problem.

                  I even reproduced the problem on two differerent physical Pi’s (to eliminate HW) before starting to dissect the config…

                  So for now I can only conclude that something external was triggering these crashes!

                  I can now go back to the latest OS and start adding more stuff to my config (and keep my fingers crossed that I no longer encounter what-ever it was…)

                  Thank you for your help!

                  S 1 Reply Last reply Mar 9, 2022, 1:14 PM Reply Quote 0
                  • S Offline
                    sdetweil @TvE
                    last edited by Mar 9, 2022, 1:14 PM

                    @tve interesting. keep us informed…

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      thgmirror
                      last edited by thgmirror Mar 9, 2022, 9:59 PM Mar 9, 2022, 9:57 PM

                      @TvE Do you use some wires at the GPIO? For example a PIR-sensor? Than may be interferences causes the issue when an electronic device is around your PI.

                      Or it is the temperature? Check it with
                      vcgencmd measure_temp

                      T 1 Reply Last reply Mar 10, 2022, 9:44 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 2 / 4
                      2 / 4
                      • First post
                        14/36
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy