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.

    Calendar fetch issues

    Scheduled Pinned Locked Moved Troubleshooting
    6 Posts 3 Posters 1.2k Views 3 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.
    • V Offline
      vvrangler
      last edited by

      Hello, I have seen the following errors in the log for calendars and am looking for help to resolve them.

      The first issue appears it may be a legit 503 service unavailable issue, but does throw an error into the log.

      [2020-10-14 13:34:33.657] [ERROR]  Calendar Error. Could not fetch calendar:  http://p42-calendars.icloud.com/published/2/MjE1NDI5NjM0Mj*MASKED*--sxGM 503: Service Temporarily Unavailable
      [2020-10-14 18:53:07.815] [ERROR]  Calendar Error. Could not fetch calendar:  http://p64-calendars.icloud.com/published/2/AAAAAAAAAAAAAA*MASKED*Cj9UqU 503: Service Temporarily Unavailable
      
      

      I have also seen the following error but they don’t always coincide with the 503 errors so not sure if they are related or not.

      [2020-10-15 00:44:37.926] [ERROR]  Calendar Error. Could not fetch calendar:  http://p42-calendars.icloud.com/published/2/MjE1NDI5NjM0Mj*MASKED*--sxGM Error: getaddrinfo EAI_AGAIN p42-calendars.icloud.com
          at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26) {
        errno: 'EAI_AGAIN',
        code: 'EAI_AGAIN',
        syscall: 'getaddrinfo',
        hostname: 'p42-calendars.icloud.com'
      }
      
      [2020-10-15 01:02:13.529] [ERROR]  Calendar Error. Could not fetch calendar:  http://recollect.a.ssl.fastly.net/api/places/03A47F*MASKED*0E18/services/253/events.en-US.ics Error: getaddrinfo EAI_AGAIN recollect.a.ssl.fastly.net
          at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26) {
        errno: 'EAI_AGAIN',
        code: 'EAI_AGAIN',
        syscall: 'getaddrinfo',
        hostname: 'recollect.a.ssl.fastly.net'
      }
      
      [2020-10-15 01:02:41.306] [ERROR]  Calendar Error. Could not fetch calendar:  http://p64-calendars.icloud.com/published/2/AAAAAAAAAAAAAA*MASKED*Cj9UqU Error: getaddrinfo EAI_AGAIN p64-calendars.icloud.com
          at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26) {
        errno: 'EAI_AGAIN',
        code: 'EAI_AGAIN',
        syscall: 'getaddrinfo',
        hostname: 'p64-calendars.icloud.com'
      }
      
      [2020-10-15 01:03:44.890] [ERROR]  Calendar Error. Could not fetch calendar:  http://ical.mac.com/ical/US32Holidays.ics Error: getaddrinfo EAI_AGAIN ical.mac.com
          at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26) {
        errno: 'EAI_AGAIN',
        code: 'EAI_AGAIN',
        syscall: 'getaddrinfo',
        hostname: 'ical.mac.com'
      }
      
      

      Thanks again for any help!

      Rick

      S 1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @vvrangler
        last edited by sdetweil

        @vvrangler yes, the error handler is verbose… assuming that if there were persistent problems, one would like to know.

        EAI_AGAIN

        some network problem in the lower layers causing the code to be unable to resolve the name in the URL to the ip address of the server…

        503 many times servers are taken down for some kind of service, without warning, and sometimes they fail unexpectedly…

        nothing we can do on our side for either… except report, and if it continues to cause your solution a problem, when you will research the cause…

        EAI_AGAIN to me has almost always been cased by some local dns cacher, like pihole or somesuch

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        V 1 Reply Last reply Reply Quote 0
        • V Offline
          vvrangler @sdetweil
          last edited by

          @sdetweil Thank you for the explanation, I will not worry too much about those errors then.

          I have had some mysterious lockups on the MM and so I am just trying to resolve what I can from the logs to better pin it down, I really appreciate all the help!

          S 1 Reply Last reply Reply Quote 0
          • S Away
            sdetweil @vvrangler
            last edited by

            @vvrangler my pleasure…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • B Offline
              BigTJ
              last edited by

              Hi, I have been experiencing similar errors. I can live with the errors as suggested but the error stops my wallpaper module from displaying my list list of background pictures. The current picture does not change following an error with the calendar. Can the error somehow be prevented from affecting other modules?
              Help would be greatly appreciated…

              S 1 Reply Last reply Reply Quote 0
              • S Away
                sdetweil @BigTJ
                last edited by

                @bigtj almost every server has gone to secure connection

                https://

                not

                http://

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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