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.

    Changing ipwhitelist prevents Mirror from loading correctly

    Scheduled Pinned Locked Moved Troubleshooting
    21 Posts 8 Posters 14.4k Views 7 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.
    • P Offline
      pingywon
      last edited by

      I have come to the same conclusion on my own today. added the single ip of my work station and was able to get access. This works for now, but it is not a long term solution. I installed MMM-admin-panel and want to able to access the mirror from pretty much any ip inside my network.

      Im going to do some more testing on monday…but im afraid I might have to add every darn IP in my internal DHCP scope just to not have to worry about it.

      I agree it makes NO SENSE! :)

      In the meantime let me know if you come up with any other developments.

      Thank you

      1 Reply Last reply Reply Quote 0
      • schlachtkreuzer6S Offline
        schlachtkreuzer6 @Snille
        last edited by

        @Snille When I try this, the log stopped at this point:

        0|mm | Connecting socket for: MMM-Fuel
        0|mm | Starting module helper: MMM-Fuel
        0|mm | Sockets connected & modules started …
        0|mm | Launching application.
        0|mm | Access denied to IP address: 0.0.0.0/0

        1 Reply Last reply Reply Quote 0
        • schlachtkreuzer6S Offline
          schlachtkreuzer6 @rcollie
          last edited by

          @rcollie yep this works for me too, wierd!

          1 Reply Last reply Reply Quote 0
          • P Offline
            psteimann
            last edited by

            How looks your config.js??

            schlachtkreuzer6S 1 Reply Last reply Reply Quote 0
            • rcollieR Offline
              rcollie
              last edited by

              Mine looks like this:

              var config = {
              port: 8080,
              ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.1.0/28”, “::ffff:192.168.2.0/28”, “::ffff:192.168.3.0/28”, “192.168.2.219”, “192.168.2.3”, “192.168.2.72”, “192.168.2.78”],

              language: “en”,
              timeFormat: 12,
              units: “imperial”,

              modules: [
              
              1 Reply Last reply Reply Quote 0
              • P Offline
                psteimann
                last edited by

                ok. try to split it into 2 entries…

                pWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.1.0/28”, “::ffff:192.168.2.0/28”],

                …

                you are sure that port 8080 is not used by annother application or blocked by your firewall??

                First, try the first entry only and then add the second-one

                ( I used /24 instead /28, works here…)

                remove the " ," after the font?

                1 Reply Last reply Reply Quote 0
                • schlachtkreuzer6S Offline
                  schlachtkreuzer6 @psteimann
                  last edited by

                  @psteimann /

                  var config = {
                  port: 8080,
                  ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.1.0/28”, “::ffff:192.168.2.0/28”, “::ffff:192.168.3.0/28”, “10.0.0.16”],

                  language: "de",
                  modules: [
                  	{.....
                  
                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    psteimann
                    last edited by

                    var config = {
                    port: 8088,
                    ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”,“::ffff:192.168.1.1/24”,“192.168.1.1/24”],
                    ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”,“::ffff:178.198.19.1/24”,“178.198.19.1/24”],
                    language: “de”,
                    timeFormat: 24,
                    units: “metric”,

                    modules: [
                    
                    1 Reply Last reply Reply Quote 0
                    • rcollieR Offline
                      rcollie
                      last edited by

                      @psteimann I may have misunderstood. Are you asking for help or offering suggestions?

                      P 1 Reply Last reply Reply Quote 0
                      • P Offline
                        psteimann @rcollie
                        last edited by

                        @rcollie thats the way it works here…:-)

                        1 Reply Last reply Reply Quote 0
                        • rcollieR Offline
                          rcollie
                          last edited by

                          @psteimann I’m still not understanding your intent. I’ve posted a solution (really a workaround), so I’m not clear as to whether you’re trying to help solve a problem that I’ve already solved, or if you are asking for help.

                          P 1 Reply Last reply Reply Quote 0
                          • P Offline
                            psteimann @rcollie
                            last edited by

                            @rcollie if it works in your way, then its ok. My works also, so just an alternative “help”…

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

                              About all this mess it up
                              https://forum.magicmirror.builders/post/27658

                              Easy module development with MagicMirror Module Template

                              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