[3.5.0-rc.1] duet web control loosing connection
-
I just installed 3.5.0-rc.1 and duet web control is loosing its connection every 3 to 5 seconds. I tried it with Firefox and Chrome and it happens on both. Downgrading to 3.4.6 did solve the issue.
I remember that this also had happended after I tried 3.5.0-Beta4 some time ago but sadly had no time for further investigation.After updating only the main- and toolboard firmware and letting DWC 3.4.6 untouched showed no resets.
The browser console of chrome shows the following messages while DWC is loosing its connection:
PollConnector.ts:265 GET http://192.168.178.160/rr_model?flags=d99fn 503 (Service Unavailable) (anonymous) @ PollConnector.ts:265 request @ PollConnector.ts:168 updateLoop @ PollConnector.ts:521 doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 reconnect @ PollConnector.ts:390 await in reconnect (async) reconnect @ index.ts:218 await in reconnect (async) wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 onConnectionError @ index.ts:248 wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 se.dispatch @ vuex.esm.js:779 onConnectionError @ index.ts:1013 wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 onConnectionError @ BaseConnector.ts:184 doUpdate @ PollConnector.ts:783 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 reconnect @ PollConnector.ts:390 await in reconnect (async) reconnect @ index.ts:218 await in reconnect (async) wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 onConnectionError @ index.ts:248 wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 se.dispatch @ vuex.esm.js:779 onConnectionError @ index.ts:1013 wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 onConnectionError @ BaseConnector.ts:184 doUpdate @ PollConnector.ts:783 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 reconnect @ PollConnector.ts:390 await in reconnect (async) reconnect @ index.ts:218 await in reconnect (async) wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 onConnectionError @ index.ts:248 wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 se.dispatch @ vuex.esm.js:779 onConnectionError @ index.ts:1013 wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 onConnectionError @ BaseConnector.ts:184 doUpdate @ PollConnector.ts:783 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 PollConnector.ts:265 GET http://192.168.178.160/rr_model?flags=d99fn 503 (Service Unavailable) (anonymous) @ PollConnector.ts:265 request @ PollConnector.ts:168 (anonymous) @ PollConnector.ts:217 Promise.then (async) ce.onload @ PollConnector.ts:215 load (async) (anonymous) @ PollConnector.ts:169 request @ PollConnector.ts:168 updateLoop @ PollConnector.ts:521 doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 reconnect @ PollConnector.ts:390 await in reconnect (async) reconnect @ index.ts:218 await in reconnect (async) wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 onConnectionError @ index.ts:248 wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 se.dispatch @ vuex.esm.js:779 onConnectionError @ index.ts:1013 wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 onConnectionError @ BaseConnector.ts:184 doUpdate @ PollConnector.ts:783 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 reconnect @ PollConnector.ts:390 await in reconnect (async) reconnect @ index.ts:218 await in reconnect (async) wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 onConnectionError @ index.ts:248 wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 se.dispatch @ vuex.esm.js:779 onConnectionError @ index.ts:1013 wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 onConnectionError @ BaseConnector.ts:184 doUpdate @ PollConnector.ts:783 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 reconnect @ PollConnector.ts:390 await in reconnect (async) reconnect @ index.ts:218 await in reconnect (async) wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 onConnectionError @ index.ts:248 wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 se.dispatch @ vuex.esm.js:779 onConnectionError @ index.ts:1013 wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 onConnectionError @ BaseConnector.ts:184 doUpdate @ PollConnector.ts:783 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 PollConnector.ts:265 GET http://192.168.178.160/rr_model?flags=d99fn 503 (Service Unavailable) (anonymous) @ PollConnector.ts:265 request @ PollConnector.ts:168 (anonymous) @ PollConnector.ts:225 setTimeout (async) ce.onload @ PollConnector.ts:224 load (async) (anonymous) @ PollConnector.ts:169 request @ PollConnector.ts:168 (anonymous) @ PollConnector.ts:217 Promise.then (async) ce.onload @ PollConnector.ts:215 load (async) (anonymous) @ PollConnector.ts:169 request @ PollConnector.ts:168 updateLoop @ PollConnector.ts:521 doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 reconnect @ PollConnector.ts:390 await in reconnect (async) reconnect @ index.ts:218 await in reconnect (async) wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 onConnectionError @ index.ts:248 wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 se.dispatch @ vuex.esm.js:779 onConnectionError @ index.ts:1013 wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 onConnectionError @ BaseConnector.ts:184 doUpdate @ PollConnector.ts:783 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 reconnect @ PollConnector.ts:390 await in reconnect (async) reconnect @ index.ts:218 await in reconnect (async) wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 onConnectionError @ index.ts:248 wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 se.dispatch @ vuex.esm.js:779 onConnectionError @ index.ts:1013 wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 onConnectionError @ BaseConnector.ts:184 doUpdate @ PollConnector.ts:783 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 reconnect @ PollConnector.ts:390 await in reconnect (async) reconnect @ index.ts:218 await in reconnect (async) wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 onConnectionError @ index.ts:248 wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 se.dispatch @ vuex.esm.js:779 onConnectionError @ index.ts:1013 wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 onConnectionError @ BaseConnector.ts:184 doUpdate @ PollConnector.ts:783 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 index.ts:999 Error: Operation failed (Reason: Service Unavailable) at new ExtendableBuiltin (app.1a9e8c80.js:306:363023) at new NetworkError (errors.ts:24:3) at new OperationFailedError (errors.ts:50:3) at ce.onload (PollConnector.ts:231:14) onConnectionError @ index.ts:999 wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 onConnectionError @ BaseConnector.ts:184 doUpdate @ PollConnector.ts:783 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 reconnect @ PollConnector.ts:390 await in reconnect (async) reconnect @ index.ts:218 await in reconnect (async) wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 onConnectionError @ index.ts:248 wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 se.dispatch @ vuex.esm.js:779 onConnectionError @ index.ts:1013 wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 onConnectionError @ BaseConnector.ts:184 doUpdate @ PollConnector.ts:783 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 reconnect @ PollConnector.ts:390 await in reconnect (async) reconnect @ index.ts:218 await in reconnect (async) wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 onConnectionError @ index.ts:248 wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 se.dispatch @ vuex.esm.js:779 onConnectionError @ index.ts:1013 wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 onConnectionError @ BaseConnector.ts:184 doUpdate @ PollConnector.ts:783 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 reconnect @ PollConnector.ts:390 await in reconnect (async) reconnect @ index.ts:218 await in reconnect (async) wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 onConnectionError @ index.ts:248 wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 se.dispatch @ vuex.esm.js:779 onConnectionError @ index.ts:1013 wrappedActionHandler @ vuex.esm.js:851 dispatch @ vuex.esm.js:516 boundDispatch @ vuex.esm.js:406 onConnectionError @ BaseConnector.ts:184 doUpdate @ PollConnector.ts:783 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 await in updateLoop (async) doUpdate @ PollConnector.ts:781 setTimeout (async) scheduleUpdate @ PollConnector.ts:303 updateLoop @ PollConnector.ts:644 PollConnector.ts:265 GET http://192.168.178.160/rr_model?key=inputs&flags=d99vn 503 (Service Unavailable)```
-
@mule How many DWC sessions/tabs do you have open when this happens?
-
@chrishamm Only one session has been open
-
@mule What board do you have?
-
@chrishamm It is an 6HC
Maybe it has something to do with the following:
I am using the duet hardware on a BLV mgn printer with an arduino which polls (M409 K"job" and M409 F"d99f") the duet via serial port in order to get the hotend temperature, bed temperature and printer status to show them via neopixels. The polling frequence is set to 3 seconds. Using this since ages now. -
@mule Well, HTTP code 503 means that the Duet has no more output memory. Does the situation improve when you turn off the Arduino?