Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. General Discussion
  3. Commenting and chat seem to be broken

Commenting and chat seem to be broken

Scheduled Pinned Locked Moved General Discussion
22 Posts 6 Posters 171 Views 6 Watching
  • 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.
  • mfalkviddM Offline
    mfalkviddM Offline
    mfalkvidd
    Mod
    wrote on last edited by mfalkvidd
    #12

    Not sure if it is related, but https://www.mysensors.org/build/raspberry is pretty broken. Code is not formatted as code, but some of the regular text is formatted as code instead. Images are missing. I'll take a look later.
    189707B6-CD76-442F-B462-01905C558D50.png
    This screen shot was taken with Safari on ipad.

    hekH 1 Reply Last reply
    0
    • TheoLT Offline
      TheoLT Offline
      TheoL
      Contest Winner
      wrote on last edited by
      #13

      Not sure if it helps. But chrome changed things for CORS. If the CURS headers aren't set correctly you can not use a rest api anymore.

      1 Reply Last reply
      0
      • mfalkviddM mfalkvidd

        Not sure if it is related, but https://www.mysensors.org/build/raspberry is pretty broken. Code is not formatted as code, but some of the regular text is formatted as code instead. Images are missing. I'll take a look later.
        189707B6-CD76-442F-B462-01905C558D50.png
        This screen shot was taken with Safari on ipad.

        hekH Offline
        hekH Offline
        hek
        Admin
        wrote on last edited by hek
        #14

        @mfalkvidd

        I fixed the raspberry article, the updated markup-parser seems a bit more picky about newlines before/after headers and code-blocks for some reason.
        Edit: Correction, the bare <br> html-elements all over the article needs to be separated with newlines

        1 Reply Last reply
        0
        • BearWithBeardB Offline
          BearWithBeardB Offline
          BearWithBeard
          wrote on last edited by BearWithBeard
          #15

          Hmm, I also have an issue, although it's likely unrelated. Every few minutes, there are three or four consecutive polling requests - some of which are also quite slow (>500ms) - by the sockets.io script that are all responded with a 405 (method not allowed). Right after that, it switches protocol from HTTP2 to HTTP1.1 and sends another few requests, which now are all responded with a 200 (OK).

          It doesn't break anything as far as I can tell. It shows a "Looks like your connection was lost" modal in the bottom right corner and the forum's navigation bar shifts to the side (and sometime appears as if I'm logged out). After a few seconds, it's all back to normal. It just happens very frequently since a few weeks or so.

          I'm using Firefox (86), but I have seen it happen in Chromium-based browsers as well.

          mysensors-405.png

          1 Reply Last reply
          0
          • hekH Offline
            hekH Offline
            hek
            Admin
            wrote on last edited by
            #16

            Yeah, noticed that as well an hour ago. It was actually caused by an exception/crash of the forum. I think I pinpointed the problem and fixed it. Need to keep an eye on the logs over the day.

            1 Reply Last reply
            1
            • hekH Offline
              hekH Offline
              hek
              Admin
              wrote on last edited by
              #17

              No forum crashes/restart for 2 hours. Seems fixed.

              mfalkviddM BearWithBeardB 2 Replies Last reply
              4
              • hekH hek

                No forum crashes/restart for 2 hours. Seems fixed.

                mfalkviddM Offline
                mfalkviddM Offline
                mfalkvidd
                Mod
                wrote on last edited by
                #18

                Great work @hek

                1 Reply Last reply
                0
                • hekH Offline
                  hekH Offline
                  hek
                  Admin
                  wrote on last edited by
                  #19

                  Fixed the rate limit when fetching data from github (now 5000 requestst vs 60 per day). Should fix the fetch problem we saw on the main site @mfalkvidd.

                  1 Reply Last reply
                  1
                  • hekH hek

                    No forum crashes/restart for 2 hours. Seems fixed.

                    BearWithBeardB Offline
                    BearWithBeardB Offline
                    BearWithBeard
                    wrote on last edited by
                    #20

                    @hek Can confirm. Didn't get any 405 responses nor pesky modals over the last few hours. Thank you!

                    hekH 1 Reply Last reply
                    0
                    • BearWithBeardB BearWithBeard

                      @hek Can confirm. Didn't get any 405 responses nor pesky modals over the last few hours. Thank you!

                      hekH Offline
                      hekH Offline
                      hek
                      Admin
                      wrote on last edited by
                      #21

                      @BearWithBeard
                      Good!

                      Still investigating the comment problems on openhardware.io. Might need to do manual restarts of the forum to test things later on.

                      1 Reply Last reply
                      0
                      • hekH Offline
                        hekH Offline
                        hek
                        Admin
                        wrote on last edited by
                        #22

                        Ok, could not find the root cause for why the embedded forum thread on openhardware.io couldn't detect if user has a valid session/is logged in to the forum.

                        Did a workaround by adding a "Comment" button which redirect user to the thread on the forum.

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        15

                        Online

                        11.7k

                        Users

                        11.2k

                        Topics

                        113.1k

                        Posts


                        Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • MySensors
                        • OpenHardware.io
                        • Categories
                        • Recent
                        • Tags
                        • Popular