MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

Calendar fetch issues



  • 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



  • @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



  • @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!



  • @vvrangler my pleasure…


Log in to reply