I have run in to frustrating issues with DWC since upgrading one of my Duet 2 Wifi boards from 2.05.1 to 3.4.6 (currently running 3.5.0-rc.2) for accelerometer based input shaping. I followed the recommended upgrade path of 2.05.1>>3.0>>3.3>>3.46 and all was working well for about a week. After about a week of solid operation I was suddenly unable to upload any files, gcode or system. I then started experiencing connection issues with DWC where DWC would randomly lose connection and after refreshing the page it would return "ERR_EMPTY_RESPONSE". I would then have to power cycle the printer to be able to connect DWC again. I verified the board never lost connection to my network via my router, just DWC failed to maintain connection. Frustratingly, I am randomly able to upload files every now and then, but these periods are intermittent and I have not been able to identify a pattern. I also had issue making updates to my config.g file as the upload of the saved changes would fail and my config.g file disappeared entirely, necessitating pulling the SD card and loading it back on the card. Hoping the issue was just with 3.4.6, I upgraded to 3.5.0-rc1 to see if this resolved the issue, but the results were the same. RC2 was released shortly after and I upgraded to it hoping it would resolve the issues. Since upgrading to 3.5.0-rc.2 I have been able to isolate the "ERR_EMPTY_RESPONSE" to occurring when I have a DWC session open on more than one device (I used to be able to have sessions open on my phone, desktop, laptop simultaneously without issue). The file upload issue has persisted, along with few and far between periods of successful uploads. I have swapped multiple SD cards with the same behavior. I have another machine still running 2.05.1 firmware which does not have these issues, sessions stay connected and I have no issue uploading files.
Thanks in advance for any assistance, I've always enjoyed my Duet boards and the ability to control and upload files remotely, but these issues have made my machine so inconvenient to use.
1/8/2024, 12:49:26 PM M115
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.5.0-rc.2 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2023-12-14 10:30:41
1/8/2024, 12:49:54 PM M122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 3.5.0-rc.2 (2023-12-14 10:30:41) running on Duet WiFi 1.02 or later
Board ID: 08DLM-996RU-N85T0-6J9FL-3SN6Q-1SV7R
Used output buffers: 3 of 26 (14 max)
=== RTOS ===
Static ram: 23084
Dynamic ram: 74916 of which 12 recycled
Never used RAM 15132, free system stack 184 words
Tasks: NETWORK(2,nWait,24.0%,221) HEAT(3,nWait,0.1%,328) Move(4,nWait,0.0%,363) MAIN(1,running,74.8%,751) IDLE(0,ready,1.1%,29), total 100.0%
Owned mutexes:
=== Platform ===
Last reset 00:01:24 ago, cause: power up
Last software reset at 2024-01-07 12:40, reason: User, Gcodes spinning, available RAM 12360, slot 0
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x00
MCU temperature: min 22.2, current 26.4, max 26.5
Supply voltage: min 24.0, current 24.2, max 24.3, under voltage events: 0, over voltage events: 0, power good: yes
Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
Events: 0 queued, 0 completed
Driver 0: standstill, SG min n/a
Driver 1: standstill, SG min n/a
Driver 2: standstill, SG min n/a
Driver 3: standstill, SG min n/a
Driver 4: standstill, SG min n/a
Driver 5:
Driver 6:
Driver 7:
Driver 8:
Driver 9:
Driver 10:
Driver 11:
Date/time: 2024-01-08 12:49:53
Cache data hit count 2763525259
Slowest loop: 6.54ms; fastest: 0.20ms
I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
=== Storage ===
Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest read time 2.5ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 83, segments created 0, maxWait 0ms, bed compensation in use: none, height map offset 0.000, max steps late 0, ebfmin 0.00, ebfmax 0.00
no step interrupt scheduled
Moves shaped first try 0, on retry 0, too short 0, wrong shape 0, maybepossible 0
=== DDARing 0 ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
Heater 2 is on, I-accum = 0.0
=== GCodes ===
Movement locks held by null
HTTP is idle in state(s) 0
Telnet is idle in state(s) 0
File is idle in state(s) 0
USB is idle in state(s) 0
Aux is idle in state(s) 0
Trigger is idle in state(s) 0
Queue is idle in state(s) 0
LCD is idle in state(s) 0
Daemon is idle in state(s) 0
Autopause is idle in state(s) 0
Q0 segments left 0
Code queue 0 is empty
=== Filament sensors ===
check 0 clear 271225
Extruder 0 sensor: ok
=== Network ===
Slowest loop: 6.47ms; fastest: 0.00ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
HTTP sessions: 1 of 8
=== WiFi ===
Interface state: active
Module is connected to access point
Failed messages: pending 0, notrdy 0, noresp 0
Firmware version 2.1beta6
MAC address
Module reset reason: Turned on by main processor, Vcc 3.44, flash size 2097152, free heap 31664
WiFi IP address 192.168.1.7
Signal strength -67dBm, channel 11, mode 802.11n, reconnections 0
Clock register 00002002
Socket states: 0 0 0 0 0 0 0 0