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 28.9k 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.
    • Sandy2503S Offline
      Sandy2503
      last edited by

      Hi !

      At 2pm i have updated my mirror to Version 2.1.3.
      but now i can`t access the Mirror from my Home PC.

      /*************** AUTO GENERATED BY REMOTE CONTROL MODULE ***************/
      
      var config =
      {
              port: 8081,
              electronOptions: {
      
              },
              ipWhitelist: [
                      "127.0.0.1",
                      "::ffff:127.0.0.1",
                      "::1",
                      "192.168.178.20/24"
              ],
              language: "de",
              modules: [
                      {
                              module: "alert",
      
      

      In Mirror Version 2.1.2 it works very well.

      Is the ipWhitelist wrong ?
      I`d like to get access from my whole network after the router like 192.168.178.x --> End

      Sandy2503

      randomnoiseR 1 Reply Last reply Reply Quote 0
      • D Offline
        d3r
        last edited by

        Had the same issue. added

        address:"0.0.0.0",
        

        to the config and it’s working again.
        https://github.com/MichMich/MagicMirror/issues/1036

        randomnoiseR 1 Reply Last reply Reply Quote 2
        • randomnoiseR Offline
          randomnoise @Sandy2503
          last edited by

          @Sandy2503

          Me too… my old WL settings don’t work & also using a blank whitelist (which the update description says should allow all hosts) also doesn’t work.

          Should the font also look different? I realise the Roboto font was ‘moved’ but should it still apply (or do I have to define it in CSS?)

          1 Reply Last reply Reply Quote 0
          • G Offline
            gshimself
            last edited by

            Yea, same here

            1 Reply Last reply Reply Quote 0
            • Hein-JanH Offline
              Hein-Jan
              last edited by

              Same problem here. ipWhitelist worked in 2.1.2. 2.1.3. no more.
              VNC works, Putty works. MMM-Remote-Control cannot be accessed.

              Hein-Jan

              1 Reply Last reply Reply Quote 0
              • MichMichM Offline
                MichMich
                last edited by

                Hmm … that doesn’t sound good. Could one of you open an issue on https://github.com/MichMich/MagicMirror/issues?

                Make sure you fill in ALL te questions in the issue template.

                Thanks!

                1 Reply Last reply Reply Quote 0
                • D Offline
                  d3r
                  last edited by

                  Had the same issue. added

                  address:"0.0.0.0",
                  

                  to the config and it’s working again.
                  https://github.com/MichMich/MagicMirror/issues/1036

                  randomnoiseR 1 Reply Last reply Reply Quote 2
                  • MichMichM Offline
                    MichMich
                    last edited by

                    Thanks d3r!

                    1 Reply Last reply Reply Quote 1
                    • R Offline
                      roramirez Core Contributors
                      last edited by roramirez

                      That happens because the release 2.1.3 was introduced a new change to make more secure the MagicMirror, to prevent open all interfaces to world. So, now from 2.1.3 the default values for address is localhost instead of 0.0.0.0… so …be careful to set this value.

                      Easy module development with MagicMirror Module Template

                      Sandy2503S foxF 2 Replies Last reply Reply Quote 0
                      • Sandy2503S Offline
                        Sandy2503 @roramirez
                        last edited by

                        @roramirez - and how can i now access to my mirror from my homenetwork ?

                        What do i have to do ???

                        Sandy

                        R 1 Reply Last reply Reply Quote 0
                        • randomnoiseR Offline
                          randomnoise @d3r
                          last edited by

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

                          address:“0.0.0.0”,

                          Thanks d3r, this was indeed the solution.

                          foxF 1 Reply Last reply Reply Quote 1
                          • R Offline
                            roramirez Core Contributors @Sandy2503
                            last edited by

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

                            What do i have to do ???

                            Set the IP address of your MagicMirror there.

                            Easy module development with MagicMirror Module Template

                            1 Reply Last reply Reply Quote 1
                            • K Offline
                              knubbl
                              last edited by

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • foxF Offline
                                fox @randomnoise
                                last edited by

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

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

                                address:“0.0.0.0”,

                                Thanks d3r, this was indeed the solution.

                                And how is the syntax?
                                Something like this?

                                var config =
                                {
                                        electronOptions: {
                                
                                        },
                                        ipWhitelist: [
                                                "127.0.0.1",
                                                "0.0.0.0",
                                                "::ffff:127.0.0.1",
                                                "::1",
                                                "::ffff:192.168.188.42",
                                                "192.168.188.1/24",
                                                "::ffff:192.168.188.50"
                                        ],
                                
                                

                                that does not work for me, before the update my MM was working really fine.
                                Also MMM-iFrameReload is not working anymore :(

                                Issues With MMM-WatchDog known?

                                https://forum.magicmirror.builders/post/29827

                                Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

                                randomnoiseR 1 Reply Last reply Reply Quote 0
                                • randomnoiseR Offline
                                  randomnoise @fox
                                  last edited by

                                  @fox this doesn’t go within the whitelist section it has to go after the comma at the end of your whitelist section.

                                  It is its own config parameter.

                                  address:“0.0.0.0”,

                                  1 Reply Last reply Reply Quote 1
                                  • foxF Offline
                                    fox @roramirez
                                    last edited by

                                    @randomnoise thank you for clarifying.

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

                                    That happens because the release 2.1.3 was introduced a new change to make more secure the MagicMirror, to prevent open all interfaces to world. So, now from 2.1.3 the default values for address is localhost instead of 0.0.0.0… so …be careful to set this value.

                                    i tried your fix: https://github.com/MichMich/MagicMirror/issues/1036#issuecomment-333243474
                                    now MM crashed. With “pm2 logs mm” only weird errors appear :(
                                    Was that thing with the developer checkout really intended to remain a stable MM?

                                    Issues With MMM-WatchDog known?

                                    https://forum.magicmirror.builders/post/29827

                                    Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

                                    1 Reply Last reply Reply Quote 0
                                    • Sandy2503S Offline
                                      Sandy2503
                                      last edited by

                                      I change my config.js in:

                                      /*************** AUTO GENERATED BY REMOTE CONTROL MODULE ***************/
                                      
                                      var config =
                                      {
                                              port: 8081,
                                              address:"0.0.0.0",
                                              electronOptions: {
                                      
                                              },
                                              ipWhitelist: [
                                                      "127.0.0.1",
                                                      "::ffff:127.0.0.1",
                                                      "::1",
                                                      "192.168.178.20/24"
                                              ],
                                              language: "de",
                                      
                                      

                                      and now it works again.

                                      I have now access to MMM-Remote-Control from my HomePC again …

                                      Sandy2503

                                      1 Reply Last reply Reply Quote 2
                                      • foxF Offline
                                        fox
                                        last edited by

                                        @Sandy2503 ok nice to know. My problem, that - as i wrote - that with the “developer checkout” from github my MagicMirror is now broken :(

                                        Issues With MMM-WatchDog known?

                                        https://forum.magicmirror.builders/post/29827

                                        Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

                                        1 Reply Last reply Reply Quote 0
                                        • Hein-JanH Offline
                                          Hein-Jan
                                          last edited by

                                          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

                                            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 Reply Quote 0
                                            • S Offline
                                              shotput2017 @knubbl
                                              last edited by

                                              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

                                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                              With your input, this post could be even better 💗

                                              Register Login
                                              • 1
                                              • 2
                                              • 1 / 2
                                              • 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