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.

    Annother IPWhitelist question

    Scheduled Pinned Locked Moved Troubleshooting
    12 Posts 4 Posters 6.0k Views 4 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.
    • R Offline
      roramirez Core Contributors @Mykle1
      last edited by

      @Mykle1 What configuration for your ipWhiteList have it?

      Easy module development with MagicMirror Module Template

      Mykle1M 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @roramirez
        last edited by

        @roramirez

        In v2.1.1.

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

        I tried this in v 2.1.2 and it crashed the mirror

        Create a working config
        How to add modules

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

          @Mykle1 said in Annother IPWhitelist question:

          I tried this in v 2.1.2 and it crashed the mirror

          Can you provider more information of the crash…?

          Easy module development with MagicMirror Module Template

          Mykle1M 1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @roramirez
            last edited by Mykle1

            @roramirez said in Annother IPWhitelist question:

            Can you provider more information of the crash…?

            No, because I was unable to get out of the mirror to look at the console or the terminal. I had to power down the mirror and reboot. I deleted the install of 2.1.2 and moved back to v 2.1.1

            Create a working config
            How to add modules

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

              See https://forum.magicmirror.builders/post/27658

              Easy module development with MagicMirror Module Template

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

                @Mykle1 @roramirez

                Exactly the same issue and behaviour here…

                1 Reply Last reply Reply Quote 0
                • B Offline
                  B3nihana
                  last edited by

                  When I use

                  ipWhitelist: [],
                  

                  Any IP I use shows as blocked. I’m using an RPi 2 with “node serveronly”.

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

                    @B3nihana Please, use a develop branch or apply the patch https://github.com/MichMich/MagicMirror/commit/a7297d2685f5ed9b6b34df496065f05ee0d36568#diff-9d4f93dd73c92e4e5730a5c2e0146ad4L33

                    Easy module development with MagicMirror Module Template

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

                      @roramirez Works like a charm…

                      Thaaaaank you!!!

                      1 Reply Last reply Reply Quote 0
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer
                        last edited by

                        @roramirez said in Annother IPWhitelist question:

                        Please, use a develop branch or apply the patch

                        I went to the develop branch. I would also like to confirm that the Whitelist issue, as far as this entry is concerned, has been fixed:

                        var config = {
                        	address: "localhost",
                        	port: 8080,
                        	ipWhitelist: [],
                        

                        0_1504655785434_dev.JPG

                        So, thank you @roramirez

                        Create a working config
                        How to add modules

                        1 Reply Last reply Reply Quote 1
                        • 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