incomplete gcodes upload
-
@Tinchus When you get a partial upload, please use:
journalctl -u duetwebserver
in a console window on the pi. This shows the DWS log which may contain further details about why the G-code was only partially written
-
@t3p3tony Yes, I downloaded it just to check and I saw it was not complete, so basically the print finish report was ok, the problem is the truncated gcode file
-
Ok, I have done that command and created this log file. File attachedlog_duetwebserver.txt
The content of that log file is way outside my knowledge to see if there is something wrong. I saw some warnings about a service not started? -
@tinchus what time did you do the upload that ended up being incomplete?
-
@t3p3tony In the DWC time says it was uploaded at 2:59 PM on 24th (yesterday)
-
@tinchus thanks.
It looks like a reset/emergency stop was called at 14:59:
Oct 24 14:59:13 PU-HT-1 DuetWebServer[634]: Microsoft.AspNetCore.Routing.EndpointMiddleware[0] Executing endpoint 'DuetWebServer.Controllers.MachineController.DoCode (DuetWebServer)' Oct 24 14:59:13 PU-HT-1 DuetWebServer[634]: 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). Oct 24 14:59:13 PU-HT-1 DuetWebServer[634]: DuetWebServer.Controllers.MachineController[0] [DoCode] Executing code 'M112 M999'
That cancelled the file upload - was that automatic or commanded from DWC?
-
@t3p3tony I did the upload, Im sure I didnt reset the machine while uploading.
For the uoload I used the buttom "UPLOAD AND START" -
@tinchus thanks for confirming that.
-
@tinchus I could discover this in your log:
Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException: Unexpected end of request content.
So it seems like something cancelled the upload request before it could finish. Can you try to upload something from a different device or using a different browser? If not, please try to upload something in incognito mode.
-
@chrishamm the real problem here is that if something cancelled the upload... I was never told about being cancelled. I got the normal green message pop up saying upload successful
-
@chrishamm Any suggestion on how to test? Im using firefox, so I can use the private mode. Also, this problem is not happening all the time, I have not been able to reproduce the error today