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

    Control server needs to be restarted on emergency shut down

    Scheduled Pinned Locked Moved
    General Discussion
    4
    27
    1.1k
    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.
    • chrishammundefined
      chrishamm administrators @kuon
      last edited by chrishamm

      @kuon It is normal. DSF v3.5 will get an emulation layer for rr_ calls but DSF v3.4 only supports the REST HTTP API, see https://github.com/Duet3D/DuetSoftwareFramework/wiki/REST-API-(v3.4.4-or-newer)

      Duet software engineer

      kuonundefined 1 Reply Last reply Reply Quote 0
      • kuonundefined
        kuon @kuon
        last edited by

        @kuon apt says I have the latest 3.4.4 version, but maybe the install got corrupted some way.

        1 Reply Last reply Reply Quote 0
        • kuonundefined
          kuon @chrishamm
          last edited by

          @chrishamm Ok, I guess I'll reinstall my board, but I have one last question that didn't get answered. If a password is set, when reloading the browser, the password should NOT be prompted again right? (like a remember password thing)

          chrishammundefined 1 Reply Last reply Reply Quote 0
          • chrishammundefined
            chrishamm administrators @kuon
            last edited by chrishamm

            @kuon Yes, it should be prompted. The password is stored per browser session and when you open a new tab or window, you create a different new session. It should not be prompted after E-STOP, though.

            Duet software engineer

            kuonundefined 1 Reply Last reply Reply Quote 0
            • kuonundefined
              kuon @chrishamm
              last edited by

              @chrishamm Ok, so I think I got the full understanding of the thing now:

              1. I expected the password to NOT be prompted again forever (or 30 days) (like remember password) with a cookie of some sort. This expectation was wrong, and I took the constant prompting on reload as a bug while it was the intended behavior.
              2. The password was only set on initial start and emergency shutdown, because it was set in config.g and not dsf-config.g. This explains why I had to restart the service to "fix" this.
              3. Prusa slicer just does not support authenticating with 3.4.4.

              The only actual bug is that dsf-config.g is not executed. For this I checked the logs and I don't see mention of it, also the permissions are OK.

              For the actual issue, I guess I'll just not use the password feature of the rep rap and I'll use other mean to prevent accidental access (like creating a VLAN for the printer and the control computer).

              chrishammundefined 1 Reply Last reply Reply Quote 0
              • chrishammundefined
                chrishamm administrators @kuon
                last edited by

                @kuon I just checked, the reason why dsf-config.g isn't executed is probably because you didn't set up the plugin services (potentially with AppArmor) as described in the upgrade notes. It is already integrated in the latest image but just in case you want to have another look, here the upgrade notes again: https://github.com/Duet3D/DuetSoftwareFramework/wiki/Changelog-DSF-3.x#version-330

                Maybe @bot can help again with password support in SuperSlicer/PrusaSlicer (see here, here, and here) 🙂

                Duet software engineer

                kuonundefined 1 Reply Last reply Reply Quote 1
                • kuonundefined
                  kuon @chrishamm
                  last edited by

                  @chrishamm Yes that was it. I did follow the update instructions, but I didn't notice there was TWO services, duetpluginservice AND duetpluginservice-root. I enabled the later and now it works.

                  I am sorry for this "long" thread.

                  Thanks, your support was great. I built many machines with duet and I'm very happy with it.

                  1 Reply Last reply Reply Quote 2
                  • First post
                    Last post
                  Unless otherwise noted, all forum content is licensed under CC-BY-SA