[GH-ISSUE #631] [Bug]: File won't be send to printer. #410

Closed
opened 2026-05-06 12:29:12 +02:00 by BreizhHardware · 12 comments

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

  • I have searched existing issues to ensure this bug hasn't already been reported
  • I am using the latest version of Bambuddy
  • My printer is set to LAN Only mode
  • My printer has Developer Mode enabled
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 ```shell ``` ### Screenshots _No response_ ### Additional Context _No response_ ### Checklist - [x] I have searched existing issues to ensure this bug hasn't already been reported - [x] I am using the latest version of Bambuddy - [x] My printer is set to LAN Only mode - [x] My printer has Developer Mode enabled
BreizhHardware 2026-05-06 12:29:12 +02:00
  • closed this issue
  • added the
    invalid
    label
Author
Owner

@maziggy commented on GitHub (Mar 6, 2026):

Need a support package -> https://wiki.bambuddy.cool/features/system-info/?h=debug#enable-debug-logging

<!-- gh-comment-id:4011524253 --> @maziggy commented on GitHub (Mar 6, 2026): Need a support package -> https://wiki.bambuddy.cool/features/system-info/?h=debug#enable-debug-logging
Author
Owner

@Notch001 commented on GitHub (Mar 6, 2026):

bambuddy-support-20260306-134338.zip

sorry

<!-- gh-comment-id:4011545276 --> @Notch001 commented on GitHub (Mar 6, 2026): [bambuddy-support-20260306-134338.zip](https://github.com/user-attachments/files/25795082/bambuddy-support-20260306-134338.zip) sorry
Author
Owner

@maziggy commented on GitHub (Mar 6, 2026):

You don't have developer mode enabled on your printer.

  "developer_mode": null,

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.

<!-- gh-comment-id:4011571314 --> @maziggy commented on GitHub (Mar 6, 2026): You don't have developer mode enabled on your printer. "developer_mode": null, 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.
Author
Owner

@maziggy commented on GitHub (Mar 6, 2026):

Please use branch 0.2.2b2 and send me a new support package.

<!-- gh-comment-id:4011786253 --> @maziggy commented on GitHub (Mar 6, 2026): Please use branch 0.2.2b2 and send me a new support package.
Author
Owner

@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?

<!-- gh-comment-id:4011909717 --> @Notch001 commented on GitHub (Mar 6, 2026): [bambuddy-support-20260306-145722.zip](https://github.com/user-attachments/files/25796428/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?
Author
Owner

@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?

<!-- gh-comment-id:4011965596 --> @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?
Author
Owner

@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.

<!-- gh-comment-id:4011990370 --> @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.
Author
Owner

@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.

<!-- gh-comment-id:4012002824 --> @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.
Author
Owner

@maziggy commented on GitHub (Mar 6, 2026):

Ah wait! You didnt follow the install instructions and set up the required iptables rules.

<!-- gh-comment-id:4012020652 --> @maziggy commented on GitHub (Mar 6, 2026): Ah wait! You didnt follow the install instructions and set up the required iptables rules.
Author
Owner

@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

<!-- gh-comment-id:4013099813 --> @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
Author
Owner

@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.

<!-- gh-comment-id:4018868174 --> @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.
Author
Owner

@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

<!-- gh-comment-id:4018869645 --> @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
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bambuddy#410
No description provided.