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.

    Black Screen when news doesnt fetch

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    8 Posts 5 Posters 424 Views 5 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.
    • U Offline
      uok825
      last edited by uok825

      Hi, as i mentioned i got black screen when the news cant fetch due to wifi(i dont know about that).
      Wifi is connected correctly i can ping and browse.

      • “version”: “2.24.0”,
      • Node v16.20.2
      • Npm 8.19.4
      • Distributor ID: Debian
        Description: Debian GNU/Linux 11 (bullseye)
        Release: 11
        Codename: bullseye
      • RPi 3B

      Here is my logs:

      0|MagicMir | [05.02.2024 06:53.10.754] [ERROR] Newsfeed Error. Could not fetch newsfeed:  https://t24.com.tr/rss FetchError: request to https://t24.com.tr/rss failed, reason: getaddrinfo EAI_AGAIN t24.com.tr
      0|MagicMir |     at ClientRequest.<anonymous> (/home/pi/MagicMirror/node_modules/node-fetch/lib/index.js:1501:11)
      0|MagicMir |     at ClientRequest.emit (node:events:513:28)
      0|MagicMir |     at TLSSocket.socketErrorListener (node:_http_client:502:9)
      0|MagicMir |     at TLSSocket.emit (node:events:513:28)
      0|MagicMir |     at emitErrorNT (node:internal/streams/destroy:151:8)
      0|MagicMir |     at emitErrorCloseNT (node:internal/streams/destroy:116:3)
      0|MagicMir |     at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
      0|MagicMir |   type: 'system',
      0|MagicMir |   errno: 'EAI_AGAIN',
      0|MagicMir |   code: 'EAI_AGAIN'
      0|MagicMir | }
      0|MagicMir | [05.02.2024 07:28.12.616] [ERROR] Newsfeed Error. Could not fetch newsfeed:  https://t24.com.tr/rss FetchError: request to https://t24.com.tr/rss failed, reason: getaddrinfo EAI_AGAIN t24.com.tr
      0|MagicMir |     at ClientRequest.<anonymous> (/home/pi/MagicMirror/node_modules/node-fetch/lib/index.js:1501:11)
      0|MagicMir |     at ClientRequest.emit (node:events:513:28)
      0|MagicMir |     at TLSSocket.socketErrorListener (node:_http_client:502:9)
      0|MagicMir |     at TLSSocket.emit (node:events:513:28)
      0|MagicMir |     at emitErrorNT (node:internal/streams/destroy:151:8)
      0|MagicMir |     at emitErrorCloseNT (node:internal/streams/destroy:116:3)
      0|MagicMir |     at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
      0|MagicMir |   type: 'system',
      0|MagicMir |   errno: 'EAI_AGAIN',
      0|MagicMir |   code: 'EAI_AGAIN'
      0|MagicMir | }
      0|MagicMir | [05.02.2024 07:33.12.648] [ERROR] Newsfeed Error. Could not fetch newsfeed:  https://t24.com.tr/rss FetchError: request to https://t24.com.tr/rss failed, reason: getaddrinfo EAI_AGAIN t24.com.tr
      0|MagicMir |     at ClientRequest.<anonymous> (/home/pi/MagicMirror/node_modules/node-fetch/lib/index.js:1501:11)
      0|MagicMir |     at ClientRequest.emit (node:events:513:28)
      0|MagicMir |     at TLSSocket.socketErrorListener (node:_http_client:502:9)
      0|MagicMir |     at TLSSocket.emit (node:events:513:28)
      0|MagicMir |     at emitErrorNT (node:internal/streams/destroy:151:8)
      0|MagicMir |     at emitErrorCloseNT (node:internal/streams/destroy:116:3)
      0|MagicMir |     at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
      0|MagicMir |   type: 'system',
      0|MagicMir |   errno: 'EAI_AGAIN',
      0|MagicMir |   code: 'EAI_AGAIN'
      0|MagicMir | }
      0|MagicMir | [05.02.2024 07:43.12.993] [ERROR] Newsfeed Error. Could not fetch newsfeed:  https://t24.com.tr/rss FetchError: request to https://t24.com.tr/rss failed, reason: getaddrinfo EAI_AGAIN t24.com.tr
      0|MagicMir |     at ClientRequest.<anonymous> (/home/pi/MagicMirror/node_modules/node-fetch/lib/index.js:1501:11)
      0|MagicMir |     at ClientRequest.emit (node:events:513:28)
      0|MagicMir |     at TLSSocket.socketErrorListener (node:_http_client:502:9)
      0|MagicMir |     at TLSSocket.emit (node:events:513:28)
      0|MagicMir |     at emitErrorNT (node:internal/streams/destroy:151:8)
      0|MagicMir |     at emitErrorCloseNT (node:internal/streams/destroy:116:3)
      0|MagicMir |     at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
      0|MagicMir |   type: 'system',
      0|MagicMir |   errno: 'EAI_AGAIN',
      0|MagicMir |   code: 'EAI_AGAIN'
      0|MagicMir | }
      0|MagicMir | [05.02.2024 11:12.12.926] [ERROR] Newsfeed Error. Could not fetch newsfeed:  https://www.cumhuriyet.com.tr/rss/son_dakika.xml FetchError: request to https://www.cumhuriyet.com.tr/rss/son_dakika.xml failed, reason: getaddrinfo EAI_AGAIN www.cumhuriyet.com.tr
      0|MagicMir |     at ClientRequest.<anonymous> (/home/pi/MagicMirror/node_modules/node-fetch/lib/index.js:1501:11)
      0|MagicMir |     at ClientRequest.emit (node:events:513:28)
      0|MagicMir |     at TLSSocket.socketErrorListener (node:_http_client:502:9)
      0|MagicMir |     at TLSSocket.emit (node:events:513:28)
      0|MagicMir |     at emitErrorNT (node:internal/streams/destroy:151:8)
      0|MagicMir |     at emitErrorCloseNT (node:internal/streams/destroy:116:3)
      0|MagicMir |     at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
      0|MagicMir |   type: 'system',
      0|MagicMir |   errno: 'EAI_AGAIN',
      0|MagicMir |   code: 'EAI_AGAIN'
      0|MagicMir | }
      0|MagicMir | [05.02.2024 14:08.56.884] [ERROR] Newsfeed Error. Could not fetch newsfeed:  https://t24.com.tr/rss FetchError: request to https://t24.com.tr/rss failed, reason: getaddrinfo EAI_AGAIN t24.com.tr
      0|MagicMir |     at ClientRequest.<anonymous> (/home/pi/MagicMirror/node_modules/node-fetch/lib/index.js:1501:11)
      0|MagicMir |     at ClientRequest.emit (node:events:513:28)
      0|MagicMir |     at TLSSocket.socketErrorListener (node:_http_client:502:9)
      0|MagicMir |     at TLSSocket.emit (node:events:513:28)
      0|MagicMir |     at emitErrorNT (node:internal/streams/destroy:151:8)
      0|MagicMir |     at emitErrorCloseNT (node:internal/streams/destroy:116:3)
      0|MagicMir |     at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
      0|MagicMir |   type: 'system',
      0|MagicMir |   errno: 'EAI_AGAIN',
      0|MagicMir |   code: 'EAI_AGAIN'
      0|MagicMir | }
      0|MagicMir | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
      0|MagicMir | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
      0|MagicMir | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT```
      KristjanESPERANTOK S 2 Replies Last reply Reply Quote 0
      • KristjanESPERANTOK Offline
        KristjanESPERANTO Module Developer @uok825
        last edited by

        @uok825 said in Black Screen when news doesnt fetch:

        “version”: “2.24.0”,
        Node v16.20.2

        Node 16 has reached End of Life. Please update node to version 20 and MM to 2.26.0 and check if the problem still occurs.

        1 Reply Last reply Reply Quote 0
        • S Away
          sdetweil @uok825
          last edited by

          @uok825 EAI_AGAIN is a networking problem, unable to resolve address.

          nothing we can do, other than improve the error recovery.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          U 1 Reply Last reply Reply Quote 0
          • U Offline
            uok825 @sdetweil
            last edited by

            @sdetweil I understand that but why is going black screen? It can show something like network error on the screen.

            S 1 Reply Last reply Reply Quote 0
            • S Away
              sdetweil @uok825
              last edited by sdetweil

              @uok825 it can, but doesn’t handle the error, and crashes the browser…

              many modules do not have very robust error recovery

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              kayakbabeK 1 Reply Last reply Reply Quote 0
              • kayakbabeK Offline
                kayakbabe @sdetweil
                last edited by

                @uok825 Is it the default newsfeed module that is causing this or a different third party newsfeed module?

                U 1 Reply Last reply Reply Quote 0
                • U Offline
                  uok825 @kayakbabe
                  last edited by

                  @kayakbabe Default

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    Grominet
                    last edited by

                    Unfortunatly, only way I make it works : using a watch dog… then it auto restart MM.
                    https://github.com/MichMich/MMM-WatchDog

                    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