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

    PrusaSlicer cannot upload to DWC 2.04/RRF 3

    Scheduled Pinned Locked Moved
    Duet Web Control
    12
    27
    3.0k
    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.
    • dc42undefined
      dc42 administrators @chas2706
      last edited by

      @chas2706 said in PrusaSlicer cannot upload to DWC 2.04/RRF 3:

      @dc42

      Yes at one point I suspected that but I cancelled it out after updating my DuetWifi and getting the same issue.

      TBH I'm not particularly bothered because I personally think it is more reliable to upload the file from the DWC rather than uploading to the DWC.

      To confirm: you have the same issue uploading to Duet WiFi? Which firmware version(s)?

      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
      • chas2706undefined
        chas2706
        last edited by

        @dc42

        It worked on RRF2.04 but not since I upgraded to RRF3.

        I have tried deleting the connection details in prusaslicer and re-entering them but the slicer just reports an internal error.

        1 Reply Last reply Reply Quote 0
        • Garfieldundefined
          Garfield
          last edited by

          Had a look at the network request from Prusa and it is GET /rr_connect?password=reprap&time=

          I'm not sure how this works - no username ??

          the js code shows async connect(hostname, username, password) - one of the three is missing.

          This is the text from syslog on the rPi for IP request

          Jan 11 18:14:11 duet3 DuetWebServer[403]:       Request starting HTTP/1.1 GET http://10.100.2.243/rr_connect?password=reprap&time=2020-01-11T18:14:11
          Jan 11 18:14:11 duet3 DuetWebServer[403]: #033[40m#033[32minfo#033[39m#033[22m#033[49m: Microsoft.AspNetCore.Hosting.Diagnostics[2]
          Jan 11 18:14:11 duet3 DuetWebServer[403]:       Request finished in 11.0556ms 404
          

          This is the response using hostname - no difference - the pi is reporting the target rr_connect as inaccessible or unavailable

          Jan 11 19:51:41 duet3 DuetWebServer[403]:       Request starting HTTP/1.1 GET http://duet3.local/rr_connect?password=reprap&time=2020-01-11T19:51:41
          Jan 11 19:51:41 duet3 DuetWebServer[403]: #033[40m#033[32minfo#033[39m#033[22m#033[49m: Microsoft.AspNetCore.Hosting.Diagnostics[2]
          Jan 11 19:51:41 duet3 DuetWebServer[403]:       Request finished in 6.801900000000001ms 404
          
          1 Reply Last reply Reply Quote 0
          • chas2706undefined
            chas2706
            last edited by

            @dc42

            David, please ignore the part reporting Duet Wifi and RRF3. I have found the issue.

            In config.g I have set up a static ip but it is not actually the one in use!
            Using the correct ip address I can confirm that you can upload from prusaslicer to Duet wifi running RRF3.0.

            I think there is a problem though if you using Duet3 and raspberry pi.

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

              @Garfield, thanks for that. I have logged this issue at https://github.com/chrishamm/DuetSoftwareFramework/issues/99.

              dc42 created this issue in chrishamm/DuetSoftwareFramework

              closed Can't upload files from PrusaSlicer #99

              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
              • chrishammundefined
                chrishamm administrators
                last edited by

                DSF uses a different HTTP API than RRF and it looks like PrusaSlicer does not support the new API yet. It may be worth getting back to this once authentification has been fully implemented in DSF. I see no reason to send a PR to PrusaSlicer before that part is complete.

                Duet software engineer

                zaptaundefined 1 Reply Last reply Reply Quote 0
                • Armontroutundefined
                  Armontrout
                  last edited by

                  Any updates to this?> I have a brand new Duet3 setup and it is getting a 404 error when I try to upload from Slic3r. Is there a setup guide, do I need an API key? If so where do i find it?

                  1 Reply Last reply Reply Quote 0
                  • Garfieldundefined
                    Garfield
                    last edited by

                    None that I know of. There's nothing you can do to resolve this short of getting into the code and building your own, unless you know both code bases intimately I wouldn't recommend it.

                    1 Reply Last reply Reply Quote 0
                    • Williamundefined
                      William
                      last edited by William

                      On my Mac, the only way I can get slic3r to upload g-code is to have DWC opened in the background.

                      mendenmhundefined 1 Reply Last reply Reply Quote 0
                      • mendenmhundefined
                        mendenmh @William
                        last edited by

                        @William That is true with slic3r, at least on the Mac, but PrusaSlicer has fixed that issue. I can upload from PrusaSlicer without keeping an open connection in a browser.

                        1 Reply Last reply Reply Quote 0
                        • Thaliosundefined
                          Thalios
                          last edited by

                          I have Prusaslicer, on Mac, uploading direct to Duet 3 with latest firmware. Works as intended.

                          Railcore II 300ZL with lots of upgrades (Duet 3 6HC)
                          Heavily modified Ender 3 Pro (Duet 3 6HC)
                          Heavily modified Tronxy X5SA-500 Pro with Chimera+ and dual bondtech (Duet 3 6HC)
                          CR-10S Pro V2 (Duet 3 Mini 5+)
                          and a bunch of SLA printers..

                          blt3dpundefined 1 Reply Last reply Reply Quote 0
                          • blt3dpundefined
                            blt3dp @Thalios
                            last edited by

                            @Thalios

                            Are you using stand alone or SBC? I believe the issue doesn't occur with stand alone.

                            My 3D Printing YouTube Channel
                            Better Living Through 3D Printing

                            Follow me on Instagram and Twitter
                            Instagram
                            Twitter

                            1 Reply Last reply Reply Quote 0
                            • zaptaundefined
                              zapta @chrishamm
                              last edited by

                              @chrishamm said in PrusaSlicer cannot upload to DWC 2.04/RRF 3:

                              I see no reason to send a PR to PrusaSlicer before that part is complete.

                              @chrishamm, while you interacting with Prusa, can you also ask to increase the PrusaSlicer's timeout for Duet's uploads? Last time I checked it was 10 secs which cause the upload to fail on large prints. A minute or two should be fine.

                              (my upload speed from DWC is ~200KB/s. Using RRF 2)

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