• Tags
  • Documentation
  • Order
  • Register
  • Login
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
229
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
    kuon
    last edited by 8 Oct 2022, 02:32

    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.

    undefined 1 Reply Last reply 8 Oct 2022, 15:40 Reply Quote 0
    • undefined
      Phaedrux Moderator
      last edited by 8 Oct 2022, 03:08

      You do have a password set though?

      Z-Bot CoreXY Build | Thingiverse Profile

      undefined 1 Reply Last reply 8 Oct 2022, 03:17 Reply Quote 0
      • undefined
        kuon @Phaedrux
        last edited by 8 Oct 2022, 03:17

        @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
        • undefined
          gloomyandy @kuon
          last edited by 8 Oct 2022, 15:40

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

          undefined 1 Reply Last reply 8 Oct 2022, 15:44 Reply Quote 0
          • undefined
            kuon @gloomyandy
            last edited by 8 Oct 2022, 15:44

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

            undefined 1 Reply Last reply 31 Oct 2022, 12:08 Reply Quote 0
            • undefined
              kuon @kuon
              last edited by 31 Oct 2022, 12:08

              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
              • undefined kuon referenced this topic 7 Nov 2022, 00:08
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA