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

    DWC 3.5.1 Does NOT Connect with Pi3b+ chromium

    Scheduled Pinned Locked Moved
    Duet Web Control
    5
    20
    474
    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.
    • Phaedruxundefined
      Phaedrux Moderator @airscapes
      last edited by

      @airscapes said in DWC 3.5.1 Does NOT Connect with Pi3b+ chromium:

      The os is old on the pi

      Update your pi?

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 1
      • achrnundefined
        achrn @airscapes
        last edited by

        @airscapes My Pi 3 B+ (Rev 1.3) running Raspbian 11 (bullseye) running Chromium 101 connects fine to my Mini 5+ running standalone 3.5.1 (and also to my 6HC running SBC mode 3.5.1 with a DuetPi 12 (bookworm)). I don't think it's anything intrinsic to 3.5.1 for all Pi 3.

        I don't often connect to either printer from this Pi (in fact, I don't often use this Pi - I just plugged it in out of interest following your post). It's not very up-to-date (apt says 280 packages can be updated) and it's a fairly default set of packages.

        Have you tried some cache-bypassing refreshes (shift-F5, sometimes multiple times) ?

        airscapesundefined 1 Reply Last reply Reply Quote 0
        • airscapesundefined
          airscapes @achrn
          last edited by

          It is not the Pi it is the Firmware or board. I just booted up the Duet 3 and could not connect with pi or windows. Power cycled again and this time windows would connect but still no pi.
          Can I install 3.4.6 without wiping out my config? Do not feel like trouble shooting this as 3.4.6 works fine on the Duet 2.

          droftartsundefined 1 Reply Last reply Reply Quote 0
          • droftartsundefined
            droftarts administrators @airscapes
            last edited by

            @airscapes try clearing cache on the browser, then reload the page.

            Ian

            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

            airscapesundefined 1 Reply Last reply Reply Quote 0
            • airscapesundefined
              airscapes @droftarts
              last edited by airscapes

              @droftarts I have done that a dozen times. I will use a different sd card and reload a current pi OS without octoprint to see if that corrects the issue. However, when the duet 2 has worked perfectly at 3.4.6 you have to ask yourself how it the browser..
              So just now booted both machines and connected to both from windows 10 using chrome.
              I went to developer tools (no idea what any of this stuff means but error are bad in my book)
              So in console I refreshed each page
              This is 3.4.6
              476498d0-3668-48ca-a244-96a005d33e9f-image.png

              If I do the same on 3.51 duet 3 mini I get this
              6f8fce30-9676-45b5-9aeb-7a4e6108fd5a-image.png

              Now if I refresh again just the single error.. Yes cable is good, been replaced and verified with cable tester.Have also used different ports on the swithch. should have gone with 3.4.6.. one month old firmware is always a crap shoot no matter who the manufacture is..

              droftartsundefined chrishammundefined 2 Replies Last reply Reply Quote 0
              • droftartsundefined
                droftarts administrators @airscapes
                last edited by droftarts

                @airscapes It looks like it's missing a file, hence the 404 error:
                6a699510-001f-4b92-8169-cb1c01dbf880-image.png

                Though this is looking for sys/dwc-plugins.json. I think this is used in older versions of DWC, I don't have it on my RRF/DWC v3.5.1 SD card at all. I can find it in my backups from 2020, so I'd guess either there's an old incompatible version of DWC, or files are missing/corrupt.

                Try replacing the contents of the www folder on the SD card with the contents of "DuetWebControl-SD.zip" from https://github.com/Duet3D/RepRapFirmware/releases/tag/3.5.1

                3.5.1 has, for the most part, been very reliable; it had extensive testing through beta and rc versions. But YMMV. Yes, you can downgrade to 3.4.6 if you want.

                Edit: Though I doubt this error will disappear by just downgrading the firmware, as it is related to the version of DWC on the SD card.

                Ian

                Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                airscapesundefined 2 Replies Last reply Reply Quote 1
                • airscapesundefined
                  airscapes @droftarts
                  last edited by

                  @droftarts Ok cool. I will grab that file and see what happens!

                  1 Reply Last reply Reply Quote 0
                  • airscapesundefined
                    airscapes @droftarts
                    last edited by

                    @droftarts I assume that since that is the DWC directory I have to remove the sd card from the board and mount it on a windows machine to remove the content of the WWW dir and replace it ??

                    droftartsundefined 1 Reply Last reply Reply Quote 0
                    • droftartsundefined
                      droftarts administrators @airscapes
                      last edited by

                      @airscapes You said "I can connect fine from a windows 10 with chrome or Opera." What version of DWC does that report? Check in Settings > General. You should be able to upload the 3.5.1 "DuetWebControl-SD.zip" in DWC, in Files > System > Upload system files.

                      Otherwise, yes, remove the SD card and replace the contents of the www folder with the content of the "DuetWebControl-SD.zip" file.

                      After doing this, reload the browser window too.

                      Ian

                      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                      airscapesundefined 1 Reply Last reply Reply Quote 0
                      • airscapesundefined
                        airscapes @droftarts
                        last edited by

                        @droftarts OK thanks! It shows the correct version 3.5.1.
                        I will get back to this later today.

                        droftartsundefined 1 Reply Last reply Reply Quote 0
                        • droftartsundefined
                          droftarts administrators @airscapes
                          last edited by droftarts

                          @airscapes said in DWC 3.5.1 Does NOT Connect with Pi3b+ chromium:

                          @droftarts OK thanks! It shows the correct version 3.5.1.

                          Okay, that’s odd. It feels like something has got stuck on the Raspberry pi, whether cookie or downloaded content, and is trying to load an old version of DWC. I think @chrishamm may need to help you on this one.

                          Does everything work correctly on Windows 11?

                          Ian

                          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                          airscapesundefined 1 Reply Last reply Reply Quote 0
                          • airscapesundefined
                            airscapes @droftarts
                            last edited by airscapes

                            @droftarts said in DWC 3.5.1 Does NOT Connect with Pi3b+ chromium:

                            @airscapes said in DWC 3.5.1 Does NOT Connect with Pi3b+ chromium:

                            @droftarts OK thanks! It shows the correct version 3.5.1.

                            Okay, that’s odd. It feels like something has got stuck on the Raspberry pi, whether cookie or downloaded content, and is trying to load an old version of DWC. I think @chrishamm may need to help you on this one.

                            Does everything work correctly on Windows 11?

                            Ian

                            Don't have win 11.. well wife does so I can check.
                            I just reloaded the zip file, no change..
                            I went into the developers console on the pi browser and this is what it shows for the blank page it loads
                            cd549864-7d77-4e54-ace6-ca1efdc78227-image.png

                            Win 11 works but console shows this error

                            a56466bc-dd0d-4f95-b3d6-e26b596cf52a-image.png

                            droftartsundefined 1 Reply Last reply Reply Quote 0
                            • droftartsundefined
                              droftarts administrators @airscapes
                              last edited by

                              @airscapes Sorry, I meant Windows 10, as you'd mentioned in your first post.

                              It's really going to need @chrishamm to look at these errors. I don't get anything in the console, even on a page reload. And I really don't know why it's looking for the dwc-plugins.json file. Do you using any external plugins?

                              Ian

                              Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                              airscapesundefined 1 Reply Last reply Reply Quote 0
                              • airscapesundefined
                                airscapes @droftarts
                                last edited by

                                @droftarts The new Pi OS install works. So must be something new or removed from the Http server that makes it incompatible with that old OS. With the full blown OS on the old Pi3b+ it is annoyingly slow but once booted and connected it works.

                                droftartsundefined 2 Replies Last reply Reply Quote 0
                                • droftartsundefined
                                  droftarts administrators @airscapes
                                  last edited by

                                  @airscapes Do you still get any messages in the browser console?

                                  Ian

                                  Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                                  airscapesundefined 1 Reply Last reply Reply Quote 0
                                  • droftartsundefined
                                    droftarts administrators @airscapes
                                    last edited by

                                    @airscapes I had a thought. Did you copy the sys folder, or configuration, from another machine? If so, you possibly copied the dwc-settings.json file as well. I think this may be causing the problem, as it's the only file stored on the SD card that relates to DWC and it's settings. Try renaming it to old-dwc-settings.json, then reloading DWC in the browser.

                                    Ian

                                    Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                                    1 Reply Last reply Reply Quote 0
                                    • airscapesundefined
                                      airscapes @droftarts
                                      last edited by airscapes

                                      @droftarts I get the same message as with windows browser.. unfortunately this 64bit version of the OS is unusable for browsing. trying to reload with 32bit to see if that make it usable. May need to just install current octoprint since that is typically stripped down.

                                      Update: legacy 32bit pi OS is functional enough for my purpose and both Duet 2 and Duet 3 work. Sorry for waste of time 😞 Should know better to update all things involved before looking for bugs in any one thing.

                                      1 Reply Last reply Reply Quote 0
                                      • chrishammundefined
                                        chrishamm administrators @airscapes
                                        last edited by

                                        @droftarts The files dwc-settings.json, dwc-cache.json, and dwc-plugins.json are optional, so this is no error.

                                        @airscapes As @Phaedrux suggested, try to update the OS of your Pi to the latest Bookworm-based image, then DWC will work. It's likely that your current browser is too old and it fails to render DWC correctly.

                                        Duet software engineer

                                        airscapesundefined 1 Reply Last reply Reply Quote 0
                                        • airscapesundefined
                                          airscapes @chrishamm
                                          last edited by

                                          @chrishamm Yes, as I said in previous post, the current 64bit OS was dog slow on this old pi, so reinstalled an older 32bit version and all works as it does on windows.
                                          2b24d0b5-bebd-4809-914d-cf49cd635833-image.png

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