Read the statement by Michael Teeuw here.
module.js mismatch error and good by os
-
Hello guys, I get since some days more and more same errors:
[module.js:395:8] Parameter mismatch in module.show: callback is not an optional parameter! [07.03.2024 20:41.24.631] [ERROR] Whoops! There was an uncaught exception... [07.03.2024 20:41.24.636] [ERROR] TypeError: terminated at Fetch.onAborted (node:internal/deps/undici/undici:11442:53) at Fetch.emit (node:events:514:28) at Fetch.terminate (node:internal/deps/undici/undici:10695:14) at Object.onError (node:internal/deps/undici/undici:11537:36) at Request.onError (node:internal/deps/undici/undici:8310:31) at errorRequest (node:internal/deps/undici/undici:10378:17) at TLSSocket.onSocketClose (node:internal/deps/undici/undici:9811:9) at TLSSocket.emit (node:events:526:35) at node:net:323:12 at TCP.done (node:_tls_wrap:588:7) { [cause]: Error: read ECONNRESET at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20) { errno: -104, code: 'ECONNRESET', syscall: 'read' } }
i don’t know what to do because after some hours my whole pi stock and I have to disconnect the electrical to reboot it again. somebody can help me?
thanks
-
okay i will See what happened with the os now. I changed the MMM-MyCommute and don’t get much error anymore just this.
thanks all for ur support!
-
@fischi87 can u show a little more of the trace
-
so?
[07.03.2024 16:54.00.433] [ERROR] Whoops! There was an uncaught exception... [07.03.2024 16:54.00.436] [ERROR] TypeError: Cannot read properties of undefined (reading 'statusCode') at Request._callback (/home/pi/MagicMirror/modules/MMM-MyCommute/node_helper.js:90:72) at self.callback (/home/pi/MagicMirror/modules/MMM-MyCommute/node_modules/request/request.js:185:22) at Request.emit (node:events:514:28) at Request.onRequestError (/home/pi/MagicMirror/modules/MMM-MyCommute/node_modules/request/request.js:877:8) at ClientRequest.emit (node:events:514:28) at TLSSocket.socketErrorListener (node:_http_client:501:9) at TLSSocket.emit (node:events:514:28) at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) [07.03.2024 16:54.00.436] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [07.03.2024 16:54.00.437] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [07.03.2024 16:54.00.440] [ERROR] Whoops! There was an uncaught exception... [07.03.2024 16:54.00.441] [ERROR] TypeError: Cannot read properties of undefined (reading 'statusCode') at Request._callback (/home/pi/MagicMirror/modules/MMM-MyCommute/node_helper.js:90:72) at self.callback (/home/pi/MagicMirror/modules/MMM-MyCommute/node_modules/request/request.js:185:22) at Request.emit (node:events:514:28) at Request.onRequestError (/home/pi/MagicMirror/modules/MMM-MyCommute/node_modules/request/request.js:877:8) at ClientRequest.emit (node:events:514:28) at TLSSocket.socketErrorListener (node:_http_client:501:9) at TLSSocket.emit (node:events:514:28) at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) [07.03.2024 16:54.00.442] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [07.03.2024 16:54.00.442] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [07.03.2024 16:57.14.836] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:00.29.852] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:00.29.860] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:03.40.785] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:03.40.791] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:03.40.794] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:05.08.963] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:05.11.515] [ERROR] [module.js:395:8] Parameter mismatch in module.show: callback is not an optional parameter! [07.03.2024 17:07.36.595] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:07.36.604] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:07.36.608] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:07.36.625] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:07.36.630] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:12.14.810] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:14.01.586] [ERROR] [module.js:395:8] Parameter mismatch in module.show: callback is not an optional parameter! [07.03.2024 17:15.30.200] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:15.34.878] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:18.40.577] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:18.40.611] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:18.40.629] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:20.09.069] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:22.36.668] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:22.36.678] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:22.36.679] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:22.36.716] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:22.36.717] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:27.14.780] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:30.29.901] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:30.29.914] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:33.40.530] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:33.40.536] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:33.40.537] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:35.08.848] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:37.36.654] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:37.36.656] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:37.36.658] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:37.36.660] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:37.36.662] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:42.14.801] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:45.29.904] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:45.30.045] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 17:17.22.258] [WARN] You're using a full whitelist configuration to allow for all IPs [07.03.2024 17:17.29.864] [ERROR] Got error: connect ECONNREFUSED ::1:8085 [07.03.2024 17:17.29.866] [ERROR] Got error: connect ECONNREFUSED ::1:8085 [07.03.2024 17:17.29.872] [ERROR] Got error: connect ECONNREFUSED ::1:8085 [07.03.2024 17:17.31.105] [WARN] MMM-Fuel: Filtered stationIds list is empty Warning: vkCreateInstance: Found no drivers! Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88) at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458) at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344) at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266) at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521) [07.03.2024 18:32.42.019] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 18:37.42.727] [ERROR] [module.js:395:8] Parameter mismatch in module.show: callback is not an optional parameter! [07.03.2024 18:47.42.027] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 18:47.42.297] [ERROR] [module.js:395:8] Parameter mismatch in module.show: callback is not an optional parameter! [07.03.2024 18:57.42.068] [ERROR] [module.js:395:8] Parameter mismatch in module.show: callback is not an optional parameter! [07.03.2024 19:02.42.065] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 19:02.52.629] [ERROR] Newsfeed Error. Could not fetch newsfeed: http://www.n-tv.de/23.rss',1649704970 TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11576:11) { cause: Error: read ECONNRESET at TCP.onStreamRead (node:internal/stream_base_commons:217:20) { errno: -104, code: 'ECONNRESET', syscall: 'read' } } [07.03.2024 19:07.41.602] [ERROR] [module.js:395:8] Parameter mismatch in module.show: callback is not an optional parameter! [07.03.2024 19:16.23.509] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 19:16.23.746] [ERROR] [ERROR] [MMM-LogExt.js:104:32] TypeError: undefined is not an object (evaluating 'stack[0].trim') [07.03.2024 19:19.33.715] [ERROR] Calendar Error. Could not fetch calendar: http://p38-caldav.icloud.com/published/2/MTE1NzI0ODI1NTMxMTU3MjAoEsRWam-2ZZTrGZrTpcWein9v_8iLzzNNtqHYSW-F TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11576:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { cause: ConnectTimeoutError: Connect Timeout Error at onConnectTimeout (node:internal/deps/undici/undici:8522:28) at node:internal/deps/undici/undici:8480:50 at Immediate._onImmediate (node:internal/deps/undici/undici:8511:13) at process.processImmediate (node:internal/timers:476:21) { code: 'UND_ERR_CONNECT_TIMEOUT' } } [07.03.2024 19:19.34.078] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 19:19.47.570] [ERROR] [module.js:395:8] Parameter mismatch in module.show: callback is not an optional parameter! [07.03.2024 19:27.41.873] [ERROR] [module.js:395:8] Parameter mismatch in module.show: callback is not an optional parameter! [07.03.2024 19:31.23.198] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 19:34.33.784] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 19:37.41.815] [ERROR] [module.js:395:8] Parameter mismatch in module.show: callback is not an optional parameter! [07.03.2024 19:46.23.244] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 19:46.28.220] [ERROR] Newsfeed Error. Could not fetch newsfeed: http://www.n-tv.de/23.rss',1649704970 TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11576:11) { cause: Error: read ECONNRESET at TCP.onStreamRead (node:internal/stream_base_commons:217:20) { errno: -104, code: 'ECONNRESET', syscall: 'read' } } [07.03.2024 19:47.41.945] [ERROR] [module.js:395:8] Parameter mismatch in module.show: callback is not an optional parameter! [07.03.2024 19:49.33.800] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 19:51.31.330] [ERROR] Newsfeed Error. Could not fetch newsfeed: http://www.n-tv.de/23.rss',1649704970 TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11576:11) { cause: Error: read ECONNRESET at TCP.onStreamRead (node:internal/stream_base_commons:217:20) { errno: -104, code: 'ECONNRESET', syscall: 'read' } } [07.03.2024 19:56.32.545] [ERROR] Newsfeed Error. Could not fetch newsfeed: http://www.n-tv.de/23.rss',1649704970 TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11576:11) { cause: Error: read ECONNRESET at TCP.onStreamRead (node:internal/stream_base_commons:217:20) { errno: -104, code: 'ECONNRESET', syscall: 'read' } } [07.03.2024 19:57.41.989] [ERROR] [module.js:395:8] Parameter mismatch in module.show: callback is not an optional parameter! [07.03.2024 20:01.23.205] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 20:01.33.660] [ERROR] Newsfeed Error. Could not fetch newsfeed: http://www.n-tv.de/23.rss',1649704970 TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11576:11) { cause: Error: read ECONNRESET at TCP.onStreamRead (node:internal/stream_base_commons:217:20) { errno: -104, code: 'ECONNRESET', syscall: 'read' } } [07.03.2024 20:04.33.930] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 20:07.41.827] [ERROR] [module.js:395:8] Parameter mismatch in module.show: callback is not an optional parameter! [07.03.2024 20:16.23.509] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 20:17.42.610] [ERROR] [module.js:395:8] Parameter mismatch in module.show: callback is not an optional parameter! [07.03.2024 20:19.33.817] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 20:24.04.656] [ERROR] Newsfeed Error. Could not fetch newsfeed: https://www.gala.de/feed/rss-news/ TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11576:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { cause: ConnectTimeoutError: Connect Timeout Error at onConnectTimeout (node:internal/deps/undici/undici:8522:28) at node:internal/deps/undici/undici:8480:50 at Immediate._onImmediate (node:internal/deps/undici/undici:8511:13) at process.processImmediate (node:internal/timers:476:21) { code: 'UND_ERR_CONNECT_TIMEOUT' } } [07.03.2024 20:24.04.675] [ERROR] Newsfeed Error. Could not fetch newsfeed: http://www.n-tv.de/23.rss',1649704970 TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11576:11) { cause: SocketError: other side closed at Socket.onSocketEnd (node:internal/deps/undici/undici:9790:26) at Socket.emit (node:events:526:35) at endReadableNT (node:internal/streams/readable:1359:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { code: 'UND_ERR_SOCKET', socket: { localAddress: '2003:f4:bf06:2900:794a:73d6:93b3:3918', localPort: 43688, remoteAddress: '2600:9000:2759:600:10:e1a5:2c0:93a1', remotePort: 80, remoteFamily: 'IPv6', timeout: undefined, bytesWritten: 307, bytesRead: 0 } } } [07.03.2024 20:27.42.983] [ERROR] [module.js:395:8] Parameter mismatch in module.show: callback is not an optional parameter! [07.03.2024 20:31.29.021] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 20:34.33.778] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 20:37.42.426] [ERROR] [module.js:395:8] Parameter mismatch in module.show: callback is not an optional parameter! [07.03.2024 20:41.24.631] [ERROR] Whoops! There was an uncaught exception... [07.03.2024 20:41.24.636] [ERROR] TypeError: terminated at Fetch.onAborted (node:internal/deps/undici/undici:11442:53) at Fetch.emit (node:events:514:28) at Fetch.terminate (node:internal/deps/undici/undici:10695:14) at Object.onError (node:internal/deps/undici/undici:11537:36) at Request.onError (node:internal/deps/undici/undici:8310:31) at errorRequest (node:internal/deps/undici/undici:10378:17) at TLSSocket.onSocketClose (node:internal/deps/undici/undici:9811:9) at TLSSocket.emit (node:events:526:35) at node:net:323:12 at TCP.done (node:_tls_wrap:588:7) { [cause]: Error: read ECONNRESET at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20) { errno: -104, code: 'ECONNRESET', syscall: 'read' } } [07.03.2024 20:41.24.637] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [07.03.2024 20:41.24.638] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [07.03.2024 20:46.23.309] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 20:47.41.665] [ERROR] [module.js:395:8] Parameter mismatch in module.show: callback is not an optional parameter! [07.03.2024 20:49.33.775] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 20:57.41.701] [ERROR] [module.js:395:8] Parameter mismatch in module.show: callback is not an optional parameter! [07.03.2024 21:01.23.282] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 21:04.33.993] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 21:07.41.762] [ERROR] [module.js:395:8] Parameter mismatch in module.show: callback is not an optional parameter! [07.03.2024 21:16.23.288] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 21:17.41.805] [ERROR] [module.js:395:8] Parameter mismatch in module.show: callback is not an optional parameter! [07.03.2024 21:19.33.812] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 21:27.41.899] [ERROR] [module.js:395:8] Parameter mismatch in module.show: callback is not an optional parameter! [07.03.2024 21:31.23.355] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 21:34.33.781] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 21:37.41.741] [ERROR] [module.js:395:8] Parameter mismatch in module.show: callback is not an optional parameter! [07.03.2024 21:46.23.285] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 21:47.41.969] [ERROR] [module.js:395:8] Parameter mismatch in module.show: callback is not an optional parameter! [07.03.2024 21:49.33.880] [WARN] MMM-Fuel: Filtered stationIds list is empty
and now this:
[07.03.2024 22:11.05.654] [ERROR] [ERROR] [MMM-LogExt.js:104:32] TypeError: undefined is not an object (evaluating 'stack[0].trim') [07.03.2024 22:11.05.682] [INFO] [loader.js:43:20] All modules started! [07.03.2024 22:11.05.908] [WARN] MMM-Fuel: Filtered stationIds list is empty [07.03.2024 22:11.06.413] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [07.03.2024 22:11.06.421] [INFO] Newsfeed-Fetcher: Broadcasting 30 items. [07.03.2024 22:12.32.149] [INFO] Calendar-Fetcher: Broadcasting 6 events from http://p38-caldav.icloud.com/published/2/MTE1NzI0ODI1NTMxMTU3MjAoEsRWam-2ZZTrGZrTpcWein9v_8iLzzNNtqHYSW-F. [07.03.2024 22:12.32.346] [INFO] updatenotification: You are not using pm2 [07.03.2024 22:12.32.372] [ERROR] Whoops! There was an uncaught exception... [07.03.2024 22:12.32.373] [ERROR] TypeError: Cannot read properties of undefined (reading 'statusCode') at Request._callback (/home/pi/MagicMirror/modules/MMM-MyCommute/node_helper.js:90:72) at self.callback (/home/pi/MagicMirror/modules/MMM-MyCommute/node_modules/request/request.js:185:22) at Request.emit (node:events:514:28) at Request.onRequestError (/home/pi/MagicMirror/modules/MMM-MyCommute/node_modules/request/request.js:877:8) at ClientRequest.emit (node:events:514:28) at TLSSocket.socketErrorListener (node:_http_client:501:9) at TLSSocket.emit (node:events:514:28) at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) [07.03.2024 22:12.32.374] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [07.03.2024 22:12.32.374] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [07.03.2024 22:15.45.792] [INFO] Calendar-Fetcher: Broadcasting 25 events from http://p103-caldav.icloud.com/published/2/MTE2MDcyNjc3OTYxMTYwN6ZYZQ5Zk3eL98raqhQSpn8fhpKW6d_J381unsy_tQSX. [07.03.2024 22:15.46.373] [ERROR] [ERROR] [MMM-LogExt.js:104:32] TypeError: undefined is not an object (evaluating 'stack[0].trim') [07.03.2024 22:15.47.295] [LOG] [MMM-ioBroker.js:70:11] ioBroker new data fetched... [07.03.2024 22:15.47.698] [LOG] [weather.js:166:7] New weather information available. [07.03.2024 22:15.47.723] [LOG] [weather.js:166:7] New weather information available. [07.03.2024 22:16.06.790] [INFO] Newsfeed-Fetcher: Broadcasting 30 items. [07.03.2024 22:16.07.020] [INFO] Newsfeed-Fetcher: Broadcasting 20 items.
-
Which fork of MMM-MyCommute are you using? Go to the module’s directory and run
git remote -v
. -
Good Morning,
pi@raspberrypi:~/MagicMirror/modules/MMM-MyCommute $ git remote -v origin https://github.com/jclarke0000/MMM-MyCommute.git (fetch) origin https://github.com/jclarke0000/MMM-MyCommute.git (push)
-
@fischi87 That project hasn’t been updated since 7 years. On the official module list is a newer fork which got updated 2 years ago. So I recommend try this newer fork: https://github.com/qistoph/MMM-MyCommute.
-
okay i will it a try. thank u.
do u mean the whole errors come from the MMM-MyCommute module?
-
after some trieng, i get still the same error:?
[08.03.2024 13:18.44.611] [ERROR] [MMM-MyCommute.js:481:18] Parameter mismatch in module.show: callback is not an optional parameter!
-
@fischi87 that message should really be a warning, as it causes no trouble, and the code handles the issue
-
@fischi87 said in module.js mismatch error and good by os:
do u mean the whole errors come from the MMM-MyCommute module?
I don’t know. Deactivate all modules except this one and then see if the errors still occur.