• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Default Calendar & Nextcloud Calendar - CERT_HAS_EXPIRED

Scheduled Pinned Locked Moved Unsolved Troubleshooting
19 Posts 6 Posters 4.3k Views 6 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.
  • A Offline
    Assassins @MMRIZE
    last edited by Oct 1, 2021, 1:39 PM

    @mmrize
    Same error with 2.17.0 with both node 14 and 16

    M 1 Reply Last reply Oct 1, 2021, 1:42 PM Reply Quote 0
    • M Offline
      MMRIZE @Assassins
      last edited by Oct 1, 2021, 1:42 PM

      @assassins
      Well, sorry. I have no idea anymore.

      A 1 Reply Last reply Oct 1, 2021, 1:43 PM Reply Quote 0
      • A Offline
        Assassins @MMRIZE
        last edited by Oct 1, 2021, 1:43 PM

        @mmrize
        But thanks for you try mate :)

        S 1 Reply Last reply Oct 1, 2021, 4:52 PM Reply Quote 0
        • S Offline
          sdetweil @Assassins
          last edited by sdetweil Oct 1, 2021, 4:53 PM Oct 1, 2021, 4:52 PM

          @assassins a new version is posted 2.17.1 that fixes this problem

          git pull 
          npm install 
          

          to update manually

          OR

          use my upgrade script
          see https://github.com/sdetweil/MagicMirror_scripts

          with apply, if not already on 2.17,
          use force if already on 2.17

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          A B 2 Replies Last reply Oct 1, 2021, 5:02 PM Reply Quote 0
          • S sdetweil pinned this topic on Oct 1, 2021, 4:53 PM
          • A Offline
            Assassins @sdetweil
            last edited by Oct 1, 2021, 5:02 PM

            @sdetweil
            Thanks alot mate, i Will try to Update om monday 🙆‍♂️🙆‍♂️

            1 Reply Last reply Reply Quote 0
            • B Offline
              BasicUser @sdetweil
              last edited by Oct 1, 2021, 7:26 PM

              @sdetweil I went the git pull && npm install route but now MM will not load

              0|MagicMirror  | Initializing new module helper ...
              0|MagicMirror  | [01.10.2021 15:25.04.722] [LOG]   Module helper loaded: MMM-NowPlayingOnSpotify
              0|MagicMirror  | [01.10.2021 15:25.04.724] [LOG]   No helper found for module: MMM-PlexNowPlaying.
              0|MagicMirror  | [01.10.2021 15:25.04.729] [ERROR] App threw an error during load
              0|MagicMirror  | [01.10.2021 15:25.04.734] [ERROR] Error: Cannot find module 'request'
              0|MagicMirror  | Require stack:
              0|MagicMirror  | - /home/pi/MagicMirror/modules/MMM-learnlanguage/node_helper.js
              0|MagicMirror  | - /home/pi/MagicMirror/js/app.js
              0|MagicMirror  | - /home/pi/MagicMirror/js/electron.js
              0|MagicMirror  | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
              0|MagicMirror  | - 
              0|MagicMirror  |     at Module._resolveFilename (internal/modules/cjs/loader.js:887:15)
              0|MagicMirror  |     at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128)
              0|MagicMirror  |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
              0|MagicMirror  |     at Module._load (internal/modules/cjs/loader.js:732:27)
              0|MagicMirror  |     at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
              0|MagicMirror  |     at Module.require (internal/modules/cjs/loader.js:959:19)
              0|MagicMirror  |     at require (internal/modules/cjs/helpers.js:88:18)
              0|MagicMirror  |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-learnlanguage/node_helper.js:8:15)
              0|MagicMirror  |     at Module._compile (internal/modules/cjs/loader.js:1078:30)
              0|MagicMirror  |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10)
              0|MagicMirror  | [01.10.2021 15:25.04.738] [ERROR] 
              0|MagicMirror  | Whoops! There was an uncaught exception...
              0|MagicMirror  | [01.10.2021 15:25.04.755] [ERROR] 
              0|MagicMirror  | Error: Cannot find module 'request'
              0|MagicMirror  | Require stack:
              0|MagicMirror  | - /home/pi/MagicMirror/modules/MMM-learnlanguage/node_helper.js
              0|MagicMirror  | - /home/pi/MagicMirror/js/app.js
              0|MagicMirror  | - /home/pi/MagicMirror/js/electron.js
              0|MagicMirror  | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
              0|MagicMirror  | - 
              0|MagicMirror  |     at Module._resolveFilename (internal/modules/cjs/loader.js:887:15)
              0|MagicMirror  |     at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128)
              0|MagicMirror  |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
              0|MagicMirror  |     at Module._load (internal/modules/cjs/loader.js:732:27)
              0|MagicMirror  |     at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
              0|MagicMirror  |     at Module.require (internal/modules/cjs/loader.js:959:19)
              0|MagicMirror  |     at require (internal/modules/cjs/helpers.js:88:18)
              0|MagicMirror  |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-learnlanguage/node_helper.js:8:15)
              0|MagicMirror  |     at Module._compile (internal/modules/cjs/loader.js:1078:30)
              0|MagicMirror  |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10) {
              0|MagicMirror  |   code: 'MODULE_NOT_FOUND',
              0|MagicMirror  |   requireStack: [
              0|MagicMirror  |     '/home/pi/MagicMirror/modules/MMM-learnlanguage/node_helper.js',
              0|MagicMirror  |     '/home/pi/MagicMirror/js/app.js',
              0|MagicMirror  |     '/home/pi/MagicMirror/js/electron.js',
              0|MagicMirror  |     '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js',
              0|MagicMirror  |     undefined
              0|MagicMirror  |   ]
              0|MagicMirror  | }
              0|MagicMirror  | [01.10.2021 15:25.04.757] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
              0|MagicMirror  | [01.10.2021 15:25.04.759] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
              0|MagicMirror  | [01.10.2021 15:25.05.202] [LOG]   
              0|MagicMirror  | Launching application.
              
              

              any ideas?

              S 1 Reply Last reply Oct 1, 2021, 7:41 PM Reply Quote 0
              • S Offline
                sdetweil @BasicUser
                last edited by Oct 1, 2021, 7:41 PM

                @basicuser said in Default Calendar & Nextcloud Calendar - CERT_HAS_EXPIRED:

                Cannot find module ‘request’

                sure

                see above

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                B 1 Reply Last reply Oct 1, 2021, 7:45 PM Reply Quote 0
                • B Offline
                  BasicUser @sdetweil
                  last edited by Oct 1, 2021, 7:45 PM

                  @sdetweil I got it figured out by just running npm install request in ~/MagicMirror/

                  Not super sure what you’re referring to when you say see above though.

                  S 1 Reply Last reply Oct 1, 2021, 8:09 PM Reply Quote 0
                  • S Offline
                    sdetweil @BasicUser
                    last edited by Oct 1, 2021, 8:09 PM

                    @basicuser sorry, wrong topic
                    https://forum.magicmirror.builders/topic/15665/mmm-rtsp-stopped-working-on-2-17-help/2?_=1633110498656

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      LdwVII
                      last edited by Oct 3, 2021, 7:33 AM

                      Great info in this thread, thank you!

                      Weirdly enough, I’m still experiencing the CERT_HAS_EXPIRED error on the Calendar module, despite updating MagicMirror to 2.17.1.

                      Had the certificate error on quite a few modules prior, the update fixed all except the Calendar one. Did I miss something or is it perhaps an entirely different error?

                      (What kind of certificate is this anyway? I had thought an http request wouldn’t need any.)

                      0|launchMa | [03.10.2021 09:15.33.458] [ERROR] Calendar Error. Could not fetch calendar:  http://kalender.link/ical/best FetchError: request to https://kalender.link/ical/best failed, reason: certificate has expired
                      0|launchMa |     at ClientRequest.<anonymous> (/home/pi/MagicMirror/node_modules/node-fetch/lib/index.js:1483:11)
                      0|launchMa |     at ClientRequest.emit (events.js:315:20)
                      0|launchMa |     at TLSSocket.socketErrorListener (_http_client.js:469:9)
                      0|launchMa |     at TLSSocket.emit (events.js:315:20)
                      0|launchMa |     at emitErrorNT (internal/streams/destroy.js:106:8)
                      0|launchMa |     at emitErrorCloseNT (internal/streams/destroy.js:74:3)
                      0|launchMa |     at processTicksAndRejections (internal/process/task_queues.js:80:21) {
                      0|launchMa |   type: 'system',
                      0|launchMa |   errno: 'CERT_HAS_EXPIRED',
                      0|launchMa |   code: 'CERT_HAS_EXPIRED'
                      0|launchMa | }
                      
                      S 1 Reply Last reply Oct 3, 2021, 11:47 AM Reply Quote 0
                      • 1
                      • 2
                      • 2 / 2
                      2 / 2
                      • First post
                        13/19
                        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