mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 08:25:54 +02:00
[GH-ISSUE #31] [Bug]: P1S re-print #8
Labels
No labels
A1
automated
automated
bug
bug
Closed due to inactivity
contrib
dependencies
dependencies
duplicate
enhancement
feedback
hold
invalid
Notes
P1S
pull-request
security
ThumbsUp
user-report
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/bambuddy-maziggy-1#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kampfklecks on GitHub (Dec 27, 2025).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/31
Originally assigned to: @maziggy on GitHub.
Bug Description
Hello,
I installed Bambuddy today.
everything I checked (printer sd card, webcam) works,
but I can not start a print. It says that the file transfer failed.
The file itself is in the root folder of the sd card. It somehow worked but the print not starting.
Expected Behavior
File should upload and start.
Steps to Reproduce
Printer Model
P1S
Bambuddy Version
0.1.6b
Installation Method
Docker
Operating System
Linux (Ubuntu/Debian)
Relevant Logs
Screenshots
No response
Additional Context
No response
Checklist
@maziggy commented on GitHub (Dec 27, 2025):
Please provide logs and - if possible - the upladed 3mf file.
@kampfklecks commented on GitHub (Dec 27, 2025):
2025-12-27 18:28:29,057 INFO [backend.app.services.bambu_ftp] FTP connecting to [PRINTERIP] for upload... 2025-12-27 18:28:29,874 INFO [backend.app.services.bambu_ftp] FTP connected to [PRINTERIP] 2025-12-27 18:28:29,874 INFO [backend.app.services.bambu_ftp] FTP uploading /app/archive/unassigned/20251227_181102_Bumper+Car+V1.05b_Body Design A.gcode/Bumper+Car+V1.05b_Body Design A.gcode.3mf (15181785 bytes) to /Bumper+Car+V1.05b_Body Design A.3mf 2025-12-27 18:30:08,138 ERROR [backend.app.services.bambu_ftp] FTP upload failed for /Bumper+Car+V1.05b_Body Design A.3mf: The read operation timed out INFO: [PCIP]:56159 - "POST /api/v1/archives/1/reprint?printer_id=1 HTTP/1.1" 500 Internal Server ErrorIt doesn't depend on the file size, I checked with a 30KB file and it gives me the same error.
I exported it with Bambu studio the same way I would send it directly to the printer.
@maziggy commented on GitHub (Dec 28, 2025):
Since I don't have a P1S to test, some additional questions please:
@kampfklecks commented on GitHub (Dec 28, 2025):
I checked:
Uploading the same file with FileZilla worked (3seconds), as I mentioned before the file uploaded with Bambuddy is also completely transferred to the sd card of the printer
P1S FW is 01.09
I enabled LAN-only Mode.
@kampfklecks commented on GitHub (Dec 28, 2025):
That may be interesting:
I checked also the printer screen shortly after I press print.
It gives me a HMS Error 0500-0500-0001-0007, enabling dev mode does not do anything
@maziggy commented on GitHub (Dec 28, 2025):
First of all enabling dev mode is mandatory! Please enable it, restart the printer and check printer's display, if dev mode is enabled. After that please send the print job again and send me the related logs.
@kampfklecks commented on GitHub (Dec 28, 2025):
Enabled Dev-Mode and restarted the printer.
I still can't start a print.
FTP Upload works fine, and I can start the file from the printers display. But Bambuddy doesn't start it for me.
The logs are the same
@maziggy commented on GitHub (Dec 30, 2025):
OK, I've added a lot of debug logging to see, what exactly happens.
Please use branch issue-31-debug, use start_debug.sh or docker-compose.debug.yml to start and provide the debug logs.
@pinionless commented on GitHub (Jan 3, 2026):
I have similar issue on A1
I can see that file gets uploaded successfully but the print does not start with an "upload failed" error.
@pinionless commented on GitHub (Jan 4, 2026):
In File Manager I can see that the file cap.3mf was uploaded
@maziggy commented on GitHub (Jan 4, 2026):
Please try latest 0.1.6b6 release. There are some FTP related improvements. Maybe that helps....
@pinionless commented on GitHub (Jan 4, 2026):
ERROR [backend.app.services.bambu_ftp] FTP upload failed for ... The read operation timed out@kampfklecks commented on GitHub (Jan 4, 2026):
I am definitely too slow :D
Checked it too.
Still not working.
FTP Upload works fine but ends with a timeout. Its needs to be something with the print start MQTT or the waiting time. Maybe there is no response from the printer that the upload succeeded.
@maziggy commented on GitHub (Jan 5, 2026):
Enable debug logging (https://wiki.bambuddy.cool/getting-started/installation/?h=debug#development-settings). Then test and send me the complete logs.
@maziggy commented on GitHub (Jan 5, 2026):
If you use branch 0.1.6b7 you could use the new "export debug logs" function.
https://wiki.bambuddy.cool/features/system-info/#support-bundle
@k3v142 commented on GitHub (Jan 5, 2026):
I had the same issue. I tried https://stackoverflow.com/a/55871462, and it worked for me. However, I have not identified the root cause.
@VREmma commented on GitHub (Jan 6, 2026):
When will 0.1.6b7 be pushed to github? I do not see it, just 0.1.6b6 and 0.1.6-final branches, not the b7...
@maziggy commented on GitHub (Jan 7, 2026):
Sorry, please use 0.1.6-final.
@lufrankland commented on GitHub (Jan 7, 2026):
Firstly thanks for the great project, it looks great!
I've also had the same issue with my P1S and I'm using 0.1.6-final on Docker (MacOS host running using Rancher Desktop)
I couldn't find the linked support section of the settings panel but I've enabled debug logging using the env variable.
Similar to @kampfklecks, I think the upload itself is working in some part as I've used the file only uploaded to bambuddy and triggered the print via the built in printer panel and that prints successfully.
See below for my logs:
@VREmma commented on GitHub (Jan 7, 2026):
Okay, I was trying to make sure that the A1 upload issue looked the same as this P1S issue... I have an A1, lan mode, latest firmware, which I can view/download files fine via bambuddy, but sending prints to it with a file upload fail...
I have two support packages downloaded. One is the upload/trying to print, and the other is a download of a file from its cache. I can manually filezilla and upload to the device.
bambuddy-support-20260107-092729_Upload.zip
bambuddy-support-20260107-093003_Download.zip
@maziggy commented on GitHub (Jan 8, 2026):
Refactored the complete related code. Just tested with H2D and X1C. If you still having troubles, I guess it's printer model related and we need to look into this deeper.
To test use branch 0.1.6-final
@VREmma commented on GitHub (Jan 8, 2026):
I did a git pull on 0.1.6-final, and still having this issue with the A1. Here's a new debug support package from it.
bambuddy-support-20260108-103027.zip
@VREmma commented on GitHub (Jan 9, 2026):
I did a branch tonight that gets it working, but I don't think it's the right solution right now...
github.com/VREmma/bambuddy@c723f25fe1(Tested and works with a1 and x1c)
@maziggy commented on GitHub (Jan 9, 2026):
It's a nightmare to get all printer models working. Every single model has it's specifics.
Thanks for your contribution, that helped to understand what happening for the A1!!!
Please use branch 0.1.6-final and let me know it it works.
The support bundle revealed two issues affecting A1 printers:
Changes Made
Backend (bambu_ftp.py):
Callers updated:
Frontend (SettingsPage.tsx, client.ts):
This fix properly addresses the A1 FTP issues while maintaining thread safety and encryption.
@maziggy commented on GitHub (Jan 9, 2026):
BTW: if you want to contirbute to Bambuddy, feel free to submit pull requests ;)
@VREmma commented on GitHub (Jan 10, 2026):
The A1 isn't working again on this update...
bambuddy-support-20260109-180756.zip
X1C seems fine.
@maziggy commented on GitHub (Jan 10, 2026):
I can't believe that the FTP data channel has no SSL encryption. Anyway, added your fix.
@kampfklecks commented on GitHub (Jan 10, 2026):
I believe the P1S has the same Problem, where can I add it for testing?
@maziggy commented on GitHub (Jan 10, 2026):
The fix was only implemented for the A1.
Run branch 0.1.6-final and send me the support papckage -> https://wiki.bambuddy.cool/features/system-info/?h=debug#debug-information
@VREmma commented on GitHub (Jan 10, 2026):
Still not working... and I have to head to bed (Traveling all day tomorrow, so I need good sleep). I'll look at it again tomorrow night if its not working then...
Here's the latest support package after a git pull, and new pip install -r requirements.txt...
bambuddy-support-20260110-011603.zip
@kampfklecks commented on GitHub (Jan 10, 2026):
I don't need to send it.
I used @VREmma branch, changed A1 to P1S and it works.
@maziggy commented on GitHub (Jan 10, 2026):
what does "changed A1 to P1S and it works" mean?
@kampfklecks commented on GitHub (Jan 10, 2026):
github.com/VREmma/bambuddy@c723f25fe1A1 and P1S need the same fix to get it working, I just quickly swapped the printer models. It works, I don't know if it's the right way to do it. But it works :D
@VREmma commented on GitHub (Jan 11, 2026):
I just did a pull request with the fixes that are working for me now, based on the 0.1.6-final code that was there an hour ago... I just redid some of the BambuFTP to get it working with both my A1, and X1C printers (both are printing right now, from archive using my branch).
@maziggy commented on GitHub (Jan 11, 2026):
Should be fixed now in branch 0.1.6-final. Thanks to @VREmma!!!
@kampfklecks commented on GitHub (Jan 11, 2026):
It is working now. Checked with P1S. Thanks