Read the statement by Michael Teeuw here.
MMM-MktIndex is not working
-
The module no longer works for me. Now only the display without numbers or values is shown. Reinstalling the module didn’t help.
I found the following lines in the logs:
MagicMirror-error.logMKTINDEX] API Error: Invalid response body while trying to fetch https://consent.yahoo.com/v2/collectConsent?sessionId=3_cc-session_107e0739-baad-498b-8fa5-54ff56f16484: Premature close (/home/pi/MagicMirror/modules/MMM-MktIndex/node_helper.js:59 )
MagicMirror-out.log
2024-04-07T18:42:17 <log> fetch https://consent.yahoo.com/v2/collectConsent?sessionId=3_cc-session_107e0739-baad-498b-8fa5-54ff56f16484 (/home/pi/MagicMirror/modules/MMM-MktIndex/node_modules/yahoo-finance2/dist/cjs/src/lib/options.js:19 Object.debug) [07.04.2024 18:43.09.937] [LOG] 2024-04-07T18:43:09 <log> payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived) [07.04.2024 18:43.09.955] [LOG] 2024-04-07T18:43:09 <log> payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived) [07.04.2024 18:44.19.963] [LOG] 2024-04-07T18:44:19 <log> payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived) [07.04.2024 18:44.19.988] [LOG] 2024-04-07T18:44:19 <log> payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived) [07.04.2024 18:45.29.960] [LOG] 2024-04-07T18:45:29 <log> payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived) [07.04.2024 18:45.29.990] [LOG] 2024-04-07T18:45:29 <log> payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived) [07.04.2024 18:46.39.968] [LOG] 2024-04-07T18:46:39 <log> payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived) [07.04.2024 18:46.39.987] [LOG] 2024-04-07T18:46:39 <log> payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived)
Can someone help me with troubleshooting?
-
I don’t think the trouble is on your end. My module is experiencing the same behavior. It was working fine and then recently no values are being displayed. I have read in some recent posts that Yahoo has done something with their Stock API so now any modules such as this one cannot retrieve any data. Hopefully the author of this module can create an update to get it functional again, I really like this module.
- Mike
-
-
The author of MMM-MktIndex has updated a file that will get the module working again.
Go to this thread: https://github.com/thess/MMM-MktIndex/issues/2 -