Read the statement by Michael Teeuw here.
Black Screen when news doesnt fetch
-
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``` -
@uok825 said in Black Screen when news doesnt fetch:
“version”: “2.24.0”,
Node v16.20.2Node 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.
-
@uok825 EAI_AGAIN is a networking problem, unable to resolve address.
nothing we can do, other than improve the error recovery.
-
@sdetweil I understand that but why is going black screen? It can show something like network error on the screen.
-
@uok825 it can, but doesn’t handle the error, and crashes the browser…
many modules do not have very robust error recovery
-
@uok825 Is it the default newsfeed module that is causing this or a different third party newsfeed module?
-
@kayakbabe Default
-
Unfortunatly, only way I make it works : using a watch dog… then it auto restart MM.
https://github.com/MichMich/MMM-WatchDog
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