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.

    Newsfeed only loads once, then stops udating...

    Scheduled Pinned Locked Moved Troubleshooting
    10 Posts 4 Posters 5.1k 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.
    • lolobyteL Offline
      lolobyte @Medo
      last edited by lolobyte

      @Medo
      I tried to inplement multiplr Feeds but my confic will display only the last one.

      What is wrong in my config?

                  {
                          module: 'newsfeed',
                          position: 'bottom_bar',
                          config: {
                                  feeds: [
                                          {
                                          title: "Süddeutsche Zeitung",
                                          url: "http://rss.sueddeutsche.de/rss/Topthemen",
                                          title: "Tagesschau",
                                          url: "http://www.tagesschau.de/xml/rss2",
                         "http://www.stimme.de/storage/rss/rss/regioticker/regioticker.xml"
                                          }
                                          ],
                                  showSourceTitle: true,
                                  showPublishDate: true
                                  }
                  },{
      
      MedoM 1 Reply Last reply Reply Quote 0
      • MedoM Offline
        Medo @lolobyte
        last edited by Medo

        @lolobyte

        Try to look at the original files which came in the downloaded package. I also had problems and realized later, that i had forgotten some characters…

        In your case, i think you have to put each title and url in parentheses. Look at my example from above and also dont miss commas…

        Something like this:

                                       {
                                        title: "Süddeutsche Zeitung",
                                        url: "http://rss.sueddeutsche.de/rss/Topthemen",
                                        },
                                        title: "Tagesschau",
                                        url: "http://www.tagesschau.de/xml/rss2",
                                        "http://www.stimme.de/storage/rss/rss/regioticker/regioticker.xml",
                                         }
        

        As i mentioned above - take the original files as reference, go throug it character by character and you will get it some trys later…

        lolobyteL 1 Reply Last reply Reply Quote 1
        • lolobyteL Offline
          lolobyte @Medo
          last edited by

          @Medo
          oh, yes👍 .
          Now I see my fault!

          Thank you.
          I just try it when I’m back home.

          Have a nice day

          1 Reply Last reply Reply Quote 0
          • MedoM Offline
            Medo
            last edited by yawns

            Sad to say, but my problem keeps coming back.
            I installed a fresh version of the MagicMirror software - but still the newsfeed stops updating some times later (hours, days)

            Dont know, how to interprete this error log (even dont know, if its the source of my problem) - but i think i got some sort of a connection timeout. But where and why?

            See:

            pi@raspberrypi:~ $ pm2 logs mm --lines 100
            [TAILING] Tailing last 100 lines for [mm] process (change the value with --lines option)
            /home/pi/.pm2/logs/mm-error-0.log last 100 lines:
            0|mm       | npm ERR! There is likely additional logging output above.
            0|mm       | 
            0|mm       | npm ERR! Please include the following file with any support request:
            0|mm       | npm ERR!     /home/pi/MagicMirror/npm-debug.log
            0|mm       | { Error: connect ETIMEDOUT 95.100.183.154:443
            0|mm       |     at Object.exports._errnoException (util.js:1026:11)
            0|mm       |     at exports._exceptionWithHostPort (util.js:1049:20)
            0|mm       |     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1081:14)
            0|mm       |   code: 'ETIMEDOUT',
            0|mm       |   errno: 'ETIMEDOUT',
            0|mm       |   syscall: 'connect',
            0|mm       |   address: '95.100.183.154',
            0|mm       |   port: 443 }
            0|mm       | { Error: socket hang up
            0|mm       |     at createHangUpError (_http_client.js:252:15)
            0|mm       |     at TLSSocket.socketCloseListener (_http_client.js:284:23)
            0|mm       |     at emitOne (events.js:101:20)
            0|mm       |     at TLSSocket.emit (events.js:188:7)
            0|mm       |     at TCP._handle.close [as _onclose] (net.js:493:12) code: 'ECONNRESET' }
            0|mm       | { Error: getaddrinfo ENOTFOUND www.gala.de www.gala.de:80
            0|mm       |     at errnoException (dns.js:28:10)
            0|mm       |     at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
            0|mm       |   code: 'ENOTFOUND',
            0|mm       |   errno: 'ENOTFOUND',
            0|mm       |   syscall: 'getaddrinfo',
            0|mm       |   hostname: 'www.gala.de',
            0|mm       |   host: 'www.gala.de',
            0|mm       |   port: 80 }
            0|mm       | TypeError: Cannot read property 'statusCode' of undefined
            0|mm       |     at Request.request [as _callback] (/home/pi/MagicMirror/modules/MMM-Fuel/node_helper.js:40:25)
            0|mm       |     at self.callback (/home/pi/MagicMirror/modules/MMM-Fuel/node_modules/request/request.js:186:22)
            0|mm       |     at emitOne (events.js:96:13)
            0|mm       |     at Request.emit (events.js:188:7)
            0|mm       |     at Request.onRequestError (/home/pi/MagicMirror/modules/MMM-Fuel/node_modules/request/request.js:845:8)
            0|mm       |     at emitOne (events.js:96:13)
            0|mm       |     at ClientRequest.emit (events.js:188:7)
            0|mm       |     at TLSSocket.socketErrorListener (_http_client.js:308:9)
            0|mm       |     at emitOne (events.js:96:13)
            0|mm       |     at TLSSocket.emit (events.js:188:7)
            0|mm       | TypeError: Cannot read property 'statusCode' of undefined
            0|mm       |     at Request.request [as _callback] (/home/pi/MagicMirror/modules/MMM-Fuel/node_helper.js:40:25)
            0|mm       |     at self.callback (/home/pi/MagicMirror/modules/MMM-Fuel/node_modules/request/request.js:186:22)
            0|mm       |     at emitOne (events.js:96:13)
            0|mm       |     at Request.emit (events.js:188:7)
            0|mm       |     at Request.onRequestError (/home/pi/MagicMirror/modules/MMM-Fuel/node_modules/request/request.js:845:8)
            0|mm       |     at emitOne (events.js:96:13)
            0|mm       |     at ClientRequest.emit (events.js:188:7)
            0|mm       |     at TLSSocket.socketErrorListener (_http_client.js:308:9)
            0|mm       |     at emitOne (events.js:96:13)
            0|mm       |     at TLSSocket.emit (events.js:188:7)
            0|mm       | { Error: connect ETIMEDOUT 95.100.183.154:443
            0|mm       |     at Object.exports._errnoException (util.js:1026:11)
            0|mm       |     at exports._exceptionWithHostPort (util.js:1049:20)
            0|mm       |     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1081:14)
            0|mm       |   code: 'ETIMEDOUT',
            0|mm       |   errno: 'ETIMEDOUT',
            0|mm       |   syscall: 'connect',
            0|mm       |   address: '95.100.183.154',
            0|mm       |   port: 443 }
            0|mm       | { Error: socket hang up
            0|mm       |     at createHangUpError (_http_client.js:252:15)
            0|mm       |     at TLSSocket.socketCloseListener (_http_client.js:284:23)
            0|mm       |     at emitOne (events.js:101:20)
            0|mm       |     at TLSSocket.emit (events.js:188:7)
            0|mm       |     at TCP._handle.close [as _onclose] (net.js:493:12) code: 'ECONNRESET' }
            0|mm       | { Error: connect ETIMEDOUT 95.101.30.23:80
            0|mm       |     at Object.exports._errnoException (util.js:1026:11)
            0|mm       |     at exports._exceptionWithHostPort (util.js:1049:20)
            0|mm       |     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1081:14)
            0|mm       |   code: 'ETIMEDOUT',
            0|mm       |   errno: 'ETIMEDOUT',
            0|mm       |   syscall: 'connect',
            0|mm       |   address: '95.101.30.23',
            0|mm       |   port: 80 }
            0|mm       | { Error: socket hang up
            0|mm       |     at createHangUpError (_http_client.js:252:15)
            0|mm       |     at Socket.socketCloseListener (_http_client.js:284:23)
            0|mm       |     at emitOne (events.js:101:20)
            0|mm       |     at Socket.emit (events.js:188:7)
            0|mm       |     at TCP._handle.close [as _onclose] (net.js:493:12) code: 'ECONNRESET' }
            0|mm       | { Error: getaddrinfo EAI_AGAIN www.welt.de:443
            0|mm       |     at Object.exports._errnoException (util.js:1026:11)
            0|mm       |     at errnoException (dns.js:33:15)
            0|mm       |     at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
            0|mm       |   code: 'EAI_AGAIN',
            0|mm       |   errno: 'EAI_AGAIN',
            0|mm       |   syscall: 'getaddrinfo',
            0|mm       |   hostname: 'www.welt.de',
            0|mm       |   host: 'www.welt.de',
            0|mm       |   port: 443 }
            0|mm       | { Error: getaddrinfo EAI_AGAIN www.gala.de:80
            0|mm       |     at Object.exports._errnoException (util.js:1026:11)
            0|mm       |     at errnoException (dns.js:33:15)
            0|mm       |     at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
            0|mm       |   code: 'EAI_AGAIN',
            0|mm       |   errno: 'EAI_AGAIN',
            0|mm       |   syscall: 'getaddrinfo',
            0|mm       |   hostname: 'www.gala.de',
            0|mm       |   host: 'www.gala.de',
            0|mm       |   port: 80 }
            

            Any ideas on this?

            Thanks in advance…

            P 1 Reply Last reply Reply Quote 0
            • P Offline
              poutr @Medo
              last edited by

              @Medo In my experience the source itself can be an issue. See my post here, I ditched these two RSS feed and no more trouble : https://forum.magicmirror.builders/topic/2116/newsfeed-default-module-get-stuck-after-first-rss-download-and-does-not-refresh-reliably

              So it’s not constant behaviour.

              MedoM 1 Reply Last reply Reply Quote 0
              • MedoM Offline
                Medo @poutr
                last edited by

                @poutr
                Guess what: You were right!

                I changed from two rss-feed to only one and also took a site, which provides an URL which ends with .xml
                And see: No error since 7 days… The newsfeed is updating frequently and no errors ocurring…
                It seems, like there are sites which are not that available as i thought and they drop calls from time to time. But the mirror does not like those…

                Perfect! You gave me the right hint! Thanks a lot @poutr!

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