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

After update to Mirror to 2.1.3 - no working Whitlist

Scheduled Pinned Locked Moved Solved Troubleshooting
33 Posts 18 Posters 22.0k Views 18 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.
  • M Offline
    Mykle1 Project Sponsor Module Developer @Nick
    last edited by Oct 19, 2017, 12:09 AM

    @Nick said in After update to Mirror to 2.1.3 - no working Whitlist:

    tried addres 0.0.0.0 and various things in the Whitelist.

    Have you tried OUTSIDE your Whitelist, as such:

    var config = {
    	port: 8080,
            address: "0.0.0.0",
    	ipWhitelist: [], // Set [] to allow all IP addresses.
    

    Create a working config
    How to add modules

    1 Reply Last reply Reply Quote 0
    • N Offline
      Nick
      last edited by Oct 19, 2017, 8:02 AM

      Thx @Mykle1, indeed I have. See the beginning of my (working) config file below.
      What is suspicious to me is that not even a Ping works to that IP, even though I’ve checked it by printing it on the screen of the MM and in the router.
      Also, before my Whitelist was a long list of IPs, now I’ve tried the [] option but to no avail…

      /*************** AUTO GENERATED BY REMOTE CONTROL MODULE ***************/
      
      var config =
      {
              address: "0.0.0.0",
              electronOptions: {
      
              },
              ipWhitelist: [
      
              ],
              modules: [
                      {
                              module: "alert",
                              config: {
      
                              }
                      },
                      {
                              module: "updatenotification",
                              position: "top_bar",
                              config: {
      
                              }
                      },
                      {
                              module: "MMM-Remote-Control",
                              position: "middle_center",
                              config: {
      
                              }
                      },
      
      M 1 Reply Last reply Oct 19, 2017, 11:08 AM Reply Quote 0
      • M Offline
        Mykle1 Project Sponsor Module Developer @Nick
        last edited by Oct 19, 2017, 11:08 AM

        @Nick said in After update to Mirror to 2.1.3 - no working Whitlist:

        not even a Ping works to that IP

        Pinging the mirror’s IP fails? Pinging other devices on your network is successful?

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • N Offline
          Nick
          last edited by Oct 19, 2017, 12:21 PM

          Yes, including my personal wiki on another Raspberry Pi, all with 2-5ms

          M J 2 Replies Last reply Oct 19, 2017, 7:44 PM Reply Quote 0
          • M Offline
            Mykle1 Project Sponsor Module Developer @Nick
            last edited by Oct 19, 2017, 7:44 PM

            @Nick said in After update to Mirror to 2.1.3 - no working Whitlist:

            Yes, including my personal wiki on another Raspberry Pi, all with 2-5ms

            None of this may help, but you can use it as a checklist.

            • ifconfig on Pi reports the IP address you are trying to ping (wlan0) assuming wifi
            • Connecting Pi via ethernet, ifconfig and trying to ping then
            • Pinging another device from the Pi itself
            • The MM software updates. Clock, calendar, weather, etc?

            Logically, if the only thing you can’t do is ping or connect to the Pi, then something is wrong on the software side, whether a corruption, an edit or a failed installation of the software or dependencies during the upgrade process. The answer in that case, with the most success, is a manual installation, IMHO. You can continue to troubleshoot, which could take a long time, or you can know in less than an hour. You will not lose anything in doing this.

            https://forum.magicmirror.builders/topic/5274/how-to-manually-install-mm-on-your-pi-for-absolute-beginners

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 2
            • J Offline
              Jopyth Moderator @Nick
              last edited by Jopyth Oct 20, 2017, 11:23 AM Oct 20, 2017, 11:22 AM

              @Nick As @Mykle1 said: something is wrong if you can neither ping nor ssh. You definitely need to check your general wifi/ethernet setup. This is not something that can be solved through the config file.

              Helpful sticky: How to troubleshoot

              1 Reply Last reply Reply Quote 0
              • F Offline
                FlatPepsi
                last edited by Feb 11, 2018, 12:59 AM

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • R Offline
                  ronanversendaal
                  last edited by Mar 4, 2019, 9:01 PM

                  Just came across this post while troubleshooting this issue.

                  I got it working by converting the ip range to CIDR format by using this page as mentioned in older posts. I added these ip’s to the whitelist (without the ::ffff: !) and it worked.
                  It’s also important to set the address value to “0.0.0.0”

                  1 Reply Last reply Reply Quote 0
                  • 1
                  • 2
                  • 3
                  • 4
                  • 3 / 4
                  • 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