Duet web control connection interrupted
-
I am getting the following error when connecting to the Duet 2 Wifi, after updating to the latest firmware. I get it approximately every 2 minutes if I have a single browser open, but if I open 2 browsers it happens every 5-10 seconds.
Connection interrupted, attempting to reconnect... Operation failed (Reason: Service Unavailable)
M122 === Diagnostics === RepRapFirmware for Duet 2 WiFi/Ethernet version 3.5.1 (2024-04-19 14:40:46) running on Duet WiFi 1.02 or later + DueX5 Board ID: 08DGM-9T6BU-FG3S8-6J1F8-3SJ6S-1BL7H Used output buffers: 3 of 26 (26 max) === RTOS === Static ram: 23256 Dynamic ram: 78508 of which 0 recycled Never used RAM 8260, free system stack 118 words Tasks: NETWORK(1,ready,14.2%,200) HEAT(3,nWait 5,0.1%,328) Move(4,nWait 5,0.0%,258) DUEX(5,nWait 5,0.0%,24) MAIN(1,running,85.5%,743) IDLE(0,ready,0.2%,29), total 100.0% Owned mutexes: === Platform === Last reset 00:16:34 ago, cause: software Last software reset at 2024-05-03 22:27, reason: User, Gcodes spinning, available RAM 8604, slot 0 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a Error status: 0x04 Aux0 errors 0,0,0 MCU temperature: min 38.5, current 40.7, max 41.1 Supply voltage: min 24.0, current 24.0, max 24.3, under voltage events: 0, over voltage events: 0, power good: yes Heap OK, handles allocated/used 99/48, heap memory allocated/used/recyclable 2048/1176/64, gc cycles 0 Events: 0 queued, 0 completed Driver 0: standstill, SG min 166 Driver 1: standstill, SG min 202 Driver 2: ok, SG min 0 Driver 3: standstill, SG min n/a Driver 4: standstill, SG min n/a Driver 5: ok, SG min 0 Driver 6: standstill, SG min n/a Driver 7: standstill, SG min n/a Driver 8: standstill, SG min n/a Driver 9: standstill, SG min n/a Driver 10: Driver 11: Date/time: 2024-05-03 22:43:43 Cache data hit count 4294967295 Slowest loop: 349.38ms; fastest: 0.20ms I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0 === Storage === Free file entries: 7 SD card 0 detected, interface speed: 20.0MBytes/sec SD card longest read time 8.5ms, write time 122.0ms, max retries 0 === Move === DMs created 83, segments created 11, maxWait 964256ms, bed compensation in use: none, height map offset 0.000, max steps late 0, min interval 0, bad calcs 0, ebfmin 0.00, ebfmax 0.00 next step interrupt due in 43 ticks, disabled Moves shaped first try 5, on retry 0, too short 2, wrong shape 2, maybepossible 0 === DDARing 0 === Scheduled moves 27, completed 26, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state 3 === Heat === Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0 Heater 0 is on, I-accum = 0.6 Heater 1 is on, I-accum = 0.5 Heater 3 is on, I-accum = 0.3 === GCodes === Movement locks held by File HTTP is idle in state(s) 0 Telnet is idle in state(s) 0 File is idle in state(s) 44 0 5, running macro 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 2500602 clear 7408764 Extruder 0: pos 2516.48, errs: frame 0 parity 0 ovrun 0 pol 0 ovdue 0 Extruder 1: pos 2160.00, errs: frame 0 parity 0 ovrun 0 pol 0 ovdue 0 Extruder 2: pos 2160.00, errs: frame 0 parity 0 ovrun 0 pol 0 ovdue 0 === DueX === Read count 1, 0.06 reads/min === Network === Slowest loop: 345.81ms; fastest: 0.00ms Responder states: 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.1.0 MAC address cc:50:e3:14:e3:17 Module reset reason: Turned on by main processor, Vcc 3.32, flash size 4194304, free heap 42948 WiFi IP address 192.168.0.90 Signal strength -42dBm, channel 2, mode 802.11n, reconnections 0 Clock register 00002002 Socket states: 0 0 0 0 0 0 0 0
I have attempted to download the firmware again and still the same issue persists.
Product Short Name Version Duet 2 WiFi 2WiFi 3.5.1 Duet WiFi Server n/a 2.1.0 Duet Web Control DWC 3.5.1
Help and TIA!
-
@chrishamm any thoughts?
-
@Gamefanatic3D Do you have a PanelDue connected as well? We're investigating another bug report that might be related. I suspect your object model response exceeds a given size causing random disconnects. You may also find that increasing the AJAX retries on the Settings -> Machine-Specific -> Communication panel to e.g. 4 or 5 may help.
-
@chrishamm Yes, I have a PanelDue. I don't know if it matters, but I am utilizing the CONN_LCD.3 for one of my MFM's.
I did increase the AJAX to 3 before, but I suppose I didn't go high enough. I'll set it to 5 and see how things go.
-
@chrishamm Changing AJAX to 5 seems to have worked.
-