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.

    Credentials being blocked?

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    5 Posts 2 Posters 1.3k Views 3 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.
    • F Offline
      Fr8Trayne
      last edited by

      So I have many great modules on my Mirror that are working, but there are some that just sit in the loading state. I’ve followed each installation to a T, but nothing seems to be going through. I took a glance at the logs and it looks like there is a web security things not allowing those modules to fetch the data. I read somewhere that Electron has a web preference for security that needed to turned off? Is this a thing? If so, any tips?

      In any case not sure why none of these are updating.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Fr8Trayne
        last edited by

        @Fr8Trayne tell me more, show some errors… module name, (the url being used … u can mangle the data when posting here, just keep the https://… web server name of the url

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • F Offline
          Fr8Trayne
          last edited by

          This is what I’m getting

          Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security
                Policy set or a policy with "unsafe-eval" enabled. This exposes users of
                this app to unnecessary security risks.
           
          For more information and help, consult
          https://electronjs.org/docs/tutorial/security.
           This warning will not show up
          once the app is packaged.
          

          and this from the logs.

          roboto.css:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
          main.css:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
          socket.io.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
          config.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
          defaults.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
          nunjucks.min.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
          defaultmodules.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
          translations.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
          module.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
          vendor.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
          logger.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
          class.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
          translator.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
          loader.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
          socketclient.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
          main.js:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
          

          Can you tell from this information? If not I can throw my whole config in and have you take a look and yes I am a newb at this. I’ve learned a lot but this part is a bit over my head at the moment. Google was not my friend as I couldn’t understand what to do with the information given. It seems like the only modules that aren’t working are those that require credentials like the MMM-Fitbit2 and MMM-Airtable

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Fr8Trayne
            last edited by

            @Fr8Trayne can u tell us more…

            what is the address: and port : set to ,
            and also the ipWhitelist: in config.js

            is the UI on the same machine as the server (just npm start)

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • F Offline
              Fr8Trayne
              last edited by

              address: "0.0.0.0", // Address to listen on, can be:
              	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
              	                      // - another specific IPv4/6 to listen on a specific interface
              	                      // - "", "0.0.0.0", "::" to listen on any interface
              	                      // Default, when address config is left out, is "localhost"
              	port: 8080,
              	//ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.0.42", "::ffff:192.168.0.50"], // Set [] to allow all IP addresses
              	ipWhitelist:[],
              	                                                       // or add a specific IPv4 of 192.168.1.5 :
              	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
              	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
              	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
              

              and yes the UI is on the same machine.

              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 / 1
              • 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