MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. panos
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    P
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 37
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-NowPlayingOnSpotify stop working after v2.13 update

      @chassain-0 so the module can’t work because the request-promise-native package is deprecated?

      posted in Troubleshooting
      P
      panos
    • RE: MMM-NowPlayingOnSpotify stop working after v2.13 update

      @chassain-0
      Thanks
      I update mine via “git pull && npm install” command

      posted in Troubleshooting
      P
      panos
    • RE: MMM-NowPlayingOnSpotify stop working after v2.13 update

      @sdetweil
      Yes. I’m able to listen via Spotify app on both mobile/desktop

      posted in Troubleshooting
      P
      panos
    • RE: MMM-NowPlayingOnSpotify stop working after v2.13 update

      @chassain-0
      I don’t know why this happens then.
      I run npm install on more time and rerun the authentication process via browser. (In order to update the token)
      Still the same error.

      posted in Troubleshooting
      P
      panos
    • RE: MMM-NowPlayingOnSpotify stop working after v2.13 update

      @sdetweil
      I don’t remember exactly, but I think that it was working 3-4 days ago

      posted in Troubleshooting
      P
      panos
    • RE: MMM-NowPlayingOnSpotify stop working after v2.13 update

      Hello.
      I have completely uninstall the module and install it again. Still no luck.
      All other modules works as they should.

      posted in Troubleshooting
      P
      panos
    • MMM-NowPlayingOnSpotify stop working after v2.13 update

      Hello.
      I get the following error since I updated to MM v2.13

      [0|mm     | [2020-10-03 19:55:18.881] [ERROR]  
      0|mm     | Can’t retrieve current song. Reason: 
      0|mm     | [2020-10-03 19:55:18.882] [ERROR]  
      0|mm     | RequestError: Error: Client network socket disconnected before secure TLS connection was established
      0|mm     |     at new RequestError (/home/pi/MagicMirror/modules/MMM-NowPlayingOnSpotify/node_modules/request-promise-core/lib/errors.js:14:15)
      0|mm     |     at Request.plumbing.callback (/home/pi/MagicMirror/modules/MMM-NowPlayingOnSpotify/node_modules/request-promise-core/lib/plumbing.js:87:29)
      0|mm     |     at Request.RP$callback [as _callback] (/home/pi/MagicMirror/modules/MMM-NowPlayingOnSpotify/node_modules/request-promise-core/lib/plumbing.js:46:31)
      0|mm     |     at self.callback (/home/pi/MagicMirror/modules/MMM-NowPlayingOnSpotify/node_modules/request/request.js:185:22)
      0|mm     |     at Request.emit (events.js:200:13)
      0|mm     |     at Request.onRequestError (/home/pi/MagicMirror/modules/MMM-NowPlayingOnSpotify/node_modules/request/request.js:877:8)
      0|mm     |     at ClientRequest.emit (events.js:200:13)
      0|mm     |     at TLSSocket.socketErrorListener (_http_client.js:402:9)
      0|mm     |     at TLSSocket.emit (events.js:200:13)
      0|mm     |     at emitErrorNT (internal/streams/destroy.js:91:8) {
      0|mm     |   name: 'RequestError',
      0|mm     |   message: 'Error: Client network socket disconnected ' +
      0|mm     |     'before secure TLS connection was ' +
      0|mm     |     'established',
      0|mm     |   cause: Error: Client network socket disconnected before secure TLS connection was established
      0|mm     |       at connResetException (internal/errors.js:559:14)
      0|mm     |       at TLSSocket.onConnectEnd (_tls_wrap.js:1355:19)
      0|mm     |       at Object.onceWrapper (events.js:288:20)
      0|mm     |       at TLSSocket.emit (events.js:205:15)
      0|mm     |       at endReadableNT (_stream_readable.js:1154:12)
      0|mm     |       at processTicksAndRejections (internal/process/task_queues.js:84:9) {
      0|mm     |     code: 'ECONNRESET',
      0|mm     |     path: null,
      0|mm     |     host: 'api.spotify.com',
      0|mm     |     port: 443,
      0|mm     |     localAddress: undefined
      0|mm     |   },
      0|mm     |   error: Error: Client network socket disconnected before secure TLS connection was established
      0|mm     |       at connResetException (internal/errors.js:559:14)
      0|mm     |       at TLSSocket.onConnectEnd (_tls_wrap.js:1355:19)
      0|mm     |       at Object.onceWrapper (events.js:288:20)
      0|mm     |       at TLSSocket.emit (events.js:205:15)
      0|mm     |       at endReadableNT (_stream_readable.js:1154:12)
      0|mm     |       at processTicksAndRejections (internal/process/task_queues.js:84:9) {
      0|mm     |     code: 'ECONNRESET',
      0|mm     |     path: null,
      0|mm     |     host: 'api.spotify.com',
      0|mm     |     port: 443,
      0|mm     |     localAddress: undefined
      0|mm     |   },
      0|mm     |   options: {
      0|mm     |     url: 'https://api.spotify.com/v1/me/player',
      0|mm     |     headers: {
      0|mm     |       Authorization: 'Bearer ' +
      0|mm     |         'BQBRDGEfWRoLJxBqiqioyoWh4GE5glEZQtZKAmgwYj8PiRhKDh9l796Ehlo7URvaB-_22gnk2Ybr7OxENlnlZS9S247mYnDa7-yzRnw0B6jug8-arHzcWMUr8xViOkVJMsKGink3bHhdiNmezkfFeA'
      0|mm     |     },
      0|mm     |     json: true,
      0|mm     |     method: 'GET',
      0|mm     |     callback: [Function: RP$callback],
      0|mm     |     transform: undefined,
      0|mm     |     simple: true,
      0|mm     |     resolveWithFullResponse: false,
      0|mm     |     transform2xxOnly: false
      0|mm     |   },
      0|mm     |   response: undefined
      0|mm     | }](link url)
      

      Any suggestions?

      posted in Troubleshooting
      P
      panos
    • RE: MM won’t start after updating with update script

      Also, MM auto stops after some minutes with no reason.

      here is the logs:

      [2020-07-14 16:12:13.669] [LOG]    Sockets connected & modules started ...
      [2020-07-14 16:12:13.960] [LOG]    Launching application.
      [2020-07-14 16:12:14.620] [LOG]    Shutting down server...
      [2020-07-14 16:12:14.624] [LOG]    Stopping module helper: updatenotification
      [2020-07-14 16:12:14.625] [LOG]    Stopping module helper: calendar
      [2020-07-14 16:12:14.627] [LOG]    Stopping module helper: MMM-MoonPhase
      [2020-07-14 16:12:14.628] [LOG]    Stopping module helper: MMM-NowPlayingOnSpotify
      [2020-07-14 16:12:14.629] [LOG]    Stopping module helper: MMM-MyCommute
      [2020-07-14 16:12:14.631] [LOG]    Stopping module helper: MMM-MQTT
      [2020-07-14 16:12:14.632] [LOG]    Stopping module helper: MMM-GooglePhotos
      [2020-07-14 16:12:14.633] [LOG]    Stopping module helper: newsfeed
      
      
      posted in Troubleshooting
      P
      panos
    • RE: MM won’t start after updating with update script

      I was able to resolve the issue with the command:

      git pull && sudo npm install
      

      everything works now expect for weatherforecast module that displays only the next 2 instead of next 5 days of forecast.
      Not sure if this is a API limitation or somethings with new 2.12 MM version

      posted in Troubleshooting
      P
      panos
    • MM won’t start after updating with update script

      Hello.
      I tried to update my MM using the update script:

      cd MagicMirror
      bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
      

      (https://github.com/sdetweil/MagicMirror_scripts)

      When I was issued the command:

      pm2 log
      

      I got this error

      home/pi/.pm2/logs/mm-error.log last 15 lines:
      0|mm       |     at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
      0|mm       |     at Function.Module._load (internal/modules/cjs/loader.js:551:3)
      0|mm       | A JavaScript error occurred in the main process
      0|mm       | Uncaught Exception:
      0|mm       | TypeError: Bind must be called on a function
      0|mm       |     at bind (<anonymous>)
      0|mm       |     at /home/pi/MagicMirror/js/logger.js:32:38
      0|mm       |     at /home/pi/MagicMirror/js/logger.js:16:20
      0|mm       |     at Object.<anonymous> (/home/pi/MagicMirror/js/logger.js:21:3)
      0|mm       |     at Object.<anonymous> (/home/pi/MagicMirror/js/logger.js:46:3)
      0|mm       |     at Module._compile (internal/modules/cjs/loader.js:711:30)
      0|mm       |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
      0|mm       |     at Module.load (internal/modules/cjs/loader.js:620:32)
      0|mm       |     at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
      0|mm       |     at Function.Module._load (internal/modules/cjs/loader.js:551:3)
      
      

      any suggestions?

      posted in Troubleshooting
      P
      panos
    • 1 / 1