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

MMM-Hue CORS Policy Issue

Scheduled Pinned Locked Moved Solved Troubleshooting
28 Posts 7 Posters 8.1k 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.
  • K Offline
    karsten13 @OberfragGER
    last edited by Jan 18, 2022, 5:45 PM

    @oberfragger

    can you access the mirror with https://<ip-of-pi>:8080?

    May you are using a client which is not in the ipWhitelist? You can test this with setting ipWhitelist: [], in your config.js.

    O 1 Reply Last reply Jan 20, 2022, 1:29 PM Reply Quote 0
    • O Offline
      OberfragGER @karsten13
      last edited by Jan 20, 2022, 1:29 PM

      @karsten13 said in MMM-Hue CORS Policy Issue:

      https://:8080

      No. Thats excactly what im telling you:

      When

        address: "localhost", 
      

      then i dont have any access to https://ip-of-pi:8080 or http://ip-of-pi:8080.

      When

      address: '0.0.0.0',
      

      i have no problem to access Remote-Control-Gui/ Webpage. The ipWhitelist is aready set.

      S 1 Reply Last reply Jan 20, 2022, 2:14 PM Reply Quote 0
      • S Offline
        sdetweil @OberfragGER
        last edited by sdetweil Jan 20, 2022, 2:15 PM Jan 20, 2022, 2:14 PM

        @oberfragger correct… localhost means ONLY apps INSIDE the same machine can connect.

        so you could open a browser ON THE PI screen and connect, but not from another device

        0.0.0.0 means listen for incoming connections on all network interfaces

        (Ethernet and wifi at once, on pi4 if both enabled)

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        O 1 Reply Last reply Jan 24, 2022, 8:04 PM Reply Quote 0
        • O Offline
          OberfragGER @sdetweil
          last edited by Jan 24, 2022, 8:04 PM

          @sdetweil Thank you for you clarification.
          Thats really not good. So i have to decide to get rid og MMM-Motioneye for another camera module which is working…or not to use MMM-Remotecontrol… or not to Update from 2.17 (i have an old image with a fresh install).

          S 1 Reply Last reply Jan 24, 2022, 8:20 PM Reply Quote 0
          • S Offline
            sdetweil @OberfragGER
            last edited by Jan 24, 2022, 8:20 PM

            @oberfragger you might try with address:“192.168.x.y”

            where x and y are from the IP address of the mm machine

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            O 1 Reply Last reply Feb 7, 2022, 8:06 AM Reply Quote 0
            • O Offline
              OberfragGER @sdetweil
              last edited by OberfragGER Feb 8, 2022, 8:32 AM Feb 7, 2022, 8:06 AM

              @sdetweil said in MMM-Hue CORS Policy Issue:

              @oberfragger you might try with address:“192.168.x.y”

              where x and y are from the IP address of the mm machine

              Hey @sdetweil,
              sorry for the late reply. Thanks for your help, again. With that, i have MM running with 2.18 an d MMM-Motionseye is displaying the stream.

              Thanks a lot.

              Edit: For anyone who reads this. After set

              adress: "192.168.X.X"
              

              the module GoogleBirthdaysProvider was not working any longer due the config of that module.
              Just change

              url: 'http://localhost:8080/mmm-googlebirthdaysprovider',
              

              to

              url: 'http://192.168.X.X:8080/mmm-googlebirthdaysprovider',
              
              S 1 Reply Last reply Feb 8, 2022, 2:38 PM Reply Quote 0
              • S Offline
                sdetweil @OberfragGER
                last edited by Feb 8, 2022, 2:38 PM

                @oberfragger just to let you know ip
                addresses

                192.168
                and
                10.

                are not routable over the internet . they are intended only for local private networks. so having your full address doesn’t allow anyone to access it unless they are also on your network. (if they are on your network, they can find all the active addresses in a few seconds.

                my desktop is 192.168.2.106

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • S Offline
                  spitzlbergerj Project Sponsor Module Developer @CarstenD
                  last edited by Apr 14, 2022, 7:47 AM

                  @CarstenD said in MMM-Hue CORS Policy Issue:

                  There is now a new version available for MMM-Homematic that also works w/o changing the config.

                  Hi @CarstenD ,

                  where can I find this new version? At https://github.com/Sickboy78/MMM-Homematic is still the old version.

                  Sorry, but i don’t get it

                  Regards
                  Josef

                  Regards
                  Josef

                  http://www.spitzlberger.de/smartmirror, https://github.com/spitzlbergerj/MMM-TeslaLogger, https://github.com/spitzlbergerj/CaravanPi, https://www.la-gondola-barocca.de

                  1 Reply Last reply Reply Quote 0
                  • M MisterT referenced this topic on Jan 6, 2023, 6:09 PM
                  • 1
                  • 2
                  • 3
                  • 3 / 3
                  • 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