3.2 JSON Parse error: Unrecognized token '<' Password bug
-
@chrishamm said in 3.2 JSON Parse error: Unrecognized token '<':
The JS files are bundled by Webpack into very few files to accelerate the initial page load.
I don't know what this message from @chrishamm means.
I'm guessing that when the firmware is built a bunch of these files get packed together somehow, renamed and put somewhere on the Duet.
Sorry I'm not better versed in the Internets-part of 3D printing.
-
Neither do I.
No worries! You've been super helpful, and way more knowledgeable than myself! I greatly appreciate your time.
Since changing the browser or removing the password GCode fixed this issue, Im super happy.
-
Hello Guys,
have the same Problem.
Updated to the latest RFF Version since 2-3 Days and now i always get this error!I already uploaded the whole ZIP file again, deleted all gcodes files on the Duet Webinterface but nothing works.
Created also a new Thread here:https://forum.duet3d.com/topic/21024/json-error-and-connection-drops/4
I am using Google Chrome and get this error, so i think it is not a Browser Problem..
Kind Regards
-
@xenon2008 do you happen to have a m551 in your config setting a password. The last person who was having problems removed it and it worked. Wonder if there is an issue with passwords.
-
hmmm thats an idea, i really had an password in my DWC!
i will try this as soon as i'm at home at the printer!
Thanks alot! -
Good Evening,
sorry for the late Reply, but i must work every Day so long..
i now have commented out the Passwort in den config.g and rebooted my Duet 2 Wifi.
Currently i run a testprint, and have a look, but until yet it looks good. I hope it stays that way!But if so, what i or we can do, so that i can use a Password Protection without any Errors?
-
Did your password contain any special characters? Can you test a simple password?
-
@Phaedrux
No it is only a lowercase Word, nothing special -
Good Morning!
Since i have uncommented the Password Line in the config.g it seems to work?
How can i report this as a Bug?
-
@xenon2008 Consider it reported. Thanks.
@chrishamm will be glad you were able to replicate it.
-
I'm sorry but I'm having trouble reproducing this issue. It's all working as expected on Windows (Firefox), Linux (Chromium), and OS X (Safari). Can you confirm that you are using RRF 3.2 and DuetWiFiServer 1.25?
-
@chrishamm
Yes i can Confirm:
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.2 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2021-01-05Tested with Google Chrome in Windows 10 x64 & on a Android Phone.
-
Hi,
I'm running 3.2 on a Duet 3 Mini 5
I didn't have M551 so I added it and rebooted.
DWC came up, asked for PW, entered PW - no issues.
I removed M551 and rebooted.
DWC came up - no issues.
Using most recent Chrome.
Frederick
-
@xenon2008 can you provide the actual config.g that provokes the error? Maybe there's a special character or something in there.
-
Sure, should i PM this?
-
if you're concerned about sharing the password, sure. You can zip it up and email it to jason@duet3d.com
-
Hi, i am again!
Is it possible that its a PrusaSlicer issue?
I send the GCODE direct from PrusaSlicer to the Duet, and then i get this error if i click on "Jobs".I also tried to give a simple Name like Test.gcode to Upload to the DWC, with no other caracters...
-
Hi i am again,
It really looks like the Error comes from PrusaSlicer....
I have now updated to the latest Version from PrusaSlicer (2.3.0) but it is the same.
If i upload the Gcode direct from the Slicer i get the Error on the Webinterface.
BUT if i see this right, i get this error only then when the Passwort for the DWC is active, without i get no error until yet.So we have now to find out, if this is a PrusaSlicer or a DWC behavior.
Each time i upload a Gcode, also i have a dissconnect and a reconnect on the DWC, but without a Passwort dialog, even when the Password protection is enabled:
Hope this helps a little bit.
Kind Regards from Austria
EDIT:
maybe this also would be helpful:
https://forum.duet3d.com/topic/20992/prusaslicer-dwc-disconnect-on-upload-test/6 -
Hello together!
Is there any Update?
I made also a Thread on Github on the PrusaSlicer Page.
Link to the Thread:
https://github.com/prusa3d/PrusaSlicer/issues/5877Kind Regards
-
I have just tested this. I find that if I upload from PrusaSlicer 2.3.0 and I have DWC open to the printer on the same PC, It reports "JSON.parse: unexpected character at line 1 column 1 of the JSON data", disconnects briefly, and reconnects immediately.
I will look into the reason for the disconnection.