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.

    New Setup - Log Filled with "CreatePlatformSocket() failed: Address family not supported by protocol (97)"

    Scheduled Pinned Locked Moved Solved Troubleshooting
    11 Posts 3 Posters 3.9k 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.
    • M Offline
      MMRIZE @butchkemper
      last edited by MMRIZE

      @butchkemper
      Usually that error message happens on socket stream fails but could not know where it depends with only that log.

      My suggestion;
      Run only default modules; happens again?

      • If not, add 3rd party modules one by one and test each time. You might find the suspicious module.
      • If so, reinstall fresh MM; then try above method.

      Still happens even with fresh MM, update your OS and dependencies. And test again.

      The last method would be to format your sd card then reinstall OS itself. If still error happens; I have no way…

      Wish you a luck.

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

        @butchkemper I am testing the automated install on a new flashed sd card now , with the 5/23 32 bit image

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @butchkemper I installed with my automated script and all is working as expected. I added my MMM-Config module which uses socketio to the backend form and it works without problem…

          as a test

          rename your MagicMirror folder to some other name
          and then run the automated install script… see
          https://github.com/sdetweil/MagicMirror_scripts

          pi@raspberrypi:~/MagicMirror/config $ uname -a
          Linux raspberrypi 6.1.21-v7+ #1642 SMP Mon Apr  3 17:20:52 BST 2023 armv7l GNU/Linux
          pi@raspberrypi:~/MagicMirror/config $ lsb_release -a
          No LSB modules are available.
          Distributor ID:	Raspbian
          Description:	Raspbian GNU/Linux 11 (bullseye)
          Release:	11
          Codename:	bullseye
          pi@raspberrypi:~/MagicMirror/config $ node -v
          v16.20.0
          pi@raspberrypi:~/MagicMirror/config $ npm -v
          8.19.4
          pi@raspberrypi:~/MagicMirror/config $ 
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • butchkemperB Offline
            butchkemper
            last edited by

            @sdetweil

            Sam,

            I did a complete new MM install using your automated scripts and found the error message is still issued.

            I found the error messages correlate to modules making network requests for data updates.

            My next step is to build a SDcard and see what happens.

            Thank you for your assistance.

            Butch

            Resistance is not Futile!
            It is voltage divided by current.

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

              @butchkemper let us know how it goes…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • butchkemperB Offline
                butchkemper
                last edited by

                Sam,

                I built a new SDcard for Raspios and installed MM using your scripts. Started MM and the problem did not occur.

                Next, I rebuilt the SSD with Raspios and installed MM. Started MM and the problem did not occur at startup and I waited while tailing the logs but nothing happened.

                Next, I move my MM configuration changes, modules, and updates to the SSD. The problem did not occur at startup or after tailing the logs for a time.

                I am declaring a victory for me. But we all know, in the end, that the computer demons won.

                Butch

                Resistance is not Futile!
                It is voltage divided by current.

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

                  @butchkemper awesome… the demons are everywhere! lol

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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