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

MQTT server is offline

Scheduled Pinned Locked Moved Solved Troubleshooting
9 Posts 2 Posters 1.7k Views 2 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.
  • S Do not disturb
    sdetweil @matt216
    last edited by Nov 17, 2020, 12:55 PM

    @matt216 eai_again in a name server problem. See that a lot when people are using advert filters like Pinole, or have unstable internet

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • M Offline
      matt216
      last edited by matt216 Nov 18, 2020, 3:42 PM Nov 18, 2020, 3:39 PM

      Thanks @sdetweil . I do indeed have Pihole running on my network. Yesterday I observed the “MQTT offline” mirror notification exactly at the same time as a (successful) A and AAAA request from the mirror for the MQTT server URL.
      Today, however, the notification appeared but there is no corresponding DNS request from the mirror.
      This is the first module (and only device on my network) that struggles… not convinced it is DNS related.
      Appreciate the help.

      S 1 Reply Last reply Nov 18, 2020, 3:47 PM Reply Quote 0
      • S Do not disturb
        sdetweil @matt216
        last edited by Nov 18, 2020, 3:47 PM

        @matt216 the error is dns failure

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • M Offline
          matt216
          last edited by matt216 Nov 20, 2020, 5:33 PM Nov 20, 2020, 4:59 PM

          I can ‘force’ this error by turning off the nearest wifi access point that the mirror uses on my home network. Although the mirror associates with another AP the connection to the MQTT server is broken and will not re-establish.
          This error only occurs occasionally, usually, which would make sense as the nearest access point is… ‘flaky’, shall we say (it’s a powerline adaptor type).
          I am going to specify a certain (reliable) AP for the mirror to connect to. Otherwise I may try a different ssid for the second AP (keen to avoid this, though).
          Thanks for help so far.

          S 1 Reply Last reply Nov 20, 2020, 6:17 PM Reply Quote 0
          • S Do not disturb
            sdetweil @matt216
            last edited by Nov 20, 2020, 6:17 PM

            @matt216 i M glad that you were able to recreate and have a plan to resolve.

            I had a similar problem w my wifi security cams and an mm system.

            Finally replaced the networking w a Google wifi system, where I could put one of the stations in a location to resolve the connection issues.

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • M Offline
              matt216
              last edited by Dec 8, 2020, 2:14 PM

              Little update… upgraded the ‘flaky’ hotspot and ran an ethernet cable to it, rather than use powerline adapters. The mirror has held connection to the queue for 3 days now, which is by far a record!
              Network connectivity seemed to be the issue, prompting a DNS error. Curious if the module could be a bit more resilient but perhaps that’s the nature of MQTT…? Decent home network has resolved.
              Thanks for assistance.

              S 1 Reply Last reply Dec 8, 2020, 2:37 PM Reply Quote 0
              • S Do not disturb
                sdetweil @matt216
                last edited by Dec 8, 2020, 2:37 PM

                @matt216 the code could be made more resilient, but maybe lower down than module, which module author doesn’t control.

                Its hard to make 100% reliable code.

                Glad u resolved to issue

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  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