Skip to content

Upload - Internal Server Error #96

@mikepiko

Description

@mikepiko

Hi, i often get "Internal Server Error" Messages when uploading files to my printer.

When i try it multiple times (like 2 times in this example of the Log below) it works.

`2024-09-27 15:47:16,977 [server.py:add_log_rollover_item()] - Klipper Version: v0.12.0-298-g0532a41c7-dirty
2024-09-27 15:47:18,545 [klippy_connection.py:_request_initial_subscriptions()] - Webhooks Subscribed
2024-09-27 15:47:18,549 [klippy_connection.py:_request_initial_subscriptions()] - GCode Output Subscribed
2024-09-27 15:47:18,796 [job_state.py:_handle_started()] - Job state initialized: standby
2024-09-27 15:47:19,069 [klippy_connection.py:_check_ready()] - Klippy ready
2024-09-27 15:47:19,548 [data_store.py:_init_sensors()] - Configuring available sensors: ['temperature_sensor EBB_NTC', 'heater_bed', 'temperature_fan PSU', 'temperature_fan RPI3', 'temperature_sensor Chamber', 'temperature_sensor BedMat', 'extruder']
2024-09-27 15:48:05,364 [authorization.py:check_trusted_connection()] - Trusted Connection Detected, IP: 192.168.100.2
2024-09-27 15:48:05,409 [application.py:prepare()] - Upload Request Received from 192.168.100.2
Content-Type: multipart/form-data; boundary=boundary
.oOo._0lAUmfW4055nTwqIF/OOdQvKqa1ZV2xs
2024-09-27 15:48:05,418 [application.py:data_received()] - Chunk Parsing Error
Traceback (most recent call last):
File "/home/pi/moonraker/moonraker/components/application.py", line 975, in data_received
await evt_loop.run_in_thread(self._parser.data_received, chunk)
File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/pi/moonraker-env/lib/python3.9/site-packages/streaming_form_data/parser.py", line 82, in data_received
raise ParseFailedException(
streaming_form_data.parser.ParseFailedException: parser.data_received failed with delimiting multipart stream into parts
2024-09-27 15:48:08,102 [web.py:log_exception()] - 500 POST /server/files/upload (192.168.100.2): File Upload Parsing Failed
2024-09-27 15:48:08,106 [application.py:log_request()] - 500 POST /server/files/upload (192.168.100.2) [TRUSTED_USER] 2698.60ms
2024-09-27 15:48:10,683 [application.py:prepare()] - Upload Request Received from 192.168.100.2
Content-Type: multipart/form-data; boundary=boundary
.oOo._w5qExr5YYASCStaKDI6F5h+zHxLmFJUz
2024-09-27 15:48:17,019 [application.py:post()] - Processing Uploaded File: /V350_Shark-Shark_v4_A.ufp
2024-09-27 15:48:17,450 [shell_command.py:pipe_data_received()] - INFO:metadata:Object Processing is disabled

2024-09-27 15:48:18,331 [shell_command.py:_check_proc_success()] - Command (/home/pi/moonraker-env/bin/python /home/pi/moonraker/moonraker/components/file_manager/metadata.py -p /home/pi/printer_data/gcodes -f "V350_Shark-Shark_v4_A.gcode" -u "/tmp/moonraker.upload-85.mru") successfully finished
2024-09-27 15:48:18,333 [klippy_apis.py:start_print()] - Requesting Job Start, filename = V350_Shark-Shark_v4_A.gcode`

any idea what could go wrong ?

I got Mainsail 2.12.0 with Moonraker v0.9.3-0-g71f9e677 with Cura 5.8.1 and Cura2Moonraker 1.9.1 on my Voron Printer.

Thx

Mike

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions