GCODE upload issue after upgrade
-
-
@Phaedrux Shoot, yes, that is what I meant. Apologies.
-
Alright, so we've determined it's not related to the firmware.
Has anything else changed on your network recently?
Normally I'd say SD card, but you've already changed that.
If you can reproduce this consistently it could help to gather a wireshark capture for us to examine.
Capturing your traffic with Wireshark
After starting Wireshark, do the following:
Select Capture | Interfaces
Select the interface on which packets need to be captured. This will usually be the interface where the Packet/s column is constantly changing, which would indicate the presence of live traffic). If you have multiple network interface cards (i.e. LAN card and Wi-Fi adapter) you may need to check with your IT administrator to determine the right interface.
Click the Start button to start the capture.
Recreate the problem. The capture dialog should show the number of packets increasing. Try to avoid running any other internet applications while capturing, closing other browsers, Instant messengers etc.
Once the problem which is to be analyzed has been reproduced, click on Stop. It may take a few seconds for Wireshark to display the packets captured.
Save the packet trace in the default format. Click on the File menu option and select Save As. By default Wireshark will save the packet trace in libpcap format. This is a filename with a.pcap extension. -
@Phaedrux Here is the Wireshark capture. I scrubbed the results to make it easier to see what is going on.
Yeah, everything I am doing I try on both SD cards before posting anything.
IPs:
Desktop: 10.150.10.76
Duet: 10.150.10.40Looking at the results, I am dropping a lot of packets between devices. The router is in the same room as the printer. I have not changed any of the network configuration before or after the software update.
The forum will not allow me to upload a .pcap file type. I might be able to message it to you directly?
I added a CSV version for now.Wireshark output.csv
-
@casperen said in GCODE upload issue after upgrade:
The forum will not allow me to upload a .pcap file type. I might be able to message it to you directly?
You could add a .txt extension to it, or if it's too large, use a cloud storage service.
-
@Phaedrux you have ran into this issue before.
Here it is: Duet Mini Output - filtered.pcap.txt
-
@casperen do you know what RRF and WiFiServer versions you were running when the upload speed was good?
I have a few suggestions:
-
Can you try rolling back RRF to version 3.4.1? We have one other user who reports issues with uploading files since 3.4.2. Keep the WiFi server version at 1.27.
-
Check what channel your router or access point is using. We have seen issues before with low channel numbers, in particular channel 1. If your router doesn't say which channel it is using, you can use a smartphone app such as WiFi Analyser to find out.
-
You could try installing wifi firmware 2.1beta3 from https://github.com/Duet3D/WiFiSocketServerRTOS/releases/tag/2.1beta3.
-
-
@dc42 I was using 3.4.3 and 1.27 when I updated to the latest version.
On a side note. I have been updating two different SD cards during this process to ensure that I test both of those as well(they are different manufacturers formetted fat32, 64K unit size). A few after inserting the card and restarting the print it would hang on the connecting screen and never load. I would have to reformat it once I added it to the computer to check the files. Does this happen often?
Went through the suggestions:
- Reverted the board back to version 3.4.1 but left the WIFI server the same:
This did not work. Same network issue as before on both SD cards.
- My router will allow me to move the channels (I typically move it around to ensure I stay away from what my neighbors are using). It was set to channel 11, move to channel 8 and retested. Receiving the same network issues error and the upload fails. Again tried it on both SD cards with the same result.
3.Updated just the WIFI server to the new version 2.1 beta3:
This fixed the issue. It seems to upload just fine now...but why?
I went back to version 3.4.5 for the main firmware but left the WIFI server version the same. The upload speed is still working great.
Downgraded the WIFI server version back to 1.27, and the slow upload speed returned.
This doesn’t make sense though as it was working before. Maybe my internet provider updated the firmware of my router and that changed something on that side? I am not sure as I haven't changed anything on my end.
Are there any other tests I can do to help in bug fixing the firmware?
-
Just to be thorough, I also went back to 3.4.1 and WIFI server 1.26. Still have an issue with the upload speed. Must be something on the ISP/router side that is creating an issues. You might see some more issues if this is the case.
Looks like upgrading to WIFI server 21.beta 3 fixes it though.
-
-
-
@casperen I'm glad it's fixed. One possibility is that your router installed an automatic update that introduced an incompatibility with the older firmware for the Duet WiFi module.