• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Still problems with messages in DWC

Scheduled Pinned Locked Moved
Tuning and tweaking
6
14
1.6k
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.
  • undefined
    resam
    last edited by 20 Nov 2017, 16:42

    I already have this on 1.19.2.
    I don't think I had this problem with 1.19.0 though…
    Or maybe an upgrade from DWC1.19 to DWC1.19.2 is the root cause?

    1 Reply Last reply Reply Quote 0
    • undefined
      darookee
      last edited by 20 Nov 2017, 16:59

      I had this for a while now, too, probably since 1.19, but I'm not entirely sure.

      1 Reply Last reply Reply Quote 0
      • undefined
        Jarery
        last edited by 21 Nov 2017, 03:44

        I've also now encountered this but only since upgrading to the latest 1.20b8

        1 Reply Last reply Reply Quote 0
        • undefined
          Alex9779
          last edited by 21 Nov 2017, 06:34

          https://github.com/chrishamm/DuetWebControl/issues/50
          I created an issue for this a while ago but this got closed. I still have this problem. When doing some thing I don’t even get the latest messages but just old ones making it impossible to proceed without a restart.
          I tried Chrome, Safari and IE but all the same…

          Alex9779 created this issue 26 Jul 2017, 08:02 in chrishamm/DuetWebControl

          closed G-Code console log messages weird #50

          1 Reply Last reply Reply Quote 0
          • undefined
            resam
            last edited by 21 Nov 2017, 07:43

            Thinking about it, my problems only started when I upgraded from 1.19 to 1.20beta7.
            After playing around with b7 I did a downgrade to 1.19 (by mistake) and then went to 1.19.2.
            Around this time I also upgraded DWC from 1.19 to 1.19.3, unfortunately I can't remember when exactly…

            Only then I started seeing this problem.
            I still have it with RRF1.19.2 & DWC1.19.3.

            1 Reply Last reply Reply Quote 0
            • undefined
              Alex9779
              last edited by 21 Nov 2017, 10:54

              But on my PanelDue all is fine, except that long messages get truncated…
              Think Chris is right that it may be a firmware issue, maybe David can have a look at this?

              1 Reply Last reply Reply Quote 0
              • undefined
                dc42 administrators
                last edited by 21 Nov 2017, 11:22

                There is a known issue with DWC messages getting replicated, triggered by connecting 2 browers to the Duet and then disconnecting one of them.

                Duet WiFi hardware designer and firmware engineer
                Please do not ask me for Duet support via PM or email, use the forum
                http://www.escher3d.com, https://miscsolutions.wordpress.com

                1 Reply Last reply Reply Quote 0
                • undefined
                  resam
                  last edited by 21 Nov 2017, 11:54

                  I just tested this with wireshark attached, and it also happens with a single browser.
                  I see the following responses to the [c]/rr_reply[/c] request (in order):

                  File /gcodes/lithophane-light-mount.gcode selected for printing\n

                  File /gcodes/lithophane-light-mount.gcode selected for printing\n
                  \n

                  File /gcodes/lithophane-light-mount.gcode selected for printing\n
                  \n
                  \n

                  File /gcodes/lithophane-light-mount.gcode selected for printing\n
                  \n
                  \n
                  Leadscrew adjustments made: 0.008 -0.025, points used 2, deviation before 0.013 after 0.000\n
                  \n

                  File /gcodes/lithophane-light-mount.gcode selected for printing\n
                  \n
                  \n
                  Leadscrew adjustments made: 0.008 -0.025, points used 2, deviation before 0.013 after 0.000\n
                  \n

                  File /gcodes/lithophane-light-mount.gcode selected for printing\n
                  \n
                  \n
                  Leadscrew adjustments made: 0.008 -0.025, points used 2, deviation before 0.013 after 0.000\n
                  \n

                  File /gcodes/lithophane-light-mount.gcode selected for printing\n
                  \n
                  \n
                  Leadscrew adjustments made: 0.008 -0.025, points used 2, deviation before 0.013 after 0.000\n
                  \n
                  ```
                  So this seems to be a buffer getting concatenated with old data and not getting emptied correctly.
                  1 Reply Last reply Reply Quote 0
                  • undefined
                    resam
                    last edited by 21 Nov 2017, 12:26

                    Thinking about it some more, I actually have a Cura plugin to upload & send G-Codes.
                    This might be "a second browser"… I will update the plugin to send a [c]/rr_disconnect[/c] to properly close the session.
                    I will report back once I tested this.

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      Alex9779
                      last edited by 21 Nov 2017, 14:17

                      Ok that with two browsers is new to me…
                      I have reachability checks and an auto power off with NodeRed implemented after 30 minutes idle.
                      This check run with HTTP so this might be the second browser...

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        Alex9779
                        last edited by 21 Nov 2017, 14:31

                        Hmmmmmm seems I got this fixed for me…
                        Inserted a /rr_disconnect GET request just after I get the status and now it seems working without old log messages. I just get in return what should be returned...

                        Thanks for the hint! There are so many aspects and stuff to look at and to have in mind. Thank god David knows all this 😄

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          darookee
                          last edited by 21 Nov 2017, 15:36

                          Well, that is interesting. It seems to be fixed for me, too. I added a call to '/rr_disconnect' in the script that pulls the printer status and it looks like the problem is solved. Thanks!

                          1 Reply Last reply Reply Quote 0
                          12 out of 14
                          • First post
                            12/14
                            Last post
                          Unless otherwise noted, all forum content is licensed under CC-BY-SA