mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 05:35:30 +02:00
[GH-ISSUE #631] [Bug]: File won't be send to printer. #410
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
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#410
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 @Notch001 on GitHub (Mar 6, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/631
Originally assigned to: @maziggy on GitHub.
Bug Description
I am encountering a "MicroSD Card read/write exception" on my Bambu Lab A1 Mini when trying to start a print via bambuddy. While the file transfer appears successful, the printer fails to start the print process.
Environment:
bambuddy Version: v0.2.2b1 (Running in Docker)
Printer Firmware: Latest/Up-to-date
Printers affected: A1 Mini (tested with A1 and P1P as well)
Steps taken to troubleshoot:
Formatted MicroSD cards on all printers (A1, A1 Mini, P1P).
Disabled Thumbnails to reduce file complexity.
Verified that the file upload to the printer is reported as "successful," but the print never triggers.
Error Message on Printer:
MicroSD Card read/write exception: please reinsert or replace the MicroSD Card
Context:
The issue persists across multiple printers and cards. Since the setup is running in Docker, I am wondering if there is a specific communication or file-handling issue with the .gcode.3mf format in this version
Expected Behavior
After uploading and sending a .gcode.3mf file via bambuddy, the printer should:
Receive the file without triggering a MicroSD card error.
Automatically initiate the print sequence (homing, heating, etc.).
Maintain a stable connection with the Docker-hosted bambuddy instance throughout the file transfer.
Steps to Reproduce
Environment: Run bambuddy v0.2.2b1 inside a Docker container.
Upload: Upload a .gcode.3mf file to the bambuddy interface.
Target: Select the A1 Mini (or A1/P1P) as the target printer.
Send: Click the button to send the file and start the print.
Observation: Wait for the "Upload Successful" confirmation in the UI.
Error: Observe the printer's screen showing the "MicroSD Card read/write exception" while the print fails to initiate
Printer Model
P1P
Bambuddy Version
02.2.b2
Printer Firmware Version
latest on a 3 printers
Installation Method
Docker
Operating System
Docker
Relevant Logs / Support Package
Screenshots
No response
Additional Context
No response
Checklist
@maziggy commented on GitHub (Mar 6, 2026):
Need a support package -> https://wiki.bambuddy.cool/features/system-info/?h=debug#enable-debug-logging
@Notch001 commented on GitHub (Mar 6, 2026):
bambuddy-support-20260306-134338.zip
sorry
@maziggy commented on GitHub (Mar 6, 2026):
You don't have developer mode enabled on your printer.
2026-03-06 13:25:57,088 WARNING [backend.app.services.bambu_ftp] FTP connection failed to [IP]: [Errno 104] Connection reset by peer (type: ConnectionResetError)
2026-03-06 13:25:22,075 INFO [backend.app.services.bambu_ftp] FTP download failed for /Aufsteller Frohe Ostern HASE.gcode.3mf: [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1032)
NO dev mode enabled.
@maziggy commented on GitHub (Mar 6, 2026):
Please use branch 0.2.2b2 and send me a new support package.
@Notch001 commented on GitHub (Mar 6, 2026):
bambuddy-support-20260306-145722.zip
i havent send a file to the printer in this log. but it also writes null in the dev mode. is there maybe a chance that i can read out what the printer is sending?
@maziggy commented on GitHub (Mar 6, 2026):
Still shows
2026-03-06 14:23:18,014 WARNING [backend.app.services.bambu_ftp] FTP connection failed to [IP]: [Errno 104] Connection reset by peer (type: ConnectionResetError)
2026-03-06 14:24:29,480 INFO [backend.app.services.bambu_ftp] FTP download failed for /Aufsteller Frohe Ostern HASE.gcode.3mf: [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1032)
This means, that Bambuddy cannot connect to your printer via FTPS.
Let's say developer mode is enabled. Since you got SD card related error messages.... Since an SD card is required, it may be that the firmware is not accepting FTP requests due to a missing or broken SD card.
I would suggest to try wtih another SD card.
What cards dou you have? Size? How are they formatted?
@Notch001 commented on GitHub (Mar 6, 2026):
https://amzn.eu/d/0b3GrhxE
I have put these card in the printer an formatted it over the printer terminal.
@maziggy commented on GitHub (Mar 6, 2026):
Should be no problem.
I have no more ideas, I'm sorry. Fact is, that FTP is not working.
@maziggy commented on GitHub (Mar 6, 2026):
Ah wait! You didnt follow the install instructions and set up the required iptables rules.
@Notch001 commented on GitHub (Mar 6, 2026):
I have changed the docker file and keep an eye on iptables and ports. I have uploaded two files now without problems. I will let you know if it works now for more files. Thanks
@Notch001 commented on GitHub (Mar 8, 2026):
Ok, so sending the files work. I have formatted all three SD card and send a file to the printer. But nobody of them will start the print. It shows me an error with write and rest the SD card. I the Documentation i read something about to activate a function in the slicer to enable read and write in dev mode - right?? But I am not able to find this function.
@Notch001 commented on GitHub (Mar 8, 2026):
After sending the print from bambuddy to all printers I was able to see the files at the printers on the ad card