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

    3.2 JSON Parse error: Unrecognized token '<' Password bug

    Scheduled Pinned Locked Moved
    Beta Firmware
    8
    58
    3.8k
    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.
    • chrishammundefined
      chrishamm administrators
      last edited by

      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?

      Duet software engineer

      xenon2008undefined 1 Reply Last reply Reply Quote 0
      • xenon2008undefined
        xenon2008 @chrishamm
        last edited by

        @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-05

        11a659d5-770e-49f0-a6aa-15b29dafc05c-grafik.png

        Tested with Google Chrome in Windows 10 x64 & on a Android Phone.

        1 Reply Last reply Reply Quote 0
        • fcwiltundefined
          fcwilt
          last edited by

          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

          Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

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

            @xenon2008 can you provide the actual config.g that provokes the error? Maybe there's a special character or something in there.

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • xenon2008undefined
              xenon2008
              last edited by

              Sure, should i PM this?

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

                if you're concerned about sharing the password, sure. You can zip it up and email it to jason@duet3d.com

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • xenon2008undefined
                  xenon2008
                  last edited by

                  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...

                  1 Reply Last reply Reply Quote 0
                  • xenon2008undefined
                    xenon2008
                    last edited by xenon2008

                    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:
                    af9a2ded-7255-41b6-84c9-135216b43b0b-grafik.png

                    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

                    1 Reply Last reply Reply Quote 0
                    • xenon2008undefined
                      xenon2008
                      last edited by

                      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/5877

                      Kind Regards

                      xenon2008 created this issue in prusa3d/PrusaSlicer

                      open JSON Error when Uploading Gcode to Duet 2 Wifi #5877

                      1 Reply Last reply Reply Quote 0
                      • dc42undefined
                        dc42 administrators
                        last edited by

                        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.

                        Duet WiFi hardware designer and firmware engineer
                        Please do not ask me for Duet support via PM or email, use the forum
                        http://www.escher3d.com, https://miscsolutions.wordpress.com

                        1 Reply Last reply Reply Quote 0
                        • dc42undefined
                          dc42 administrators
                          last edited by

                          This is fixed in DWC 3.2.1RC2.

                          Duet WiFi hardware designer and firmware engineer
                          Please do not ask me for Duet support via PM or email, use the forum
                          http://www.escher3d.com, https://miscsolutions.wordpress.com

                          xenon2008undefined 1 Reply Last reply Reply Quote 0
                          • xenon2008undefined
                            xenon2008 @dc42
                            last edited by

                            @dc42 thank you!

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Unless otherwise noted, all forum content is licensed under CC-BY-SA