RRF 3.3RC1 - Lost connections
-
Just upgraded my working horse from 3.2.2 to 3.3.RC1.
Duet 3 6HC with SBC. A few seconds after a print starts I get the following error message and the printer freezes.
06/05/2021, 20:34:55 Warning: Lost connection to Duet (Board is not available (no header))
[...] May 06 20:34:49 Cube DuetControlServer[178]: [info] Starting macro file deployprobe.g on channel File May 06 20:34:49 Cube DuetControlServer[178]: [info] Finished macro file deployprobe.g May 06 20:34:51 Cube DuetControlServer[178]: [info] Starting macro file retractprobe.g on channel File May 06 20:34:51 Cube DuetControlServer[178]: [info] Finished macro file retractprobe.g May 06 20:34:52 Cube DuetControlServer[178]: [info] Starting macro file deployprobe.g on channel File May 06 20:34:52 Cube DuetControlServer[178]: [info] Finished macro file deployprobe.g May 06 20:34:54 Cube DuetControlServer[178]: [info] Starting macro file retractprobe.g on channel File May 06 20:34:54 Cube DuetControlServer[178]: [info] Finished macro file retractprobe.g May 06 20:34:55 Cube DuetControlServer[178]: [info] Finished macro file bed_threeScrews.g May 06 20:34:55 Cube DuetControlServer[178]: [info] Starting macro file homez.g on channel File May 06 20:34:55 Cube DuetControlServer[178]: [warn] Lost connection to Duet (Board is not available (no header)) May 06 20:39:21 Cube DuetWebServer[614]: Microsoft.AspNetCore.Hosting.Diagnostics[1] Request starting HTTP/1.1 POST http://192.168.255.30/machine/code text/plain;charset=UTF-8 4 May 06 20:39:21 Cube DuetWebServer[614]: Microsoft.AspNetCore.Cors.Infrastructure.CorsService[5] CORS policy execution failed. May 06 20:39:21 Cube DuetWebServer[614]: Microsoft.AspNetCore.Cors.Infrastructure.CorsService[6] Request origin http://192.168.255.30 does not have permission to access the resource. May 06 20:39:21 Cube DuetWebServer[614]: Microsoft.AspNetCore.Routing.EndpointMiddleware[0] Executing endpoint 'DuetWebServer.Controllers.MachineController.DoCode (DuetWebServer)' May 06 20:39:21 Cube DuetWebServer[614]: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3] Route matched with {action = "DoCode", controller = "Machine"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] DoCode() on controller DuetWebServer.Controllers.MachineController (DuetWebServer). May 06 20:39:21 Cube DuetWebServer[614]: DuetWebServer.Controllers.MachineController[0] [DoCode] Executing code 'M122'
-
Looks suspicious...
May 06 20:50:56 Cube DuetControlServer[193]: [warn] IPC#20: Client with outdated protocol version connected (got 7, want 11)
-
Can you post your M122?
-
@martinnyhc If that problem is reproducible, please share your print file and your start.g (if there is any) or any other macros that are called by your start G-code that could cause the disconnect. Once I get them, I'll be happy to attempt to reproduce this problem and to fix it once I manage to reproduce your problem.
That warning message is likely caused by an outdated plugin so it probably wouldn't harm to deactivate any third-party plugins and to check if it makes a difference. In any case it should not affect the communication between the Pi and the Duet even if it were buggy.
Your config.g along with the output of M122 might be useful, too.
PS: Please share your homez.g macro as well.
PPS: Install David's latest firmware build from here by uploading it on the Files -> System page, confirm the update prompt, and confirm the problem persists. If it does, post the output of M122 (after a reboot if the Duet remains unresponsible) here. -
@chrishamm said in RRF 3.3RC1 - Lost connections:
PPS: Install David's latest firmware build from here by uploading it on the Files -> System page, confirm the update prompt, and confirm the problem persists. If it does, post the output of M122 (after a reboot if the Duet remains unresponsible) here.
This version works. Will do some test prints now. Thanks for the quick fix!
-
Printed the whole day and with the version you provided it works without problems. Thanks again.