• 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 24.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.
  • H Offline
    Hein-Jan
    last edited by Oct 3, 2017, 4:49 PM

    Adding

    address: “0.0.0.0”,

    to the config.js also did the trick for me.

    Thanks!

    1 Reply Last reply Reply Quote 0
    • K Offline
      knubbl
      last edited by Oct 4, 2017, 5:17 PM

      As soon i put “0.0.0.0” to my config (see bellow with empty adress"") i get a black screen on start MM

      var config = {
      port: 8080,
      address:“”,
      language: “de”,
      timeFormat: 24,
      units: “metric”,

      Any ideas?

      S 1 Reply Last reply Oct 4, 2017, 5:27 PM Reply Quote 0
      • S Offline
        shotput2017 @knubbl
        last edited by Oct 4, 2017, 5:27 PM

        hi!
        maybe wrong config.js ??
        here is my working code:
        var config =
        {
        address: “0.0.0.0”,
        electronOptions: {

        },
        ipWhitelist: [
        	"10.0.0.1/24",
        	"::ffff:10.0.0.1/120",
        	"127.0.0.1",
        	"::ffff:127.0.0.1",
        	"::1"
        ],
        

        and so on…

        greets
        shotput2017

        1 Reply Last reply Reply Quote 0
        • C Offline
          cben0ist
          last edited by Oct 4, 2017, 7:20 PM

          is this an acceptable configuration ?

          address:"0.0.0.0",
          

          or is it better specifying the actual server ip here ?

          1 Reply Last reply Reply Quote 0
          • N Offline
            Niggich
            last edited by Oct 4, 2017, 7:26 PM

            I put my config like this:

            {
            	port: 1103,
            	address: '0.0.0.0',
            	electronOptions: {
            		
            	},
            	ipWhitelist: [
            		"127.0.0.1",
            		"::ffff:127.0.0.1",
            		"::1",
            		"::ffff:192.168.113.60",
            		"::ffff:192.168.113.22",
            		"::ffff:192.168.113.97",
            		"::ffff:192.168.113.29",
            		"::ffff:192.168.113.103",
            		"::ffff:192.168.113.66"
            	],
            

            The Remote-Control says “This device is not allowed to acces your mirror”. The IP-Adresses are correct.

            J 1 Reply Last reply Oct 9, 2017, 2:31 PM Reply Quote 0
            • F Offline
              FreddeHamm
              last edited by Oct 8, 2017, 1:04 PM

              i have the same problem

              i already set “adress” to :“0.0.0.0” and edited the ipwhitelist to

              ipWhitelist: [“::fff:0.0.0.0/1”, “::fff:0.8.0.0/1”, “::fff:128.0.0.0/2”, “::fff:192.0.0.0/3”, “::fff:224.0.0.0/4”, “127.0.0.1”, “::ffff:127.0.0.1”, “::1”]

              but still i get no access.

              Btw. its a raspberry pi zero with serveronly

              1 Reply Last reply Reply Quote 0
              • J Offline
                Jopyth Moderator @Niggich
                last edited by Jopyth Oct 9, 2017, 2:37 PM Oct 9, 2017, 2:31 PM

                @Niggich For my setup (raspberry pi 2) something changed after the update, but when I changed my IP addresses to the IPv4 notation (remove ::ffff: from your addresses) it worked again. Which format do the blocked addresses have in your logs (see below)?

                @FreddeHamm Are you sure those CIDR numbers are correct?

                When in doubt, check the output or logs (pm2 logs MagicMirror or pm2 logs mm if you used the old auto starting guide), there should be a line telling you which IP address was received. Also there are a calculators which transform your IP range to the CIDR notation.

                Helpful sticky: How to troubleshoot

                1 Reply Last reply Reply Quote 0
                • N Offline
                  Nick
                  last edited by Oct 18, 2017, 8:18 PM

                  Same here, tried addres 0.0.0.0 and various things in the Whitelist.
                  A ping gives “destination unreachable”… SSH also doesn’t work.
                  Can someone please suggest ways to troubleshoot?

                  M 1 Reply Last reply Oct 19, 2017, 12:09 AM Reply Quote 0
                  • 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
                      • 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