G-coe from console often leads to disconnected DWC
-
I have it happen to me a couple times this week that DWC always disconnects on certain G-code commands
like today after PID auto tune I did M307 H1 and it always disconnects and I get this error message
JavaScript ErrorA JavaScript error has occurred so the web interface has closed the connection to your board. It is recommended to reload the web interface now. If this happens again, please contact the author and share this error message:
Version: 1.22
Message: Uncaught TypeError: rememberedGCodes.indexOf is not a function
URL: http://hevo.local/js/dwc.js
Line: 1175:69
Error object: {}I also get Invalid password even when I haven't entered anything yet
are these known issues or should I report them on github for DWC?
-
Which versions of main firmware and Duet Web Control are you running?
The "Invalid password" message is a known issue when DWC does an automatic reconnect if you have a password set, which is fixed in DWC version 1.22.1. However, that version of DWC requires firmware 2.02beta1 to work reliably.
-
I am on the latest full release.. 2.01...guess I'll wait to the 2.02 is out of beta and see if it has improved
-
Try this version of the DWC.
https://github.com/dc42/RepRapFirmware/releases/download/2.02beta1/DuetWebControl-1.22.1.zip
You may need to go to the settings page, press load factory defaults, and apply settings. If that doesn't work, try clearing your browser cache, etc.
-
upgraded to 2.02beta and DWC 1.22.1 with the same result
both the error as well as the password problem
-
Go to "Settings" and click "Apply Settings" on the device where you get the disconnection.
-
Maybe this also works here.
Go to settings, List items, and delete all the entries in Default Gcodes, and hit apply.
Credits to @Phaedrux , fixed my issue with disconnect on sending some particular gcode
-
@sigxcpu great! that worked, it is easy to forget