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 stuck on loading

    Scheduled Pinned Locked Moved Solved Troubleshooting
    55 Posts 2 Posters 12.1k 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
      rushmuzik @sdetweil
      last edited by

      @sdetweil OK so I’m not crazy! Good to know! It amazes me how much you know!

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

        @rushmuzik just learned about this today, and google has a lot of info. wading thru it is time consuming.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        R 2 Replies Last reply Reply Quote 0
        • R Offline
          rushmuzik @sdetweil
          last edited by

          @sdetweil Absolutely. I appreciate all the attention you’ve given to this so far. You have been a big help to the community.

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

            @sdetweil I’ve searched all over google but I still haven’t found a viable solution.

            Do you think a previous socket.io version would fix the problem? my current version is 4.8.1

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

              @rushmuzik no idea yet

              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
                rushmuzik @sdetweil
                last edited by

                @sdetweil The socket.io GIT lists this as a possible solution to the bad request error however I’m not quite sure where to put it.

                Installation: npm i http-proxy

                const httpProxy = require(“http-proxy”);

                httpProxy
                .createProxyServer({
                target: “http://localhost:3000”,
                ws: true,
                })
                .listen(80);

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

                  @rushmuzik me either. socket.io is setup in server.js

                  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
                    rushmuzik @sdetweil
                    last edited by

                    @sdetweil I’m suspecting it might be an update to the socket.io in the recent 2.29 release which I’m using. I suspect 2.28 or prior my not have this issue

                    bb804ea8-3eff-4a26-98b5-e3d6bcc62f24-image.png

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

                      @rushmuzik 2.29 uses socket.io 4.8 where 2.28 uses 4.7.5

                      you could install 4.7.5

                      cd~/MagicMirror 
                      npm remove  socket.io
                      npm install socket.io@4.7.5
                      

                      i have company today so it will tomorrow really before i can test

                      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
                        rushmuzik @sdetweil
                        last edited by

                        @sdetweil I reverted back to socket.io@4.7.2 that was used on MagicMirror@2.26.0 and that fixed the issue! I tried socket.io@4.7.5 but that didnt work. So I went back to @4.7.2 and that fixed it. It might just be a compatibility issue with Firefox ESR. Mystery Solved! Thanks for all your help!

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

                          @rushmuzik awesome!!! thanks for the feedback

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          R 1 Reply Last reply Reply Quote 0
                          • S sdetweil has marked this topic as solved on
                          • R Offline
                            rushmuzik @sdetweil
                            last edited by

                            @sdetweil Thanks for all you do to help the MM community!

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

                              @rushmuzik that change to socket.io@4.7.2 didn’t help my pi0w MM with firefox (running on next release or 2.29.0)

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

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

                                @rushmuzik
                                I had to change the code to add an increased timeout for fetch…
                                which required node 20.18.1
                                then the 4.8 socket.io worked with the surf browser

                                couldn’t get firefox to work

                                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
                                  rushmuzik @sdetweil
                                  last edited by

                                  @sdetweil For some mysterios reason it worked for me for 10 good minutes then crashed. I still don’t know what caused it to work that period. How is the overal experience with Surf Browser? Would you recommend I use that instead?

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

                                    @rushmuzik my surf based system has bern running for 3 days without trouble

                                    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
                                      rushmuzik @sdetweil
                                      last edited by

                                      @sdetweil I have two followup questions.

                                      1. How do I install that surf based system.
                                      2. Do you know how I can nun Node@20.17.0 or greater on a pie zero?
                                      S 1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        sdetweil @rushmuzik
                                        last edited by

                                        @rushmuzik

                                        surf is installed via apt

                                        sudo apt install surf
                                        

                                        on armv6l installing node is a pain

                                        quickest way is to run my installer again, as it is set to install 20.18.1
                                        rename your MagicMirror folder out of the way first as the installer wont install over an existing MagicMirror setup

                                        OR wait til jan 1 and run the upgrade script, which will install the new version with longer timeout and node 20.18.1

                                        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
                                          rushmuzik @sdetweil
                                          last edited by

                                          @sdetweil I was able to install node 20.18.1. Just trying to figure out the code to increase the fetch timeout.

                                          S 2 Replies Last reply Reply Quote 0
                                          • S Offline
                                            sdetweil @rushmuzik
                                            last edited by

                                            @rushmuzik in the next release on Wednesday

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • 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