Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.15.0 is available! For more information about this release, check out this topic.

    Overflow with calendar?

    Troubleshooting
    2
    11
    68
    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.
    • A
      avanloo01 last edited by

      I have this calendar of my high school with all my assignments. I wanted to add this to my mirror, but I got an error.

      bytesParsed: 8281,
        code: 'HPE_HEADER_OVERFLOW',
        reason: 'Header overflow'
      

      Any help?
      Thanks!

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

        @avanloo01 eh? show me the config?

        1 Reply Last reply Reply Quote 0
        • A
          avanloo01 last edited by

          Can I do this in like a private message or something, because I don’t know if I can just post the link on the internet.

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

            @avanloo01 sure, just start a chat with me, click the bubble to the left, and then click chat

            1 Reply Last reply Reply Quote 0
            • A
              avanloo01 last edited by

              I sent you a message.

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

                we worked offline, and there was a security fix to reduce the header buffer size from 80,000 to 8,000 bytes.
                the server is sending a misformatted message with the calendar results

                the workarounds for this issue do not work
                https://github.com/nodejs/node/issues/24692

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

                  @avanloo01 here is a workaround…

                  do

                  export NODE_OPTIONS=--max-http-header-size=10000
                  

                  then

                  npm start
                  

                  if you use pm2 to launch MM, then add that line to the script that is launched by pm2
                  (typically MagicMirror/installers/mm.sh)

                  1 Reply Last reply Reply Quote 1
                  • A
                    avanloo01 last edited by

                    Thank you so much!

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

                      @avanloo01 did it work? I’m guessing so

                      1 Reply Last reply Reply Quote 0
                      • A
                        avanloo01 last edited by

                        Yes, it did.

                        S 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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy