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.

    electron security warning issue

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    8 Posts 2 Posters 1.7k Views 2 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.
    • S Offline
      stevencarp102
      last edited by

      My problem is I cannot read content of newsfeed article on the magic mirror display. Some content briefly flashes on screen, then nothing but the errors as described below.

      Whenever I send the ‘newsfeed’ module the ‘ARTICLE_MORE_DETAILS’ command two or more times, I get the following error…"Refused to frame ‘https://www.cnn.com/’ Because an ancestor violates the following Content Security Policy directive: "frame-ancestors ‘self’ https://.cnn.com:"…etc

      I see this error when I run the npm run start:dev command.

      Also, please note I am seeing a warning message as soon as I start the magic mirror display. The warning message says: “Electron Security Warning (Insecure Content-Security-Policy) This render process has either no Content Security. Policy set or a policy with “unsafe-eval” enabled. This exposes uses of this app to unnecessary security risks.”

      I am attempting to access article content from the following RSS feed: “http://rss.cnn.com/rss/cnn_topstories.rss”

      Any help to resolve this issue is appreciated!

      S 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @stevencarp102
        last edited by sdetweil

        @stevencarp102 I can’t answer the question, but the security warning is nothing we can do anything about, and doesn’t impact execution

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @stevencarp102 are you using the default newsfeed module of something else?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          S 2 Replies Last reply Reply Quote 0
          • S Offline
            stevencarp102 @sdetweil
            last edited by

            @sdetweil Yes, I am using the default newfeed module. I don’t mind having the security warning, but I thought there seems to be a connection to the error that occurs when the software tries to execute the 'ARTICLE_MORE_DETAILS’ command.

            Do you have an RSS feeds URL that you know works when trying to bring up the whole article on the screen with this command?

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

              @sdetweil also, do you have an example config.js perhaps in which the “view more details of the article” feature works?

              FYI, I am using the “Up” gesture with the MMM-GroveGestures module to indicate when the ‘ARTICLE_MORE_DETAILS’ command is sent to the default newsfeed module.

              Thanks for your help by the way!

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

                @stevencarp102 I do not. have never tried that, don’t know how it’s supposed to work.

                how did u send the notification?

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  @sdetweil I am using the MMM-GroveGestures module with the Grove Gesture Sensor (PAJ7620u2). I configured it so when I gesture “Up” in front of the sensors a 'ARTICLE_MORE_DETAILS’ command is sent to the newsfeed module. ```
                  https://github.com/eouia/MMM-GroveGestures

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

                    @stevencarp102 I would open an issue on the MagicMirror gitHub issues page

                    I know they were working on a couple content security issues for next release ( Jan 1)

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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