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.

    EAI_AGAIN error

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    6 Posts 2 Posters 847 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.
    • R Offline
      Richard238
      last edited by Richard238

      MM has crashed several times recently.
      Inspection of MagicMirror-error.log shows a tonne of EAI_AGAIN errors which may or may not have anything to do with it.

      Here’s an example, it’s not just sky news, it’s all news feeds, calendars etc., etc…

      }
      [01.08.2022 22:46.21.463] [ERROR] Newsfeed Error. Could not fetch newsfeed:  http://feeds.skynews.com/feeds/rss/world.xml FetchError: request to http://feeds.skynews.com/feeds/rss/world.xml failed, reason: getaddrinfo EAI_AGAIN feeds.skynews.com
          at ClientRequest.<anonymous> (/home/pi/MagicMirror/node_modules/node-fetch/lib/index.js:1491:11)
          at ClientRequest.emit (node:events:526:28)
          at Socket.socketErrorListener (node:_http_client:442:9)
          at Socket.emit (node:events:526:28)
          at emitErrorNT (node:internal/streams/destroy:157:8)
          at emitErrorCloseNT (node:internal/streams/destroy:122:3)
          at process.processTicksAndRejections (node:internal/process/task_queues:83:21) {
        type: 'system',
        errno: 'EAI_AGAIN',
        code: 'EAI_AGAIN'
      }
      

      Google search suggests a DNS error, but MM shows DNS working OK.

      pi@magicmirror:~ $ nslookup www.google.co.uk
      Server:         208.67.222.222
      Address:        208.67.222.222#53
      
      Non-authoritative answer:
      Name:   www.google.co.uk
      Address: 172.217.169.35
      Name:   www.google.co.uk
      Address: 2a00:1450:4009:823::2003
      
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Richard238
        last edited by

        @Richard238 eai_again is a networking problem,
        lost contact w the network.

        don’t know if this is a wifi problem, or a router problem or a wifi provider problem…

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          Richard238 @sdetweil
          last edited by

          @sdetweil

          Interesting, it’s using the wifi from the router that’s not 3 metres across the room.
          I’ll look at hard wiring it at some point.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Richard238
            last edited by

            @Richard238 the problem could be outside your house

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              Richard238 @sdetweil
              last edited by

              @sdetweil I’m WFH most of the week and don’t notice any internet interruptions.

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @Richard238
                last edited by sdetweil

                @Richard238 yeh I hear yah. but libraries way down below mm freaked out cause they couldn’t connect to some service to get data.

                and the error specifically means mapping the text NAME of the service server to the IP address needed for actual communications

                your wfh probably isn’t a cessing those sites.

                most of the libraries and modules have limited recovery capabilities

                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