Unsolved DWC2 Uploading large Gcode files results in network error
-
- WiFi -
Network state is running
WiFi module is connected to access point
Failed messages: pending 0, notready 0, noresp 1
WiFi firmware version 1.23
WiFi MAC address 80:7d:3a:3f:f5:64
WiFi Vcc 3.42, reset reason Turned on by main processor
WiFi flash size 4194304, free heap 18600
WiFi IP address 192.168.101.136
WiFi signal strength -57dBm, reconnections 0, sleep mode modem
Socket states: 2 2 0 0 0 0 0 0
- WiFi -
-
I tried both with chrome and with edge
browser give me this:
CURA give me this:
-
Both error messages mean that the connection is interrupted while an upload is in progress. You can try to change your WiFi channel and check if that makes a difference. Also, if you can, move your printer closer to your WiFi access point and check if you can upload files then.
This guide may give you further hints on how to resolve this problem.
-
Thank you,
in the evening I will carry out checks on the channel. The printer is a fair distance from the access point.
With the current situation and DWC1 I have no problem and the upload is very fast. -
Are you able to get a WireShark trace of a failed upload? That might help us diagnose the problem.
-
@dc42
I can try -
@chrishamm
@dc42
Ok, I changed the channel but it didn't help, I moved the printer 1 meter sideways and now I can upload a 30 MB file without errors. I intend to restore the previous position and analyze with wireshark to understand the cause of the problem, the printer is about 5 meters from an ubiquiti mounted on the ceiling without obstacles, in both positions.
Thanks for the support, as soon as I have the wireshark trace I will upload it. -
@chrishamm said in DWC2 Uploading large Gcode files results in network error:
Please try to upgrade to DWC 2.0.5. The new version no longer relies on the "axios" library for HTTP calls but uses native AJAX calls instead, so I hope this will solve your problem.
I've haven't been able to test it for a while, but I've since upgraded to 2.0.7 and while I do have a higher success rate, the odd time the upload still fails.
I've attached 3 wireshark traces of failed uploads here: https://1drv.ms/u/s!AgTPtiCYHi3hh8oNZ5d6wYz7VkdVzQ?e=pKpMUd
-
@danzaywer said in DWC2 Uploading large Gcode files results in network error:
I moved the printer 1 meter sideways
Welcome to the vaugeries of wireless.
-
@jrjones88 Thanks for the Wireshark dumps but I'm afraid they show that your PC sends bad packets and not the Duet. There are a couple of out-of-order packets from your AsRock network card and some other retransmissions.
I suggest you perform the steps on this site and if it does not help, try upgrading the drivers of your network card.
In addition, I tried to upload a 160MB test file from Firefox and Chromium to my Duet WiFi. None of the transfers failed with DWC 2.0.7.
-
I am having the same problem, just started out of nowhere.
worked perfect for months, 3 days after installing RRF3 having problems. -
@Benny I suggest starting a new thread and include details about your setup including what board, what firmware and DWC version exactly. Also the output of M122 and your config file for good measure.
-
No worries think I have sorted, Reset everything, deleted cache and repaired sd card.
Not sure what fixed it.