• 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 module with iCloud calendar fetch error

Scheduled Pinned Locked Moved Solved Troubleshooting
6 Posts 2 Posters 208 Views 2 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
    autistiii
    last edited by May 25, 2024, 2:14 PM

    Hello,
    i have set up the default calendar module, including both Google and iCloud calendars. Google calendars work fine, but the iCloud calendars (synced with vdirsyncer) are not displayed and i’m getting an error message that there is a problem inside the calendar module and that i should check the logs. Here they are:

    0|mm | }
    0|mm | [2024-05-25 15:54:14.002] [ERROR] Calendar Error. Could not fetch calendar: http://ip-address/modules/calendars/c4684ce4-3887-496a-ae4a-23eab8dacbb2.ics TypeError: fetch failed
    0|mm | at Object.fetch (node:internal/deps/undici/undici:12293:11)
    0|mm | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
    0|mm | cause: Error: connect ECONNREFUSED ip-address:80
    0|mm | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16) {
    0|mm | errno: -111,
    0|mm | code: ‘ECONNREFUSED’,
    0|mm | syscall: ‘connect’,
    0|mm | address: ‘ip-address’,
    0|mm | port: 80
    0|mm | }
    0|mm | }

    Not sure whats wrong here.
    I saw in another post (https://github.com/MagicMirrorOrg/MagicMirror/issues/3147) that I should change from “localhost” to my ip-adress or “0.0.0.0”, but that did not work for me.
    It would be awesome if someone could help me out on this one :)

    S 2 Replies Last reply May 25, 2024, 2:29 PM Reply Quote 0
    • S Offline
      sdetweil @autistiii
      last edited by sdetweil May 25, 2024, 2:30 PM May 25, 2024, 2:29 PM

      @autistiii yes

      http://ip-address/modules/calendars/c4684ce4-3887-496a-ae4a-23eab8dacbb2.ics

      MagicMirror is running on port 8080 or whatever is configured in the config.js
      port property

      without a port number specified, it means port 80

      http://ip_address:8080/…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      A 1 Reply Last reply May 26, 2024, 2:22 PM Reply Quote 0
      • A Offline
        autistiii @sdetweil
        last edited by May 26, 2024, 2:22 PM

        @sdetweil
        thank you for the fast response.
        however, adding the port “:8080” to the ip-address in the config file doesnt solve the issue :/
        the error message is still the same

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @autistiii
          last edited by May 26, 2024, 2:27 PM

          @autistiii said in Default calendar module with iCloud calendar fetch error:

          cause: Error: connect ECONNREFUSED ip-address:80

          that error?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          A 1 Reply Last reply May 26, 2024, 2:33 PM Reply Quote 0
          • A Offline
            autistiii @sdetweil
            last edited by May 26, 2024, 2:33 PM

            @sdetweil
            yes

            cause: Error: connect ECONNREFUSED ip-adress:8080
            
            S 1 Reply Last reply May 26, 2024, 2:40 PM Reply Quote 0
            • S Offline
              sdetweil @autistiii
              last edited by May 26, 2024, 2:40 PM

              @autistiii what is ip_address?

              localhost?

              if NOT then you have to open up access permissions
              by changing the config.js

              address and ipWhitelist properties

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              1 / 1
              • First post
                1/6
                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