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

Unable to Edit Config Files in Duet Web Control

Scheduled Pinned Locked Moved
General Discussion
5
24
2.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.
  • undefined
    DeltaCon
    last edited by 15 Sept 2017, 13:05

    Only concerning the not being able to edit configfiles I can say that I have seen that, sometime after updating from 1.17e to something newer I believe, I have been struggling with that for an hour or so, left it with that, and after a good night sleep all suddenly worked okay again… I know this is not helpful, but at least you know that not being able to edit could be due to a firmware upgrade (or more likely the DWC upgrade).

    If you think trial and error is dangerous, try routine. That's even more so!

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 16 Sept 2017, 06:21

      Yes, this sort of problem could possibly be caused by using incompatible DWC and firmware versions. That's why I suggested recreating the /www folder.

      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
      • undefined
        davidbitton
        last edited by 16 Sept 2017, 16:17

        dc42,
        I'm not the only one here reporting this problem. I'll grab another switch and setup a dedicated network with my laptop to see if that does it however confidence is low.

        1 Reply Last reply Reply Quote 0
        • undefined
          davidbitton
          last edited by 16 Sept 2017, 17:53

          OK. I grabbed a 10/100 switch off the shelf and created a two host network between my Macbook Pro and the Duet Ethernet. Both machines have manually configured IP addresses. I am still receiving the same errors in the browser and I still cannot edit a system file in web control. Like before, the failure associated with the editing of the file causes the web control app to loose connection to the Duet. This screenshot was taken just after the app lost its connection.

          1 Reply Last reply Reply Quote 0
          • undefined
            Dougal1957
            last edited by 16 Sept 2017, 17:55

            can you show a screen shot of the General page of the Settings tab please?

            1 Reply Last reply Reply Quote 0
            • undefined
              davidbitton
              last edited by 16 Sept 2017, 20:15

              As requested:

              1 Reply Last reply Reply Quote 0
              • undefined
                Dougal1957
                last edited by 17 Sept 2017, 06:39

                ok next request can you take a screen shot of the contents of the WWW Directory you can use a FTP Client to get it if you dont want to remove the SD Card? I have a hunch but don't really want to elaborate for fear of sending you down the garden path.

                Doug

                1 Reply Last reply Reply Quote 0
                • undefined
                  davidbitton
                  last edited by 17 Sept 2017, 13:17

                  as requested. at some point, i reformatted the SD card and reloaded the data. The www folder should just be the contents of the web control .zip file.

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    davidbitton
                    last edited by 17 Sept 2017, 14:05

                    Just as an add-on, I'me getting kicked out of an FTP connection as well.

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      Dougal1957
                      last edited by 17 Sept 2017, 14:39

                      um well that has got me stumped now think you may have to wait on David. My hunch was wrong which is why I didn't want to say anything.

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        dc42 administrators
                        last edited by 17 Sept 2017, 15:56

                        Can you install Wireshark on the Macbook and get a Wireshark trace of the packet exchange when it gives that error?

                        Do you have any other laptop or PC that you can try running DWC on?

                        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
                        • undefined
                          Dougal1957
                          last edited by 17 Sept 2017, 16:02

                          Maybe try installing Chrome I believe that DWC sometimes gets upset with Safari

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            davidbitton
                            last edited by 17 Sept 2017, 21:49

                            Those screenshots are Chrome. Same behavior w/ Safari

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              davidbitton
                              last edited by 17 Sept 2017, 22:08

                              @dc42:

                              Can you install Wireshark on the Macbook and get a Wireshark trace of the packet exchange when it gives that error?

                              Do you have any other laptop or PC that you can try running DWC on?

                              Here are the wireshark results:

                              https://www.dropbox.com/s/jk4lo94m9v66d8p/dwc.pcapng?dl=0

                              I did a hard refresh, then selected the config.g file for editing. Eventually DWC dropped an AJAX error and disconnected from the Duet. Also, you're not going to believe this, but it works in Microsoft Edge running in a Win10 VMware Fusion VM on my Macbook. Hmm.

                              however, after going back to the VM after taking that screenshot, I found DWC – in Edge -- with an AJAX error.

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                davidbitton
                                last edited by 7 Oct 2017, 22:18

                                This still doesn't work. What shall I do now?

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  dc42 administrators
                                  last edited by 8 Oct 2017, 08:46

                                  I'm sorry, I lost track of this thread during the TCT show. I have it on my todo list for next week to look at your Wireshark trace.

                                  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
                                  • First post
                                    Last post
                                  Unless otherwise noted, all forum content is licensed under CC-BY-SA