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

    DWC fails to download plugin

    Scheduled Pinned Locked Moved Solved
    Plugins for DWC and DSF
    4
    12
    393
    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.
    • Nova1545undefined
      Nova1545 @Phaedrux
      last edited by Nova1545

      @Phaedrux Just as I finished typing out a "It just fixed itself" reply, it breaks itself again. I have updated to 3.4.5 and it has not resolved the issue.
      The code used in the extension is below

      'use strict'
      
      console.log("Test");
      
      const x = async () => {
          const req = await fetch(`${window.location.origin}/rr_model?flags=d99fn`, {method: "GET"});
          if (req.status === 200) {
              const data = await req.json();
              console.log(data);
          }
      }
      x();
      //setInterval(() => {x()}, 1000);
      

      This code loads and runs fine when I run it in a instance built straight from the github Correction: It works when loaded as a built-in plugin

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

        @Nova1545 How do you built the plugin? Are you using the build-plugin command from DWC to generate a ZIP file? Note that external plugins cannot be loaded in dev mode.

        Duet software engineer

        Nova1545undefined 1 Reply Last reply Reply Quote 0
        • Nova1545undefined
          Nova1545 @chrishamm
          last edited by

          @chrishamm Yes it is built using build-plugin

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

            @Nova1545 If the connection is reset while loading a file, you probably have a problem with the connection between your PC and Duet. I guess you are operating your Duet in standalone mode? What board do you have? If it is a WiFi board, have you checked the WiFi signal yet?

            Duet software engineer

            Nova1545undefined 1 Reply Last reply Reply Quote 0
            • Nova1545undefined
              Nova1545 @chrishamm
              last edited by Nova1545

              @chrishamm Duet 3 Mini 5+ in standalone mode, connected via ethernet. The file also loads perfectly fine if I copy the link and open and view it in a normal browser tab.

              To add insult to injury, other plugins (Such as the EndstopsMonitor and HeightMap) are showing a similar behaviour. However, it's only the plugins having any issues, the DWC interface otherwise loads and works perfectly fine.

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

                @Nova1545 Maybe an issue with an adblocker? Try to disable your browser addons.

                Duet software engineer

                Nova1545undefined 1 Reply Last reply Reply Quote 0
                • Nova1545undefined
                  Nova1545 @chrishamm
                  last edited by

                  @chrishamm Yes it was, didn't even think to try disabling that. Thanks!

                  stuartofmtundefined 1 Reply Last reply Reply Quote 1
                  • chrishammundefined chrishamm marked this topic as a question
                  • chrishammundefined chrishamm has marked this topic as solved
                  • stuartofmtundefined
                    stuartofmt @Nova1545
                    last edited by

                    @Nova1545

                    FWIW - I moved away from using browser based add blockers and now use pihole. Because it blocks add requests before they leave for the internet it has multiple benefits.

                    Nova1545undefined 1 Reply Last reply Reply Quote 0
                    • Nova1545undefined
                      Nova1545 @stuartofmt
                      last edited by

                      @stuartofmt I currently use both (Pi-hole doesn't work for some sites, even after adding the domains they use for ads), I will just add an excpetion to the ad-block for the duet page

                      stuartofmtundefined 1 Reply Last reply Reply Quote 0
                      • stuartofmtundefined
                        stuartofmt @Nova1545
                        last edited by

                        @Nova1545 said in DWC fails to download plugin:

                        @stuartofmt I currently use both (Pi-hole doesn't work for some sites, even after adding the domains they use for ads), I will just add an excpetion to the ad-block for the duet page

                        Yeah - I hear you. And not much to be done when the adds are resolved at the server end. Personally, I was lucky to even get away with pihole. SWMBO still gets annoyed with the "sponsored" search results not being accessible, 🙄

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