<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Duet web control 1.11 &amp;quot;invalid password&amp;quot;</title>
        <description> I have a small issue and because I haven&#039;t found any solution or topics on it, probably this is an isolated evil case.
Sometimes when I disconnect from web GUI and try to reconnect after a while, it pops up &quot;invalid password&quot; thus rendering the print uncontrollable.
I tried from different computers and devices but unfortunately the only help is Duet restart.

I&#039;ve got Duet 0.85 with DC42 1.12 and DWC 1.11 installed.
The printer and PC is attached to a router. At the beginning everything seems ok.

edit: this happens only when trying disconnect/reconnect while printing, when printer is not busy everything looks fine.

Does anybody share this experience?

Basically it looks like this:

1. Connect via DWC works ok, everything works.
2. Duet is idle, the machine does not print, disconnecting and connecting again works ok.
3. Normal gcode print starts as should be, machine is printing.
4. I disconnect DWC
5. Any attempt of reconnecting ends with &quot;invalid password&quot; message. Even when the password line is commented out.
6. The only way to regain control via DWC is to reset duet.

7. Even if the print is started, then paused and cancelled and after that you disconnect the DWC it&#039;s not possible to reconnect, it claims a password and then rejects it  with &quot;invalid password&quot; message.

Now resetting duet is not really a great option :)</description>
        <link>https://reprap.org/forum/read.php?416,664894,664894#msg-664894</link>
        <lastBuildDate>Sun, 09 Aug 2026 18:52:15 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?416,664894,666093#msg-666093</guid>
            <title>Re: Duet web control 1.11 &quot;invalid password&quot;</title>
            <link>https://reprap.org/forum/read.php?416,664894,666093#msg-666093</link>
            <description><![CDATA[ I think I got it.<br />
<br />
KISSlicer pastes something like:<br />
<br />
////<br />
; Select extruder, warm, purge<br />
<br />
; BfB-style<br />
M (EXT+1) 04 S (TEMP)<br />
M542<br />
M55(EXT+1) P32000 S900<br />
M543<br />
<br />
; 5D-style<br />
T(EXT+0)<br />
M109 S(TEMP)<br />
////<br />
<br />
M542 and M543 were alerted as incompatible so I deleted them but M542 (EXT+1) gave M551 which according to reprap wiki sets a password to secure the machine.<br />
So after running my viral gcode the password is set and claimed with reconnect trial.<br />
Fair enough.<br />
<br />
I haven't tested it yet but I'm sure it's the cause. Will post confirmation tomorrow.<br />
<br />
Thanks a lot David!<br />
<br />
After finishing with this one I'll try to replicate the pause error we talked about.]]></description>
            <dc:creator>IOI</dc:creator>
            <category>Duet</category>
            <pubDate>Fri, 20 May 2016 16:36:15 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?416,664894,666059#msg-666059</guid>
            <title>Re: Duet web control 1.11 &quot;invalid password&quot;</title>
            <link>https://reprap.org/forum/read.php?416,664894,666059#msg-666059</link>
            <description><![CDATA[ First thanks a lot for help!<br />
I tried with several gcodes but all from KISSlicer setup for our printers (smoothie based firmware)<br />
I'll try different tomorrow and post results.<br />
<br />
Funny because the second problem (its not me) happend to me a few times, I even wanted to write about it here but decided not to clutter the topic.<br />
It had two forms:<br />
<br />
1. Hit pause, just wait for half a minute or so and there came a crash, something about "no tool selected", AJAX error as far as I remember and the same thing with no ability to reconnect.<br />
<br />
2. The second was just like in your link, I hit pause and almost immediately afrer that "cancel". DWC halted and wrote about "no tool". <br />
<br />
I'm sorry not to be precise enough, next time it happens I'll take care to make a report.<br />
<br />
These cases are not consistent while the reconnection problem happens every single time.<br />
I'll check the gcodes and try with ones included.]]></description>
            <dc:creator>IOI</dc:creator>
            <category>Duet</category>
            <pubDate>Fri, 20 May 2016 14:33:42 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?416,664894,666052#msg-666052</guid>
            <title>Re: Duet web control 1.11 &quot;invalid password&quot;</title>
            <link>https://reprap.org/forum/read.php?416,664894,666052#msg-666052</link>
            <description><![CDATA[ On more question: are you using absolute or relative extruder coordinates?]]></description>
            <dc:creator>dc42</dc:creator>
            <category>Duet</category>
            <pubDate>Fri, 20 May 2016 14:07:53 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?416,664894,666039#msg-666039</guid>
            <title>Re: Duet web control 1.11 &quot;invalid password&quot;</title>
            <link>https://reprap.org/forum/read.php?416,664894,666039#msg-666039</link>
            <description><![CDATA[ Does it happen consistently, when printing <b>any</b> gcode file?<br />
<br />
Please attach your config.g file, also your pause.g file.<br />
<br />
Somebody reported what sounds like a similar problem on github, see [<a href="https://github.com/dc42/RepRapFirmware/issues/44" target="_blank"  rel="nofollow">github.com</a>]. Is that you, or someone else?]]></description>
            <dc:creator>dc42</dc:creator>
            <category>Duet</category>
            <pubDate>Fri, 20 May 2016 13:30:03 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?416,664894,665982#msg-665982</guid>
            <title>Re: Duet web control 1.11 &quot;invalid password&quot;</title>
            <link>https://reprap.org/forum/read.php?416,664894,665982#msg-665982</link>
            <description><![CDATA[ Perhaps I do something wrong while reflashing firmware, or have something wrong in the config.<br />
I reflash with bossac -e -w -v -b firmwarename.bin<br />
All the files are there on SD card. I use 24V power supply and 5V en jumper is on.<br />
And the Duet is original 0.85 from T3P3.<br />
Do you have any idea what could possibly be wrong?<br />
<br />
Sometimes when I just pause DWC returns a bunch of errors about tools or other and disconnects.<br />
Probably I have busted setup in some evil way.<br />
<br />
New findings:<br />
I started print from SD card using purely arduino serial monitor.<br />
After that I tried to connect to duet using Filezilla and DWC.<br />
Both of them give "wrong password" or "login incorrect" and refuse to connect.]]></description>
            <dc:creator>IOI</dc:creator>
            <category>Duet</category>
            <pubDate>Fri, 20 May 2016 10:27:44 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?416,664894,665946#msg-665946</guid>
            <title>Re: Duet web control 1.11 &quot;invalid password&quot;</title>
            <link>https://reprap.org/forum/read.php?416,664894,665946#msg-665946</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>IOI</strong><br />
So I updated to 1.12a and unfortunately it hasn't changed.<br />
I tried connecting from different PC in the same net, from an IPad (with chrome) and from a laptop (with static IP) connected directly to Duet via ethernet cable.<br />
Everywhere the result is the same.<br />
I'll try with nano router yet but have no faith in it.<br />
<br />
Can you reproduce it? Is it worth to try earlier firmware versions?</div></blockquote>
<br />
I tried to reproduce it several times, by pausing the print, disconnecting and reconnecting; but each time the browser reconnected properly and I was able to resume the print through the web interface.]]></description>
            <dc:creator>dc42</dc:creator>
            <category>Duet</category>
            <pubDate>Fri, 20 May 2016 08:44:53 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?416,664894,665903#msg-665903</guid>
            <title>Re: Duet web control 1.11 &quot;invalid password&quot;</title>
            <link>https://reprap.org/forum/read.php?416,664894,665903#msg-665903</link>
            <description><![CDATA[ So I updated to 1.12a and unfortunately it hasn't changed.<br />
I tried connecting from different PC in the same net, from an IPad (with chrome) and from a laptop (with static IP) connected directly to Duet via ethernet cable.<br />
Everywhere the result is the same.<br />
I'll try with nano router yet but have no faith in it.<br />
<br />
Can you reproduce it? Is it worth to try earlier firmware versions?]]></description>
            <dc:creator>IOI</dc:creator>
            <category>Duet</category>
            <pubDate>Fri, 20 May 2016 07:07:36 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?416,664894,665718#msg-665718</guid>
            <title>Re: Duet web control 1.11 &quot;invalid password&quot;</title>
            <link>https://reprap.org/forum/read.php?416,664894,665718#msg-665718</link>
            <description><![CDATA[ Thanks for the M122 listings. I was hoping they would show that some resource has been exhausted, but they don't.<br />
<br />
When the problem happens, have you tried closing the browser tab and connecting from a new one, or a different browser? Have you tried connecting from a different PC/tablet/smartphone? The results may give clues about what is going on.<br />
<br />
I'll see if I can reproduce the problem. Please upgrade to firmware 1.12a just in case it changes anything.]]></description>
            <dc:creator>dc42</dc:creator>
            <category>Duet</category>
            <pubDate>Thu, 19 May 2016 13:19:45 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?416,664894,665648#msg-665648</guid>
            <title>Re: Duet web control 1.11 &quot;invalid password&quot;</title>
            <link>https://reprap.org/forum/read.php?416,664894,665648#msg-665648</link>
            <description><![CDATA[ I did some more tests, It looks like there is something wrong with the network thing, it doesn't also reconnect via filezilla and also returns "login incorrect".<br />
<br />
It pings ok from cmd.<br />
<br />
I really havent messed up login data:)<br />
<br />
Serial monitor's answer to M552 is ok:<br />
<br />
///<br />
Network is enabled, configured IP address: 0.0.0.0, actual IP address: 10.0.0.64, HTTP port: 80<br />
ok<br />
///<br />
<br />
I'll try with fixed IP just out of the blue.<br />
edit: fixed IP makes no difference]]></description>
            <dc:creator>IOI</dc:creator>
            <category>Duet</category>
            <pubDate>Thu, 19 May 2016 10:02:53 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?416,664894,665633#msg-665633</guid>
            <title>Re: Duet web control 1.11 &quot;invalid password&quot;</title>
            <link>https://reprap.org/forum/read.php?416,664894,665633#msg-665633</link>
            <description><![CDATA[ Thanks for shedding light!<br />
<br />
I sent M122 via serial monitor and at the beginning there was this (sorry for the length of it):<br />
<br />
/// right after restarting the Duet<br />
<br />
RepRapFirmware for Duet Version 1.12 dated 2016-05-07<br />
<br />
Executing config.g...Done!<br />
Starting network...<br />
RepRapFirmware for Duet is up and running.<br />
Network up, IP=10.0.0.64<br />
FIRMWARE_NAME: RepRapFirmware for Duet FIRMWARE_VERSION: 1.12 ELECTRONICS: Duet 0.85 DATE: 2016-05-07<br />
ok<br />
Diagnostics<br />
Used output buffers: 2 of 32 (7 max)<br />
Platform Diagnostics:<br />
Memory usage:<br />
Program static ram used: 45208<br />
Dynamic ram used: 40160<br />
Recycled dynamic ram: 648<br />
Current stack ram used: 2712<br />
Maximum stack ram used: 3872<br />
Never used ram: 8416<br />
Last reset 00:00:27 ago, cause: power up<br />
Last software reset code &amp; available RAM: 0x0003, 7984<br />
Spinning module during software reset: GCodes<br />
Error status: 0<br />
Bed probe heights: 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000<br />
Free file entries: 10<br />
Longest block write time: 0.0ms<br />
Slowest main loop (seconds): 0.002924; fastest: 0.000190<br />
Move Diagnostics:<br />
MaxReps: 0, StepErrors: 0<br />
Heat Diagnostics:<br />
Heater 1: I-accumulator = 77.4<br />
GCodes Diagnostics:<br />
Move available? no<br />
Stack pointer: 0 of 5<br />
macro is idle<br />
http is idle<br />
telnet is idle<br />
serial is doing "M122"<br />
aux is idle<br />
file is idle<br />
Network Diagnostics:<br />
Free connections: 16 of 16<br />
Free transactions: 24 of 24<br />
Webserver Diagnostics:<br />
HTTP sessions: 1 of 8<br />
FTP connections: 0, state 0<br />
Telnet connections: 0, state 0<br />
ok<br />
<br />
/// End of M 122 after restarting<br />
<br />
Now I print gcode in DWC (google chrome, from PC), let it work for a while and pause.<br />
Then I hit disconnect, wait a few seconds and hit connect. <br />
It asks for a password, replies nicely that the password is invalid and refuses to connect DWC.<br />
The machine can be controlled from serial monitor, G28, G1 X100 etc everything works.<br />
<br />
M122 sent after th looks like this:<br />
<br />
Diagnostics<br />
Used output buffers: 1 of 32 (19 max)<br />
Platform Diagnostics:<br />
Memory usage:<br />
Program static ram used: 45208<br />
Dynamic ram used: 40160<br />
Recycled dynamic ram: 648<br />
Current stack ram used: 2712<br />
Maximum stack ram used: 5436<br />
Never used ram: 6852<br />
Last reset 00:14:38 ago, cause: power up<br />
Last software reset code &amp; available RAM: 0x0003, 7984<br />
Spinning module during software reset: GCodes<br />
Error status: 0<br />
Bed probe heights: 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000<br />
Free file entries: 9<br />
Longest block write time: 0.0ms<br />
Slowest main loop (seconds): 0.003113; fastest: 0.000122<br />
Move Diagnostics:<br />
MaxReps: 0, StepErrors: 0<br />
Heat Diagnostics:<br />
GCodes Diagnostics:<br />
Move available? no<br />
Stack pointer: 0 of 5<br />
macro is idle<br />
http is idle<br />
telnet is idle<br />
serial is doing "M122"<br />
aux is idle<br />
file is idle<br />
Network Diagnostics:<br />
Free connections: 16 of 16<br />
Free transactions: 24 of 24<br />
Webserver Diagnostics:<br />
HTTP sessions: 0 of 8<br />
FTP connections: 0, state 0<br />
Telnet connections: 0, state 0<br />
ok<br />
<br />
I'm not sure but it look ok.<br />
Perhaps DWC is guilty, does anybody have the same problem with reconnecting?<br />
<br />
Peter]]></description>
            <dc:creator>IOI</dc:creator>
            <category>Duet</category>
            <pubDate>Thu, 19 May 2016 09:34:07 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?416,664894,665565#msg-665565</guid>
            <title>Re: Duet web control 1.11 &quot;invalid password&quot;</title>
            <link>https://reprap.org/forum/read.php?416,664894,665565#msg-665565</link>
            <description><![CDATA[ It sounds like a firmware issue to me. I've noticed that DWC reports "invalid password" whenever it gets an error response from the connect message. The error response doesn't necessarily mean that the password is wrong, it could mean that the client table is full or the firmware has run out of buffers.<br />
<br />
Chrishamm maintains the networking code, so he is best placed to work out exactly what is going wrong. One thing that might be helpful is to connect Pronterface, then when this happens again send M122 to get the diagnostics.]]></description>
            <dc:creator>dc42</dc:creator>
            <category>Duet</category>
            <pubDate>Thu, 19 May 2016 06:21:36 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?416,664894,665543#msg-665543</guid>
            <title>Re: Duet web control 1.11 &quot;invalid password&quot;</title>
            <link>https://reprap.org/forum/read.php?416,664894,665543#msg-665543</link>
            <description><![CDATA[ I have also a couple of 0.6 duets and checked them this morning  but the same thing happens. I'm going to try earlier DC42 firmware and DWC. If Duet board makes no difference the problem must be either in my setup or in the firmware itself.]]></description>
            <dc:creator>IOI</dc:creator>
            <category>Duet</category>
            <pubDate>Thu, 19 May 2016 04:52:32 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?416,664894,664894#msg-664894</guid>
            <title>Duet web control 1.11 &quot;invalid password&quot;</title>
            <link>https://reprap.org/forum/read.php?416,664894,664894#msg-664894</link>
            <description><![CDATA[ I have a small issue and because I haven't found any solution or topics on it, probably this is an isolated evil case.<br />
Sometimes when I disconnect from web GUI and try to reconnect after a while, it pops up "invalid password" thus rendering the print uncontrollable.<br />
I tried from different computers and devices but unfortunately the only help is Duet restart.<br />
<br />
I've got Duet 0.85 with DC42 1.12 and DWC 1.11 installed.<br />
The printer and PC is attached to a router. At the beginning everything seems ok.<br />
<br />
edit: this happens only when trying disconnect/reconnect while printing, when printer is not busy everything looks fine.<br />
<br />
Does anybody share this experience?<br />
<br />
Basically it looks like this:<br />
<br />
1. Connect via DWC works ok, everything works.<br />
2. Duet is idle, the machine does not print, disconnecting and connecting again works ok.<br />
3. Normal gcode print starts as should be, machine is printing.<br />
4. I disconnect DWC<br />
5. Any attempt of reconnecting ends with "invalid password" message. Even when the password line is commented out.<br />
6. The only way to regain control via DWC is to reset duet.<br />
<br />
7. Even if the print is started, then paused and cancelled and after that you disconnect the DWC it's not possible to reconnect, it claims a password and then rejects it  with "invalid password" message.<br />
<br />
Now resetting duet is not really a great option :)]]></description>
            <dc:creator>IOI</dc:creator>
            <category>Duet</category>
            <pubDate>Tue, 17 May 2016 13:37:03 -0400</pubDate>
        </item>
    </channel>
</rss>
