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

    Web UI asking for password after emergency stop

    Scheduled Pinned Locked Moved
    Duet Web Control
    3
    6
    239
    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.
    • kuonundefined
      kuon
      last edited by

      Since I upgraded to 3.4.3, every time I press the emergency stop button in the web UI, I have to re-enter the printer password in the UI to control the printer again.

      Before that, it was not asking for the password. I am not sure which version I had before, but it might be 3.1.1, so I guess something changed in that regard between those versions.

      Also, I noticed that if I press the emergency stop, wait for the duet to restart and the UI prompting me for a password, then I SSH into the PI and reboot it and wait for the PI to reboot, then reload the page, it works without prompting for the password.

      gloomyandyundefined 1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        You do have a password set though?

        Z-Bot CoreXY Build | Thingiverse Profile

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

          @phaedrux I have an M551 command yes, and if I enter that password it works. I just want the duet not prompt me when I do an emergency shutdown.

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

            @kuon Are you running in SBC or standalone mode (it sounds like SBC mode)?

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

              @gloomyandy Yes SBC, and if I SSH into it and reboot it, I can access the UI without prompting the password.

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

                I have a better sequence of how things are happening:

                initial state: SBC and duet booted, everything works.

                I press emergency stop in the web UI

                new state: web UI is asking for password, and remote upload doesn't work (401) if I enter the password in the web UI, the UI works, but I can not upload files from prusa

                I SSH into the pi, and restart the duetcontrolserver.service

                now the file upload works again

                When I press the emergency stop button, I have the following control server logs:

                Oct 31 13:06:35 lili DuetControlServer[819]: [warn] Emergency stop
                Oct 31 13:06:35 lili DuetControlServer[819]: [warn] Resetting controller
                Oct 31 13:06:35 lili DuetControlServer[819]: [info] Application has shut down
                Oct 31 13:06:35 lili systemd[1]: duetcontrolserver.service: Succeeded.
                Oct 31 13:06:35 lili systemd[1]: duetcontrolserver.service: Consumed 25.798s CPU time.
                Oct 31 13:06:35 lili systemd[1]: duetcontrolserver.service: Scheduled restart job, restart counter is at 1.
                Oct 31 13:06:35 lili systemd[1]: Stopped Duet Control Server.
                Oct 31 13:06:35 lili systemd[1]: duetcontrolserver.service: Consumed 25.798s CPU time.
                Oct 31 13:06:35 lili systemd[1]: Starting Duet Control Server...
                Oct 31 13:06:36 lili DuetControlServer[982]: Duet Control Server v3.4.4
                Oct 31 13:06:36 lili DuetControlServer[982]: Written by Christian Hammacher for Duet3D
                Oct 31 13:06:36 lili DuetControlServer[982]: Licensed under the terms of the GNU Public License Version 3
                Oct 31 13:06:36 lili DuetControlServer[982]: [info] Settings loaded
                Oct 31 13:06:36 lili DuetControlServer[982]: [info] Environment initialized
                Oct 31 13:06:36 lili DuetControlServer[982]: [info] Connection to Duet established
                Oct 31 13:06:36 lili DuetControlServer[982]: [info] IPC socket created at /run/dsf/dcs.sock
                Oct 31 13:06:37 lili systemd[1]: Started Duet Control Server.
                Oct 31 13:06:37 lili DuetControlServer[982]: [info] Starting macro file config.g on channel Trigger
                Oct 31 13:06:38 lili DuetControlServer[982]: [info] Finished macro file config.g
                

                And when I restart it to "fix things", I have this logs:

                ct 31 13:07:41 lili systemd[1]: Stopping Duet Control Server...
                Oct 31 13:07:41 lili DuetControlServer[982]: [warn] Received SIGTERM, shutting down...
                Oct 31 13:07:41 lili DuetControlServer[982]: [info] Application has shut down
                Oct 31 13:07:42 lili systemd[1]: duetcontrolserver.service: Succeeded.
                Oct 31 13:07:42 lili systemd[1]: Stopped Duet Control Server.
                Oct 31 13:07:42 lili systemd[1]: duetcontrolserver.service: Consumed 10.851s CPU time.
                Oct 31 13:07:42 lili systemd[1]: Starting Duet Control Server...
                Oct 31 13:07:42 lili DuetControlServer[1089]: Duet Control Server v3.4.4
                Oct 31 13:07:42 lili DuetControlServer[1089]: Written by Christian Hammacher for Duet3D
                Oct 31 13:07:42 lili DuetControlServer[1089]: Licensed under the terms of the GNU Public License Version 3
                Oct 31 13:07:42 lili DuetControlServer[1089]: [info] Settings loaded
                Oct 31 13:07:43 lili DuetControlServer[1089]: [info] Environment initialized
                Oct 31 13:07:43 lili DuetControlServer[1089]: [info] Connection to Duet established
                Oct 31 13:07:43 lili DuetControlServer[1089]: [info] IPC socket created at /run/dsf/dcs.sock
                Oct 31 13:07:43 lili systemd[1]: Started Duet Control Server.
                
                1 Reply Last reply Reply Quote 0
                • kuonundefined kuon referenced this topic
                • First post
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA