HTTP 400 when attempting to print #380
-
Hello, I just got everything set up and seemingly working. I did have some stumbles when I first got it all loaded. I was getting HTTP error 500 when trying to access the main page. Little did I realize I didn't add in the uart enable line. But once I got that corrected and restarted, when I attempt to print from the web interface I get an HTTP error 400. My journalctl shows this:
Not seeing a whole lot that tells me anything. Starting the print manually does result in the web interface showing the status of my print. My first thought of the serial connection having issues tells me this might not be the case. I did test the cable I made and had continuity at both ends. Edit: I spoke too soon. When I went back to the web interface after the initial layer, it gave me an HTTP error 500.
Next update: Wiped everything out and started clean. Now I was able to get the home page to load and even initiate a print, but it seems once it went beyond the first layer, the home page errored and wouldn't display the status. But, the print is humming along. Here is a complete log from reboot:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
These errors indicate that the end offsets for each layer are not matching the current byte being reported by the printer. This is either because we are parsing the uploaded file incorrectly or because the printer is reporting them differently from other printers we've seen for some reason. Which files did you upload? Does this reproduce with any file you upload? Can you share one? Which printer do you have? If you can, it would be interesting to know the value of |
Beta Was this translation helpful? Give feedback.
These errors indicate that the end offsets for each layer are not matching the current byte being reported by the printer. This is either because we are parsing the uploaded file incorrectly or because the printer is reporting them differently from other printers we've seen for some reason.
Which files did you upload? Does this reproduce with any file you upload? Can you share one? Which printer do you have?
If you can, it would be interesting to know the value of
sliced_model_file.end_byte_offset_by_layer
here: https://github.com/luizribeiro/mariner/blob/master/mariner/server/api.py#L60