[GH-ISSUE #58] [Bug]: printing to virtual A printer failes #24

Closed
opened 2026-05-06 12:24:57 +02:00 by BreizhHardware · 43 comments

Originally created by @VID-PRO on GitHub (Jan 5, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/58

Originally assigned to: @maziggy on GitHub.

Bug Description

FTP error when printing to virtual A1 printer

Expected Behavior

all files will be transfered

Steps to Reproduce

print to a virtual A1 printer

Printer Model

A1

Bambuddy Version

0.1.6b6

Printer Firmware Version

virtual

Installation Method

Docker

Operating System

Linux (Ubuntu/Debian)

Relevant Logs

2026-01-05 22:38:03,308 INFO [backend.app.services.virtual_printer.ftp_server] FTP connection from ('192.168.???.???', 58788)
2026-01-05 22:38:03,309 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 220 Bambuddy Virtual Printer FTP ready
2026-01-05 22:38:03,310 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: USER bblp
2026-01-05 22:38:03,310 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 331 Password required
2026-01-05 22:38:03,312 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: PASS ????????
2026-01-05 22:38:03,312 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 230 Login successful
2026-01-05 22:38:03,312 INFO [backend.app.services.virtual_printer.ftp_server] FTP login from 192.168.???.???
2026-01-05 22:38:03,313 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: PBSZ 0
2026-01-05 22:38:03,313 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 200 PBSZ=0
2026-01-05 22:38:03,314 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: PROT P
2026-01-05 22:38:03,314 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 200 Protection level set to Private
2026-01-05 22:38:03,316 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: PWD
2026-01-05 22:38:03,316 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 257 "/" is current directory
2026-01-05 22:38:03,317 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: EPSV
2026-01-05 22:38:03,317 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 229 Entering Extended Passive Mode (|||58282|)
2026-01-05 22:38:03,317 INFO [backend.app.services.virtual_printer.ftp_server] FTP EPSV listening on port 58282
2026-01-05 22:38:03,320 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: TYPE I
2026-01-05 22:38:03,320 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 200 Type set to Binary
2026-01-05 22:38:03,321 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: STOR verify_job
2026-01-05 22:38:03,321 INFO [backend.app.services.virtual_printer.ftp_server] FTP receiving file: verify_job from 192.168.???.???
2026-01-05 22:38:03,321 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 150 Opening data connection for verify_job
2026-01-05 22:38:03,325 INFO [backend.app.services.virtual_printer.ftp_server] FTP data TLS from 192.168.???.???: cipher=('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256), version=TLSv1.3, session_reused=True
2026-01-05 22:38:03,325 INFO [backend.app.services.virtual_printer.ftp_server] FTP data connection established from 192.168.???.???
2026-01-05 22:38:03,427 INFO [backend.app.services.virtual_printer.ftp_server] FTP saved file: /app/data/virtual_printer/uploads/verify_job (16 bytes)
2026-01-05 22:38:03,428 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 226 Transfer complete
2026-01-05 22:38:03,428 INFO [backend.app.services.virtual_printer.manager] Virtual printer received file: verify_job from 192.168.???.???
2026-01-05 22:38:03,428 WARNING [backend.app.services.virtual_printer.manager] Skipping non-3MF file: verify_job
2026-01-05 22:38:03,429 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: QUIT
2026-01-05 22:38:03,430 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 221 Goodbye
2026-01-05 22:38:03,430 INFO [backend.app.services.virtual_printer.ftp_server] FTP session cancelled from 192.168.???.???
2026-01-05 22:38:03,430 INFO [backend.app.services.virtual_printer.ftp_server] FTP session ended from 192.168.???.???
2026-01-05 22:38:03,440 INFO [backend.app.services.virtual_printer.ftp_server] FTP connection from ('192.168.???.???', 58792)
2026-01-05 22:38:03,440 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 220 Bambuddy Virtual Printer FTP ready
2026-01-05 22:38:03,441 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: USER bblp
2026-01-05 22:38:03,441 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 331 Password required
2026-01-05 22:38:03,443 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: PASS ????????
2026-01-05 22:38:03,443 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 230 Login successful
2026-01-05 22:38:03,443 INFO [backend.app.services.virtual_printer.ftp_server] FTP login from 192.168.???.???
2026-01-05 22:38:03,444 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: PBSZ 0
2026-01-05 22:38:03,444 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 200 PBSZ=0
2026-01-05 22:38:03,445 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: PROT P
2026-01-05 22:38:03,445 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 200 Protection level set to Private
2026-01-05 22:38:03,446 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: PWD
2026-01-05 22:38:03,446 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 257 "/" is current directory
2026-01-05 22:38:03,447 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: EPSV
2026-01-05 22:38:03,448 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 229 Entering Extended Passive Mode (|||55374|)
2026-01-05 22:38:03,448 INFO [backend.app.services.virtual_printer.ftp_server] FTP EPSV listening on port 55374
2026-01-05 22:38:03,450 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: TYPE I
2026-01-05 22:38:03,450 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 200 Type set to Binary
2026-01-05 22:38:03,451 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: STOR figurine.gcode.3mf
2026-01-05 22:38:03,451 INFO [backend.app.services.virtual_printer.ftp_server] FTP receiving file: figurine.gcode.3mf from 192.168.???.???
2026-01-05 22:38:03,451 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 150 Opening data connection for figurine.gcode.3mf
2026-01-05 22:38:03,454 INFO [backend.app.services.virtual_printer.ftp_server] FTP data TLS from 192.168.???.???: cipher=('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256), version=TLSv1.3, session_reused=True
2026-01-05 22:38:03,454 INFO [backend.app.services.virtual_printer.ftp_server] FTP data connection established from 192.168.???.???
2026-01-05 22:38:03,647 INFO [backend.app.services.virtual_printer.mqtt_server] Sent initial status report on device/03900A391800001/report
2026-01-05 22:38:04,267 ERROR [backend.app.services.virtual_printer.ftp_server] FTP data transfer error: [Errno 104] Connection reset by peer
2026-01-05 22:38:04,267 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 426 Transfer failed: [Errno 104] Connection reset by peer
2026-01-05 22:38:04,368 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: QUIT
2026-01-05 22:38:04,368 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 221 Goodbye
2026-01-05 22:38:04,369 INFO [backend.app.services.virtual_printer.ftp_server] FTP session cancelled from 192.168.???.???
2026-01-05 22:38:04,369 INFO [backend.app.services.virtual_printer.ftp_server] FTP session ended from 192.168.???.???

Screenshots

Image

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
Originally created by @VID-PRO on GitHub (Jan 5, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/58 Originally assigned to: @maziggy on GitHub. ### Bug Description FTP error when printing to virtual A1 printer ### Expected Behavior all files will be transfered ### Steps to Reproduce print to a virtual A1 printer ### Printer Model A1 ### Bambuddy Version 0.1.6b6 ### Printer Firmware Version virtual ### Installation Method Docker ### Operating System Linux (Ubuntu/Debian) ### Relevant Logs ```shell 2026-01-05 22:38:03,308 INFO [backend.app.services.virtual_printer.ftp_server] FTP connection from ('192.168.???.???', 58788) 2026-01-05 22:38:03,309 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 220 Bambuddy Virtual Printer FTP ready 2026-01-05 22:38:03,310 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: USER bblp 2026-01-05 22:38:03,310 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 331 Password required 2026-01-05 22:38:03,312 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: PASS ???????? 2026-01-05 22:38:03,312 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 230 Login successful 2026-01-05 22:38:03,312 INFO [backend.app.services.virtual_printer.ftp_server] FTP login from 192.168.???.??? 2026-01-05 22:38:03,313 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: PBSZ 0 2026-01-05 22:38:03,313 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 200 PBSZ=0 2026-01-05 22:38:03,314 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: PROT P 2026-01-05 22:38:03,314 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 200 Protection level set to Private 2026-01-05 22:38:03,316 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: PWD 2026-01-05 22:38:03,316 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 257 "/" is current directory 2026-01-05 22:38:03,317 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: EPSV 2026-01-05 22:38:03,317 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 229 Entering Extended Passive Mode (|||58282|) 2026-01-05 22:38:03,317 INFO [backend.app.services.virtual_printer.ftp_server] FTP EPSV listening on port 58282 2026-01-05 22:38:03,320 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: TYPE I 2026-01-05 22:38:03,320 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 200 Type set to Binary 2026-01-05 22:38:03,321 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: STOR verify_job 2026-01-05 22:38:03,321 INFO [backend.app.services.virtual_printer.ftp_server] FTP receiving file: verify_job from 192.168.???.??? 2026-01-05 22:38:03,321 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 150 Opening data connection for verify_job 2026-01-05 22:38:03,325 INFO [backend.app.services.virtual_printer.ftp_server] FTP data TLS from 192.168.???.???: cipher=('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256), version=TLSv1.3, session_reused=True 2026-01-05 22:38:03,325 INFO [backend.app.services.virtual_printer.ftp_server] FTP data connection established from 192.168.???.??? 2026-01-05 22:38:03,427 INFO [backend.app.services.virtual_printer.ftp_server] FTP saved file: /app/data/virtual_printer/uploads/verify_job (16 bytes) 2026-01-05 22:38:03,428 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 226 Transfer complete 2026-01-05 22:38:03,428 INFO [backend.app.services.virtual_printer.manager] Virtual printer received file: verify_job from 192.168.???.??? 2026-01-05 22:38:03,428 WARNING [backend.app.services.virtual_printer.manager] Skipping non-3MF file: verify_job 2026-01-05 22:38:03,429 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: QUIT 2026-01-05 22:38:03,430 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 221 Goodbye 2026-01-05 22:38:03,430 INFO [backend.app.services.virtual_printer.ftp_server] FTP session cancelled from 192.168.???.??? 2026-01-05 22:38:03,430 INFO [backend.app.services.virtual_printer.ftp_server] FTP session ended from 192.168.???.??? 2026-01-05 22:38:03,440 INFO [backend.app.services.virtual_printer.ftp_server] FTP connection from ('192.168.???.???', 58792) 2026-01-05 22:38:03,440 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 220 Bambuddy Virtual Printer FTP ready 2026-01-05 22:38:03,441 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: USER bblp 2026-01-05 22:38:03,441 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 331 Password required 2026-01-05 22:38:03,443 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: PASS ???????? 2026-01-05 22:38:03,443 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 230 Login successful 2026-01-05 22:38:03,443 INFO [backend.app.services.virtual_printer.ftp_server] FTP login from 192.168.???.??? 2026-01-05 22:38:03,444 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: PBSZ 0 2026-01-05 22:38:03,444 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 200 PBSZ=0 2026-01-05 22:38:03,445 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: PROT P 2026-01-05 22:38:03,445 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 200 Protection level set to Private 2026-01-05 22:38:03,446 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: PWD 2026-01-05 22:38:03,446 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 257 "/" is current directory 2026-01-05 22:38:03,447 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: EPSV 2026-01-05 22:38:03,448 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 229 Entering Extended Passive Mode (|||55374|) 2026-01-05 22:38:03,448 INFO [backend.app.services.virtual_printer.ftp_server] FTP EPSV listening on port 55374 2026-01-05 22:38:03,450 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: TYPE I 2026-01-05 22:38:03,450 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 200 Type set to Binary 2026-01-05 22:38:03,451 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: STOR figurine.gcode.3mf 2026-01-05 22:38:03,451 INFO [backend.app.services.virtual_printer.ftp_server] FTP receiving file: figurine.gcode.3mf from 192.168.???.??? 2026-01-05 22:38:03,451 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 150 Opening data connection for figurine.gcode.3mf 2026-01-05 22:38:03,454 INFO [backend.app.services.virtual_printer.ftp_server] FTP data TLS from 192.168.???.???: cipher=('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256), version=TLSv1.3, session_reused=True 2026-01-05 22:38:03,454 INFO [backend.app.services.virtual_printer.ftp_server] FTP data connection established from 192.168.???.??? 2026-01-05 22:38:03,647 INFO [backend.app.services.virtual_printer.mqtt_server] Sent initial status report on device/03900A391800001/report 2026-01-05 22:38:04,267 ERROR [backend.app.services.virtual_printer.ftp_server] FTP data transfer error: [Errno 104] Connection reset by peer 2026-01-05 22:38:04,267 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 426 Transfer failed: [Errno 104] Connection reset by peer 2026-01-05 22:38:04,368 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: QUIT 2026-01-05 22:38:04,368 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 221 Goodbye 2026-01-05 22:38:04,369 INFO [backend.app.services.virtual_printer.ftp_server] FTP session cancelled from 192.168.???.??? 2026-01-05 22:38:04,369 INFO [backend.app.services.virtual_printer.ftp_server] FTP session ended from 192.168.???.??? ``` ### Screenshots <img width="695" height="798" alt="Image" src="https://github.com/user-attachments/assets/f5fd666a-d56e-44bb-aebd-25468151d49b" /> ### 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
BreizhHardware 2026-05-06 12:24:57 +02:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

Virtual printer only supports sending files to Bambuddy. You need to hit the Send button in Slicer instead of Print.

<!-- gh-comment-id:3713502187 --> @maziggy commented on GitHub (Jan 6, 2026): Virtual printer only supports sending files to Bambuddy. You need to hit the Send button in Slicer instead of Print.
Author
Owner

@VID-PRO commented on GitHub (Jan 6, 2026):

tried it with send but i got this error:

Image
<!-- gh-comment-id:3715563411 --> @VID-PRO commented on GitHub (Jan 6, 2026): tried it with send but i got this error: <img width="516" height="665" alt="Image" src="https://github.com/user-attachments/assets/41d840d5-7d20-4585-ad01-1dbab5569257" />
Author
Owner

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

Please use branch 0.1.6b7 and use the new "export debug logs" function.

https://wiki.bambuddy.cool/features/system-info/#support-bundle

<!-- gh-comment-id:3715618994 --> @maziggy commented on GitHub (Jan 6, 2026): Please use branch 0.1.6b7 and use the new "export debug logs" function. https://wiki.bambuddy.cool/features/system-info/#support-bundle
Author
Owner

@VID-PRO commented on GitHub (Jan 6, 2026):

2026-01-06 18:49:55,042 INFO [backend.app.services.virtual_printer.ftp_server] FTP connection from ('192.168.???.???', 60215)
2026-01-06 18:49:55,042 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 220 Bambuddy Virtual Printer FTP ready
2026-01-06 18:49:55,043 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: USER bblp
2026-01-06 18:49:55,043 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 331 Password required
2026-01-06 18:49:55,044 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: PASS ????????
2026-01-06 18:49:55,045 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 230 Login successful
2026-01-06 18:49:55,045 INFO [backend.app.services.virtual_printer.ftp_server] FTP login from 192.168.???.???
2026-01-06 18:49:55,046 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: PBSZ 0
2026-01-06 18:49:55,046 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 200 PBSZ=0
2026-01-06 18:49:55,047 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: PROT P
2026-01-06 18:49:55,047 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 200 Protection level set to Private
2026-01-06 18:49:55,048 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: PWD
2026-01-06 18:49:55,048 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 257 "/" is current directory
2026-01-06 18:49:55,049 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: EPSV
2026-01-06 18:49:55,049 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 229 Entering Extended Passive Mode (|||53717|)
2026-01-06 18:49:55,049 INFO [backend.app.services.virtual_printer.ftp_server] FTP EPSV listening on port 53717
2026-01-06 18:49:55,061 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: TYPE I
2026-01-06 18:49:55,061 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 200 Type set to Binary
2026-01-06 18:49:55,063 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: STOR Aliexpress_DryBox.gcode.3mf
2026-01-06 18:49:55,063 INFO [backend.app.services.virtual_printer.ftp_server] FTP receiving file: Aliexpress_DryBox.gcode.3mf from 192.168.???.???
2026-01-06 18:49:55,063 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 150 Opening data connection for Aliexpress_DryBox.gcode.3mf
2026-01-06 18:49:55,066 INFO [backend.app.services.virtual_printer.ftp_server] FTP data TLS from 192.168.???.???: cipher=('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256), version=TLSv1.3, session_reused=True
2026-01-06 18:49:55,066 INFO [backend.app.services.virtual_printer.ftp_server] FTP data connection established from 192.168.???.???
2026-01-06 18:49:55,107 INFO [backend.app.services.virtual_printer.mqtt_server] Sent initial status report on device/03900A391800001/report
2026-01-06 18:49:55,651 ERROR [backend.app.services.virtual_printer.ftp_server] FTP data transfer error: [Errno 104] Connection reset by peer
2026-01-06 18:49:55,651 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 426 Transfer failed: [Errno 104] Connection reset by peer
2026-01-06 18:49:55,752 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: QUIT
2026-01-06 18:49:55,752 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 221 Goodbye
2026-01-06 18:49:55,752 INFO [backend.app.services.virtual_printer.ftp_server] FTP session cancelled from 192.168.???.???
2026-01-06 18:49:55,752 INFO [backend.app.services.virtual_printer.ftp_server] FTP session ended from 192.168.???.???
<!-- gh-comment-id:3715693710 --> @VID-PRO commented on GitHub (Jan 6, 2026): ``` 2026-01-06 18:49:55,042 INFO [backend.app.services.virtual_printer.ftp_server] FTP connection from ('192.168.???.???', 60215) 2026-01-06 18:49:55,042 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 220 Bambuddy Virtual Printer FTP ready 2026-01-06 18:49:55,043 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: USER bblp 2026-01-06 18:49:55,043 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 331 Password required 2026-01-06 18:49:55,044 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: PASS ???????? 2026-01-06 18:49:55,045 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 230 Login successful 2026-01-06 18:49:55,045 INFO [backend.app.services.virtual_printer.ftp_server] FTP login from 192.168.???.??? 2026-01-06 18:49:55,046 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: PBSZ 0 2026-01-06 18:49:55,046 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 200 PBSZ=0 2026-01-06 18:49:55,047 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: PROT P 2026-01-06 18:49:55,047 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 200 Protection level set to Private 2026-01-06 18:49:55,048 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: PWD 2026-01-06 18:49:55,048 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 257 "/" is current directory 2026-01-06 18:49:55,049 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: EPSV 2026-01-06 18:49:55,049 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 229 Entering Extended Passive Mode (|||53717|) 2026-01-06 18:49:55,049 INFO [backend.app.services.virtual_printer.ftp_server] FTP EPSV listening on port 53717 2026-01-06 18:49:55,061 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: TYPE I 2026-01-06 18:49:55,061 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 200 Type set to Binary 2026-01-06 18:49:55,063 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: STOR Aliexpress_DryBox.gcode.3mf 2026-01-06 18:49:55,063 INFO [backend.app.services.virtual_printer.ftp_server] FTP receiving file: Aliexpress_DryBox.gcode.3mf from 192.168.???.??? 2026-01-06 18:49:55,063 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 150 Opening data connection for Aliexpress_DryBox.gcode.3mf 2026-01-06 18:49:55,066 INFO [backend.app.services.virtual_printer.ftp_server] FTP data TLS from 192.168.???.???: cipher=('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256), version=TLSv1.3, session_reused=True 2026-01-06 18:49:55,066 INFO [backend.app.services.virtual_printer.ftp_server] FTP data connection established from 192.168.???.??? 2026-01-06 18:49:55,107 INFO [backend.app.services.virtual_printer.mqtt_server] Sent initial status report on device/03900A391800001/report 2026-01-06 18:49:55,651 ERROR [backend.app.services.virtual_printer.ftp_server] FTP data transfer error: [Errno 104] Connection reset by peer 2026-01-06 18:49:55,651 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 426 Transfer failed: [Errno 104] Connection reset by peer 2026-01-06 18:49:55,752 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.???.???: QUIT 2026-01-06 18:49:55,752 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.???.???: 221 Goodbye 2026-01-06 18:49:55,752 INFO [backend.app.services.virtual_printer.ftp_server] FTP session cancelled from 192.168.???.??? 2026-01-06 18:49:55,752 INFO [backend.app.services.virtual_printer.ftp_server] FTP session ended from 192.168.???.??? ```
Author
Owner

@VID-PRO commented on GitHub (Jan 6, 2026):

under settings -> virtual printer i can see that there is 1 pending file

<!-- gh-comment-id:3715768452 --> @VID-PRO commented on GitHub (Jan 6, 2026): under settings -> virtual printer i can see that there is 1 pending file
Author
Owner

@Percy2Live commented on GitHub (Feb 5, 2026):

I'm facing the same issue on my P1S. The odd thing is it works totally fine for certain plates. For others I always receive this error:

Image

When I try it over and over again I am lucky at a certain point and it sends it successfully

bambuddy-support-20260205-221740.zip

<!-- gh-comment-id:3856274357 --> @Percy2Live commented on GitHub (Feb 5, 2026): I'm facing the same issue on my P1S. The odd thing is it works totally fine for certain plates. For others I always receive this error: <img width="598" height="356" alt="Image" src="https://github.com/user-attachments/assets/3a3381d8-3885-40a3-928c-0c837e8de50b" /> When I try it over and over again I am lucky at a certain point and it sends it successfully [bambuddy-support-20260205-221740.zip](https://github.com/user-attachments/files/25112016/bambuddy-support-20260205-221740.zip)
Author
Owner

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

Please use branch 0.1.8b and try again. Yesterday evening we fixed a FTP related bug for the P1S.

<!-- gh-comment-id:3858984202 --> @maziggy commented on GitHub (Feb 6, 2026): Please use branch 0.1.8b and try again. Yesterday evening we fixed a FTP related bug for the P1S.
Author
Owner

@Percy2Live commented on GitHub (Feb 6, 2026):

Thanks for pointing this out. Is there an easy way to use 0.1.8b with Docker? It's not a tagged release, is it?

<!-- gh-comment-id:3859723397 --> @Percy2Live commented on GitHub (Feb 6, 2026): Thanks for pointing this out. Is there an easy way to use 0.1.8b with Docker? It's not a tagged release, is it?
Author
Owner

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

cd to your bambuddy folder and do a

git pull && git checkout 0.1.8b && git pull && docker compose down && docker compose build --no-cache && docker compose up -d

<!-- gh-comment-id:3859774885 --> @maziggy commented on GitHub (Feb 6, 2026): cd to your bambuddy folder and do a git pull && git checkout 0.1.8b && git pull && docker compose down && docker compose build --no-cache && docker compose up -d
Author
Owner

@Percy2Live commented on GitHub (Feb 6, 2026):

I tested it with 0.1.8 and there the issue still persists. Sending a sliced file from bambu studio to bambuddy takes multiple attempts, printing via bambuddy doesn't work at all. Is 0.1.8b going to adress further measures to tackle this?

<!-- gh-comment-id:3861305022 --> @Percy2Live commented on GitHub (Feb 6, 2026): I tested it with 0.1.8 and there the issue still persists. Sending a sliced file from bambu studio to bambuddy takes multiple attempts, printing via bambuddy doesn't work at all. Is 0.1.8b going to adress further measures to tackle this?
Author
Owner

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

Send me a support package from your 0.1.8 version. Please don't forget to force the problem so that it gets logged.

<!-- gh-comment-id:3861348867 --> @maziggy commented on GitHub (Feb 6, 2026): Send me a support package from your 0.1.8 version. Please don't forget to force the problem so that it gets logged.
Author
Owner

@Percy2Live commented on GitHub (Feb 6, 2026):

attached you can find the support package.
I first uploaded a small model via bambu studio (first try aborted, second try went through).
Then I tried to print another model which was manually queued (without success)

It seems to be an ftp related issue. Surprisingly browsing the SD-card via the "file-system" tab works fine.

bambuddy-support-20260206-174405.zip

Thanks for looking into this!

EDIT: Maybe some more side-information: Running in docker on a Synology NAS in host mode, IP-table rules applied. Firewall currently disabled to exclude interferences. I usually run my docker containers with macvlan, but as port 9990 is hard coded in bambuddy I had to switch to host mode (macvlan is able to publish port 990 without issues, but remapping internal port 9990 to 990 is not possible in macvlan for my understanding if it's not configurable)

<!-- gh-comment-id:3861445163 --> @Percy2Live commented on GitHub (Feb 6, 2026): attached you can find the support package. I first uploaded a small model via bambu studio (first try aborted, second try went through). Then I tried to print another model which was manually queued (without success) It seems to be an ftp related issue. Surprisingly browsing the SD-card via the "file-system" tab works fine. [bambuddy-support-20260206-174405.zip](https://github.com/user-attachments/files/25132918/bambuddy-support-20260206-174405.zip) Thanks for looking into this! EDIT: Maybe some more side-information: Running in docker on a Synology NAS in host mode, IP-table rules applied. Firewall currently disabled to exclude interferences. I usually run my docker containers with macvlan, but as port 9990 is hard coded in bambuddy I had to switch to host mode (macvlan is able to publish port 990 without issues, but remapping internal port 9990 to 990 is not possible in macvlan for my understanding if it's not configurable)
Author
Owner

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

Also please show me a screenshots of your virtual printer settings when connected with Bambu Studio.

<!-- gh-comment-id:3861477257 --> @maziggy commented on GitHub (Feb 6, 2026): Also please show me a screenshots of your virtual printer settings when connected with Bambu Studio.
Author
Owner

@Percy2Live commented on GitHub (Feb 6, 2026):

Image Image
<!-- gh-comment-id:3861662821 --> @Percy2Live commented on GitHub (Feb 6, 2026): <img width="2025" height="1224" alt="Image" src="https://github.com/user-attachments/assets/a666b7f2-d314-4903-98c9-43865b1a1ebf" /> <img width="2553" height="906" alt="Image" src="https://github.com/user-attachments/assets/2ece60b6-69cb-43cb-bc85-e3fd3d88fcb5" />
Author
Owner

@Percy2Live commented on GitHub (Feb 6, 2026):

I'm currently looking into this with wireshark. I was surprised that there's almost no traffic between my PC and bambuddy even while sending something via bambu studio. Especially not at the ports I would expect. Is bambu studio directly sending to port 990?

<!-- gh-comment-id:3861995493 --> @Percy2Live commented on GitHub (Feb 6, 2026): I'm currently looking into this with wireshark. I was surprised that there's almost no traffic between my PC and bambuddy even while sending something via bambu studio. Especially not at the ports I would expect. Is bambu studio directly sending to port 990?
Author
Owner

@Percy2Live commented on GitHub (Feb 7, 2026):

Update: Small improvement with 0.1.8.1:
I was able to start a print via bambuddy. However, sending a file from bambu studio still takes multiple attempts and most of the time I'm receiving errors:

Image Image

EDIT:
Bambuddy now also seems to notice the sending attempt:

Image
<!-- gh-comment-id:3864373827 --> @Percy2Live commented on GitHub (Feb 7, 2026): Update: Small improvement with 0.1.8.1: I was able to start a print via bambuddy. However, sending a file from bambu studio still takes multiple attempts and most of the time I'm receiving errors: <img width="614" height="834" alt="Image" src="https://github.com/user-attachments/assets/bfc2480e-a188-4c41-a054-7c147d403085" /> <img width="438" height="77" alt="Image" src="https://github.com/user-attachments/assets/87494d24-0ff1-4875-a213-01e0349dcfb4" /> EDIT: Bambuddy now also seems to notice the sending attempt: <img width="2126" height="220" alt="Image" src="https://github.com/user-attachments/assets/5d846a4a-b6a5-4de9-a2d3-46380397aae5" />
Author
Owner

@maziggy commented on GitHub (Feb 7, 2026):

I'm working on improvements right now.

<!-- gh-comment-id:3864377507 --> @maziggy commented on GitHub (Feb 7, 2026): I'm working on improvements right now.
Author
Owner

@Percy2Live commented on GitHub (Feb 7, 2026):

No pressure, just wanted to keep you updated. Let me know if I can test anything. Great work, I already really like it

<!-- gh-comment-id:3864380441 --> @Percy2Live commented on GitHub (Feb 7, 2026): No pressure, just wanted to keep you updated. Let me know if I can test anything. Great work, I already really like it
Author
Owner

@maziggy commented on GitHub (Feb 7, 2026):

Here we go..... Virtual printer now has major changes that should improve it.

Please use branch 0.1.9b and rebuild container.

Please note the new network requirements for virtual printer function!!!! -> https://wiki.bambuddy.cool/features/virtual-printer/

<!-- gh-comment-id:3864651598 --> @maziggy commented on GitHub (Feb 7, 2026): Here we go..... Virtual printer now has major changes that should improve it. Please use branch 0.1.9b and rebuild container. Please note the new network requirements for virtual printer function!!!! -> https://wiki.bambuddy.cool/features/virtual-printer/
Author
Owner

@Percy2Live commented on GitHub (Feb 7, 2026):

Great, I would love to test this. Can you make this a tagged beta release? I couldn't get it working by building it myself

<!-- gh-comment-id:3864713450 --> @Percy2Live commented on GitHub (Feb 7, 2026): Great, I would love to test this. Can you make this a tagged beta release? I couldn't get it working by building it myself
Author
Owner

@maziggy commented on GitHub (Feb 7, 2026):

No, sorry.

cd to your bambuddy folder and do a

git pull && git checkout 0.1.9b && git pull && docker compose build --no-cache && docker compose down && docker compose up -d

<!-- gh-comment-id:3864718505 --> @maziggy commented on GitHub (Feb 7, 2026): No, sorry. cd to your bambuddy folder and do a git pull && git checkout 0.1.9b && git pull && docker compose build --no-cache && docker compose down && docker compose up -d
Author
Owner

@Percy2Live commented on GitHub (Feb 7, 2026):

Unfortunately this isn't working on synology. I've got another server which I can try later to perform build it from the branch

<!-- gh-comment-id:3864725815 --> @Percy2Live commented on GitHub (Feb 7, 2026): Unfortunately this isn't working on synology. I've got another server which I can try later to perform build it from the branch
Author
Owner

@Percy2Live commented on GitHub (Feb 7, 2026):

ok, I forked it and built a released version 0.1.9b
I looked through the changes in the wiki, ports 50000-50100 are no issue on my setup as I'm running it in host mode directly on one of my Synologys.

What I can tell is that with v0.1.9b the sending from the slicer to bambuddy fails completely. I'm now getting the error everytime, independently on how many times I retry. With 0.1.8.1 it still took a couple of attempts but worked in the end.

I'm still a bit puzzled by the wireshark recordings, I'm not able to identify the traffic that belongs to the slicer connecting to bambuddy (no traffic on port 990 and 50000-50100). Let me know if you are interested in some recordings

<!-- gh-comment-id:3865116743 --> @Percy2Live commented on GitHub (Feb 7, 2026): ok, I forked it and built a released version 0.1.9b I looked through the changes in the wiki, ports 50000-50100 are no issue on my setup as I'm running it in host mode directly on one of my Synologys. What I can tell is that with v0.1.9b the sending from the slicer to bambuddy fails completely. I'm now getting the error everytime, independently on how many times I retry. With 0.1.8.1 it still took a couple of attempts but worked in the end. I'm still a bit puzzled by the wireshark recordings, I'm not able to identify the traffic that belongs to the slicer connecting to bambuddy (no traffic on port 990 and 50000-50100). Let me know if you are interested in some recordings
Author
Owner

@maziggy commented on GitHub (Feb 7, 2026):

Now I'm confused. What virtual printer mode do you want to use now? The issue was opened for Queue mode and now you are talking about Proxy mode.

<!-- gh-comment-id:3865121501 --> @maziggy commented on GitHub (Feb 7, 2026): Now I'm confused. What virtual printer mode do you want to use now? The issue was opened for Queue mode and now you are talking about Proxy mode.
Author
Owner

@Percy2Live commented on GitHub (Feb 7, 2026):

Sorry for the confusion. I'm also using queued mode.
With v0.1.9b I'm unable to send prints from bambu studio to the queue of bambuddy

<!-- gh-comment-id:3865122841 --> @Percy2Live commented on GitHub (Feb 7, 2026): Sorry for the confusion. I'm also using queued mode. With v0.1.9b I'm unable to send prints from bambu studio to the queue of bambuddy
Author
Owner

@Percy2Live commented on GitHub (Feb 7, 2026):

Ok, I just noticed ports 50000-50100 are only required for proxy mode. There must be other changes as well, though: With v0.1.9b I'm completely unable to queue prints. I just verified: going back to v0.1.8.1 allows me to queue prints after some attempts

<!-- gh-comment-id:3865134978 --> @Percy2Live commented on GitHub (Feb 7, 2026): Ok, I just noticed ports 50000-50100 are only required for proxy mode. There must be other changes as well, though: With v0.1.9b I'm completely unable to queue prints. I just verified: going back to v0.1.8.1 allows me to queue prints after some attempts
Author
Owner

@notti commented on GitHub (Feb 7, 2026):

I have the same issue. Packet dump seems to show that bambustudio sends RST after ~80kb

<!-- gh-comment-id:3865641266 --> @notti commented on GitHub (Feb 7, 2026): I have the same issue. Packet dump seems to show that bambustudio sends RST after ~80kb
Author
Owner

@maziggy commented on GitHub (Feb 8, 2026):

Guys, need more details. Please send a support package.

<!-- gh-comment-id:3866382009 --> @maziggy commented on GitHub (Feb 8, 2026): Guys, need more details. Please send a support package.
Author
Owner

@Percy2Live commented on GitHub (Feb 8, 2026):

Sure, I can create one. With 0.1.8.1 (multiple attempts required for sending a print from bambu studio to bambuddy) or with 0.1.9b (sending doesn't work at all)?

<!-- gh-comment-id:3867064565 --> @Percy2Live commented on GitHub (Feb 8, 2026): Sure, I can create one. With 0.1.8.1 (multiple attempts required for sending a print from bambu studio to bambuddy) or with 0.1.9b (sending doesn't work at all)?
Author
Owner

@Percy2Live commented on GitHub (Feb 8, 2026):

Here is one with 0.1.8.1 as I'm running on this right now. Took 18 attempts to send a print to bambuddy from bambu studio:

bambuddy-support-20260208-130609.zip

<!-- gh-comment-id:3867070135 --> @Percy2Live commented on GitHub (Feb 8, 2026): Here is one with 0.1.8.1 as I'm running on this right now. Took 18 attempts to send a print to bambuddy from bambu studio: [bambuddy-support-20260208-130609.zip](https://github.com/user-attachments/files/25161008/bambuddy-support-20260208-130609.zip)
Author
Owner

@maziggy commented on GitHub (Feb 8, 2026):

0.1.9b woud be better ;)

<!-- gh-comment-id:3867071924 --> @maziggy commented on GitHub (Feb 8, 2026): 0.1.9b woud be better ;)
Author
Owner

@Percy2Live commented on GitHub (Feb 8, 2026):

Alright, this one is with 0.1.9b. I must correct my previous statement: With 0.1.9b it seems to be similar to 0.1.8.1.
This time I was able to send the print at the 6th attempt - Yesterday I wasn't that lucky, after 40-50 attempts I assumed it's not working at all.

bambuddy-support-20260208-131549.zip

<!-- gh-comment-id:3867082276 --> @Percy2Live commented on GitHub (Feb 8, 2026): Alright, this one is with 0.1.9b. I must correct my previous statement: With 0.1.9b it seems to be similar to 0.1.8.1. This time I was able to send the print at the 6th attempt - Yesterday I wasn't that lucky, after 40-50 attempts I assumed it's not working at all. [bambuddy-support-20260208-131549.zip](https://github.com/user-attachments/files/25161075/bambuddy-support-20260208-131549.zip)
Author
Owner

@maziggy commented on GitHub (Feb 8, 2026):

And please show me your docker-compose.yml and iptables rules.

<!-- gh-comment-id:3867083223 --> @maziggy commented on GitHub (Feb 8, 2026): And please show me your docker-compose.yml and iptables rules.
Author
Owner

@Percy2Live commented on GitHub (Feb 8, 2026):

I'm using a pre built image which I created on my own by forking your release:

services:
  bambuddy:
    image: ghcr.io/percy2live/bambuddy:v0.1.9  #ghcr.io/maziggy/bambuddy:0.1.8.1 #ghcr.io/percy2live/bambuddy:v0.1.9 
    container_name: bambuddy

    restart: unless-stopped

    network_mode: host

    environment:
      - TZ=Europe/Berlin
      - PORT=8088
    volumes:
      - /volume4/Docker/Volumes/bambuddy/data:/app/data
      - /volume4/Docker/Volumes/bambuddy/logs:/app/logs
      - /volume4/Docker/Volumes/bambuddy/virtual_printer:/app/data/virtual_printer

iptables:

ownauto@Syno:~$ sudo iptables -L -v -n
Password:
Chain INPUT (policy ACCEPT 2999K packets, 482M bytes)
 pkts bytes target     prot opt in     out     source               destination
 411M  410G DEFAULT_INPUT  all  --  *      *       0.0.0.0/0            0.0.0.0/0

Chain FORWARD (policy ACCEPT 437K packets, 190M bytes)
 pkts bytes target     prot opt in     out     source               destination
 442K  192M DEFAULT_FORWARD  all  --  *      *       0.0.0.0/0            0.0.0.0/0

Chain OUTPUT (policy ACCEPT 251M packets, 66G bytes)
 pkts bytes target     prot opt in     out     source               destination

Chain DEFAULT_FORWARD (1 references)
 pkts bytes target     prot opt in     out     source               destination
 442K  192M DOCKER-USER  all  --  *      *       0.0.0.0/0            0.0.0.0/0
 442K  192M DOCKER-ISOLATION-STAGE-1  all  --  *      *       0.0.0.0/0            0.0.0.0/0
    0     0 ACCEPT     all  --  *      docker-040224bd  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
    0     0 DOCKER     all  --  *      docker-040224bd  0.0.0.0/0            0.0.0.0/0
    0     0 ACCEPT     all  --  docker-040224bd !docker-040224bd  0.0.0.0/0            0.0.0.0/0
    0     0 ACCEPT     all  --  docker-040224bd docker-040224bd  0.0.0.0/0            0.0.0.0/0

Chain DEFAULT_INPUT (1 references)
 pkts bytes target     prot opt in     out     source               destination
 408M  410G ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0            state RELATED,ESTABLISHED

Chain DOCKER (1 references)
 pkts bytes target     prot opt in     out     source               destination
    0     0 ACCEPT     tcp  --  !docker0 docker0  0.0.0.0/0            172.17.0.2           tcp dpt:9000
    0     0 ACCEPT     tcp  --  !docker0 docker0  0.0.0.0/0            172.17.0.2           tcp dpt:8000
    0     0 ACCEPT     tcp  --  !docker-acee2951 docker-acee2951  0.0.0.0/0            192.168.0.5          tcp dpt:81
    0     0 ACCEPT     tcp  --  !docker-acee2951 docker-acee2951  0.0.0.0/0            192.168.0.5          tcp dpt:80
    0     0 ACCEPT     tcp  --  !docker-acee2951 docker-acee2951  0.0.0.0/0            192.168.0.5          tcp dpt:443

Chain DOCKER-ISOLATION-STAGE-1 (1 references)
 pkts bytes target     prot opt in     out     source               destination
    0     0 DOCKER-ISOLATION-STAGE-2  all  --  docker-040224bd !docker-040224bd  0.0.0.0/0            0.0.0.0/0
2209K  384M DOCKER-ISOLATION-STAGE-2  all  --  docker0 !docker0  0.0.0.0/0            0.0.0.0/0
  19M   20G DOCKER-ISOLATION-STAGE-2  all  --  docker-acee2951 !docker-acee2951  0.0.0.0/0            0.0.0.0/0
  23M   22G RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0

Chain DOCKER-ISOLATION-STAGE-2 (3 references)
 pkts bytes target     prot opt in     out     source               destination
    0     0 DROP       all  --  *      docker-040224bd  0.0.0.0/0            0.0.0.0/0
    0     0 DROP       all  --  *      docker0  0.0.0.0/0            0.0.0.0/0
    0     0 DROP       all  --  *      docker-acee2951  0.0.0.0/0            0.0.0.0/0
  21M   21G RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0

Chain DOCKER-USER (1 references)
 pkts bytes target     prot opt in     out     source               destination
  23M   22G RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0
<!-- gh-comment-id:3867088295 --> @Percy2Live commented on GitHub (Feb 8, 2026): I'm using a pre built image which I created on my own by forking your release: ``` services: bambuddy: image: ghcr.io/percy2live/bambuddy:v0.1.9 #ghcr.io/maziggy/bambuddy:0.1.8.1 #ghcr.io/percy2live/bambuddy:v0.1.9 container_name: bambuddy restart: unless-stopped network_mode: host environment: - TZ=Europe/Berlin - PORT=8088 volumes: - /volume4/Docker/Volumes/bambuddy/data:/app/data - /volume4/Docker/Volumes/bambuddy/logs:/app/logs - /volume4/Docker/Volumes/bambuddy/virtual_printer:/app/data/virtual_printer ``` iptables: ``` ownauto@Syno:~$ sudo iptables -L -v -n Password: Chain INPUT (policy ACCEPT 2999K packets, 482M bytes) pkts bytes target prot opt in out source destination 411M 410G DEFAULT_INPUT all -- * * 0.0.0.0/0 0.0.0.0/0 Chain FORWARD (policy ACCEPT 437K packets, 190M bytes) pkts bytes target prot opt in out source destination 442K 192M DEFAULT_FORWARD all -- * * 0.0.0.0/0 0.0.0.0/0 Chain OUTPUT (policy ACCEPT 251M packets, 66G bytes) pkts bytes target prot opt in out source destination Chain DEFAULT_FORWARD (1 references) pkts bytes target prot opt in out source destination 442K 192M DOCKER-USER all -- * * 0.0.0.0/0 0.0.0.0/0 442K 192M DOCKER-ISOLATION-STAGE-1 all -- * * 0.0.0.0/0 0.0.0.0/0 0 0 ACCEPT all -- * docker-040224bd 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED 0 0 DOCKER all -- * docker-040224bd 0.0.0.0/0 0.0.0.0/0 0 0 ACCEPT all -- docker-040224bd !docker-040224bd 0.0.0.0/0 0.0.0.0/0 0 0 ACCEPT all -- docker-040224bd docker-040224bd 0.0.0.0/0 0.0.0.0/0 Chain DEFAULT_INPUT (1 references) pkts bytes target prot opt in out source destination 408M 410G ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED Chain DOCKER (1 references) pkts bytes target prot opt in out source destination 0 0 ACCEPT tcp -- !docker0 docker0 0.0.0.0/0 172.17.0.2 tcp dpt:9000 0 0 ACCEPT tcp -- !docker0 docker0 0.0.0.0/0 172.17.0.2 tcp dpt:8000 0 0 ACCEPT tcp -- !docker-acee2951 docker-acee2951 0.0.0.0/0 192.168.0.5 tcp dpt:81 0 0 ACCEPT tcp -- !docker-acee2951 docker-acee2951 0.0.0.0/0 192.168.0.5 tcp dpt:80 0 0 ACCEPT tcp -- !docker-acee2951 docker-acee2951 0.0.0.0/0 192.168.0.5 tcp dpt:443 Chain DOCKER-ISOLATION-STAGE-1 (1 references) pkts bytes target prot opt in out source destination 0 0 DOCKER-ISOLATION-STAGE-2 all -- docker-040224bd !docker-040224bd 0.0.0.0/0 0.0.0.0/0 2209K 384M DOCKER-ISOLATION-STAGE-2 all -- docker0 !docker0 0.0.0.0/0 0.0.0.0/0 19M 20G DOCKER-ISOLATION-STAGE-2 all -- docker-acee2951 !docker-acee2951 0.0.0.0/0 0.0.0.0/0 23M 22G RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 Chain DOCKER-ISOLATION-STAGE-2 (3 references) pkts bytes target prot opt in out source destination 0 0 DROP all -- * docker-040224bd 0.0.0.0/0 0.0.0.0/0 0 0 DROP all -- * docker0 0.0.0.0/0 0.0.0.0/0 0 0 DROP all -- * docker-acee2951 0.0.0.0/0 0.0.0.0/0 21M 21G RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 Chain DOCKER-USER (1 references) pkts bytes target prot opt in out source destination 23M 22G RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 ```
Author
Owner

@maziggy commented on GitHub (Feb 8, 2026):

Good news: Your setup looks correct — network_mode: host is right, and your iptables rules are not blocking anything (INPUT policy is ACCEPT, no rules filtering the passive port range 50000-50100).

What the logs tell us: The error [Errno 104] Connection reset by peer means Bambu Studio is actively aborting the data transfer (sending a TCP RST). The small verify_job file (16 bytes) always succeeds, but the larger 3MF file fails intermittently mid-transfer.

A few questions/comments:

  1. What Synology model are you running? The virtual printer uses FTPS (FTP over TLS), which is CPU-intensive. On lower-end NAS hardware, TLS decryption of larger file transfers can cause the server to fall behind, and Bambu Studio may time out and abort.
  2. Is anything else running on the NAS that uses significant CPU? (Surveillance Station, media transcoding, etc.) If so, try pausing those during a test.

And most importantly: you are not using an original Bambuddy image! We don't provide support for third party images.

<!-- gh-comment-id:3867096839 --> @maziggy commented on GitHub (Feb 8, 2026): Good news: Your setup looks correct — network_mode: host is right, and your iptables rules are not blocking anything (INPUT policy is ACCEPT, no rules filtering the passive port range 50000-50100). What the logs tell us: The error [Errno 104] Connection reset by peer means Bambu Studio is actively aborting the data transfer (sending a TCP RST). The small verify_job file (16 bytes) always succeeds, but the larger 3MF file fails intermittently mid-transfer. A few questions/comments: 1. What Synology model are you running? The virtual printer uses FTPS (FTP over TLS), which is CPU-intensive. On lower-end NAS hardware, TLS decryption of larger file transfers can cause the server to fall behind, and Bambu Studio may time out and abort. 2. Is anything else running on the NAS that uses significant CPU? (Surveillance Station, media transcoding, etc.) If so, try pausing those during a test. And most importantly: you are not using an original Bambuddy image! We don't provide support for third party images.
Author
Owner

@Percy2Live commented on GitHub (Feb 8, 2026):

I'm using a DS918+ with an Intel J3455 and 16GB of RAM - while this isn't the most powerful CPU, it should have plenty of resources to perform this job. I checked on this particular system and it's around 20% load currently:

Image

I am aware that this isn't the original image, but due to the lack of a released beta version I saw no other chance than to fork it. There are no other changes beside the docker_compose.yml. Please consider releasing beta versions as well, I'm unable to built those manually on Synology - releasing beta versions is common procedure and enables non devs like me to support with testing the latest builds.

<!-- gh-comment-id:3867113569 --> @Percy2Live commented on GitHub (Feb 8, 2026): I'm using a DS918+ with an Intel J3455 and 16GB of RAM - while this isn't the most powerful CPU, it should have plenty of resources to perform this job. I checked on this particular system and it's around 20% load currently: <img width="743" height="611" alt="Image" src="https://github.com/user-attachments/assets/e94ad747-72e4-4236-9e75-760a9d070f6b" /> I am aware that this isn't the original image, but due to the lack of a released beta version I saw no other chance than to fork it. There are no other changes beside the docker_compose.yml. Please consider releasing beta versions as well, I'm unable to built those manually on Synology - releasing beta versions is common procedure and enables non devs like me to support with testing the latest builds.
Author
Owner

@maziggy commented on GitHub (Feb 8, 2026):

Improved file transfer in branch 0.1.9b. Please try again.

If you find Bambuddy useful, please consider giving it a on GitHub — it helps others discover the project!

<!-- gh-comment-id:3867188941 --> @maziggy commented on GitHub (Feb 8, 2026): Improved file transfer in branch 0.1.9b. Please try again. ----- If you find Bambuddy useful, please consider giving it a ⭐ on [GitHub](https://github.com/bambuman/bambuddy) — it helps others discover the project!
Author
Owner

@Percy2Live commented on GitHub (Feb 8, 2026):

Either rebuilding the 0.1.9b release in my fork (after syncing with your branch) was not really successfull or the issue still persists. I will have to wait for a release in your repo for testing

<!-- gh-comment-id:3867400783 --> @Percy2Live commented on GitHub (Feb 8, 2026): Either rebuilding the 0.1.9b release in my fork (after syncing with your branch) was not really successfull or the issue still persists. I will have to wait for a release in your repo for testing
Author
Owner

@notti commented on GitHub (Feb 8, 2026):

Hi, sorry for not sending more details earlier, tried to look into the issue and well - it was very puzzling.
From what I could observer it didn't really look like there was/is an issue in bambuddy - more like in BambuStudio -> Looking at traffic dumps with wireshark, it was always BambuStudio sending RST on the data connection out of nowhere - everything else looked ok. So I set out to debug a bit more - and try to figure out what is going on - including dumping the sslkeylog in bambuddy and have a look at the decrypted connections - also there it looked strange -> data was sent - and out of nowhere bambustudio just sends an RST. Also the small verify_job upload worked always - but also here things looked not like I would expect them (FIN from bambustudio and right away RST again... in the decrypted data I could at least see that the TLS connection was torn down correctly).
Another thing I could see there, that was a bit suspicous is that the TLS-"New Session Ticket" looked very weird (sometimes two right away - also somehow the whole thing looked not like it should from BambuStudio).
Unfortunately I could not really look into what is going on in BambuStudio (could not get tracing to work in a usable way)
So I suspected that maybe something is wrong on this end and patched ftp_server.py to not keep any ssl sessions around - unfortunately that did not work :/
So next try: I had a look at my X1C with nmap what ciphers and TLS version it supports -> X1C seems to only support 1.2 (i only looked at the ftp part [1]) - while connections BambuStudio <-> bambuddy were always TLS1.3 [2]
Well I thought I can give it one last try - maybe TLS 1.3 is the issue... and limited the maximum TLS version in ftp_server.py to 1.2 -> voila - uploads work:

2026-02-08 23:30:21,921 INFO [backend.app.services.virtual_printer.ftp_server] FTP EPSV listening on port 50094
2026-02-08 23:30:21,925 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.0.241: TYPE I
2026-02-08 23:30:21,925 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.0.241: 200 Type set to Binary
2026-02-08 23:30:21,926 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.0.241: STOR final Periodensystem bund_plate_2.gcode.3mf
2026-02-08 23:30:21,927 INFO [backend.app.services.virtual_printer.ftp_server] FTP receiving file: final Periodensystem bund_plate_2.gcode.3mf from 192.168.0.241
2026-02-08 23:30:21,927 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.0.241: 150 Opening data connection for final Periodensystem bund_plate_2.gcode.3mf
2026-02-08 23:30:21,930 INFO [backend.app.services.virtual_printer.ftp_server] FTP data TLS from 192.168.0.241: cipher=('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1.2', 256), version=TLSv1.2, session_reused=True
2026-02-08 23:30:21,930 INFO [backend.app.services.virtual_printer.ftp_server] FTP data connection established from 192.168.0.241
2026-02-08 23:30:22,057 INFO [backend.app.services.virtual_printer.ftp_server] FTP saved file: /app/data/virtual_printer/uploads/final Periodensystem bund_plate_2.gcode.3mf (228448 bytes)
2026-02-08 23:30:22,057 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.0.241: 226 Transfer complete
2026-02-08 23:30:22,057 INFO [backend.app.services.virtual_printer.manager] Virtual printer received file: final Periodensystem bund_plate_2.gcode.3mf from 192.168.0.241

I tried a couple of times and it work every time - so maybe TLS 1.3 is broken in the bambustudio network plugin in linux?

[1]:

990/tcp open  ssl/ftp vsftpd 3.0.3
| ssl-enum-ciphers: 
|   TLSv1.2: 
|     ciphers: 
|       TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 (secp256r1) - A
|       TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (secp256r1) - A
|       TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 (secp256r1) - A
|       TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (secp256r1) - A
|     compressors: 
|       DEFLATE
|       NULL
|     cipher preference: client
|_  least strength: A

[2]:

FTP data TLS from 192.168.0.241: cipher=('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256), version=TLSv1.3, session_reused=False

(session_reused=False with my try to deactivate session sharing - original code would have True here)

PS: for completenes my setup:

BambuStudio: Running on linux via flatpack
bambuddy: Via docker (compose) - network setup as macvlan, the required firewallrules for 9990 -> 990 added directly in the network namespace of the container via nsenter (I already have too much stuff on my host), running on a self-built nas with debian zfs on a ryzen 5600 with 32G ram)

<!-- gh-comment-id:3868481312 --> @notti commented on GitHub (Feb 8, 2026): Hi, sorry for not sending more details earlier, tried to look into the issue and well - it was very puzzling. From what I could observer it didn't really look like there was/is an issue in bambuddy - more like in BambuStudio -> Looking at traffic dumps with wireshark, it was always BambuStudio sending RST on the data connection out of nowhere - everything else looked ok. So I set out to debug a bit more - and try to figure out what is going on - including dumping the sslkeylog in bambuddy and have a look at the decrypted connections - also there it looked strange -> data was sent - and out of nowhere bambustudio just sends an RST. Also the small verify_job upload worked always - but also here things looked not like I would expect them (FIN from bambustudio and right away RST again... in the decrypted data I could at least see that the TLS connection was torn down correctly). Another thing I could see there, that was a bit suspicous is that the TLS-"New Session Ticket" looked very weird (sometimes two right away - also somehow the whole thing looked not like it should from BambuStudio). Unfortunately I could not really look into what is going on in BambuStudio (could not get tracing to work in a usable way) So I suspected that maybe something is wrong on this end and patched ftp_server.py to not keep any ssl sessions around - unfortunately that did not work :/ So next try: I had a look at my X1C with nmap what ciphers and TLS version it supports -> X1C seems to only support 1.2 (i only looked at the ftp part [1]) - while connections BambuStudio <-> bambuddy were always TLS1.3 [2] Well I thought I can give it one last try - maybe TLS 1.3 is the issue... and limited the maximum TLS version in ftp_server.py to 1.2 -> voila - uploads work: ```2026-02-08 23:30:21,921 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.0.241: 229 Entering Extended Passive Mode (|||50094|) 2026-02-08 23:30:21,921 INFO [backend.app.services.virtual_printer.ftp_server] FTP EPSV listening on port 50094 2026-02-08 23:30:21,925 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.0.241: TYPE I 2026-02-08 23:30:21,925 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.0.241: 200 Type set to Binary 2026-02-08 23:30:21,926 INFO [backend.app.services.virtual_printer.ftp_server] FTP <- 192.168.0.241: STOR final Periodensystem bund_plate_2.gcode.3mf 2026-02-08 23:30:21,927 INFO [backend.app.services.virtual_printer.ftp_server] FTP receiving file: final Periodensystem bund_plate_2.gcode.3mf from 192.168.0.241 2026-02-08 23:30:21,927 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.0.241: 150 Opening data connection for final Periodensystem bund_plate_2.gcode.3mf 2026-02-08 23:30:21,930 INFO [backend.app.services.virtual_printer.ftp_server] FTP data TLS from 192.168.0.241: cipher=('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1.2', 256), version=TLSv1.2, session_reused=True 2026-02-08 23:30:21,930 INFO [backend.app.services.virtual_printer.ftp_server] FTP data connection established from 192.168.0.241 2026-02-08 23:30:22,057 INFO [backend.app.services.virtual_printer.ftp_server] FTP saved file: /app/data/virtual_printer/uploads/final Periodensystem bund_plate_2.gcode.3mf (228448 bytes) 2026-02-08 23:30:22,057 INFO [backend.app.services.virtual_printer.ftp_server] FTP -> 192.168.0.241: 226 Transfer complete 2026-02-08 23:30:22,057 INFO [backend.app.services.virtual_printer.manager] Virtual printer received file: final Periodensystem bund_plate_2.gcode.3mf from 192.168.0.241 ``` I tried a couple of times and it work every time - so maybe TLS 1.3 is broken in the bambustudio network plugin in linux? [1]: ``` 990/tcp open ssl/ftp vsftpd 3.0.3 | ssl-enum-ciphers: | TLSv1.2: | ciphers: | TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 (secp256r1) - A | TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (secp256r1) - A | TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 (secp256r1) - A | TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (secp256r1) - A | compressors: | DEFLATE | NULL | cipher preference: client |_ least strength: A ``` [2]: ``` FTP data TLS from 192.168.0.241: cipher=('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256), version=TLSv1.3, session_reused=False ``` (`session_reused=False` with my try to deactivate session sharing - original code would have `True` here) PS: for completenes my setup: BambuStudio: Running on linux via flatpack bambuddy: Via docker (compose) - network setup as macvlan, the required firewallrules for 9990 -> 990 added directly in the network namespace of the container via nsenter (I already have too much stuff on my host), running on a self-built nas with debian zfs on a ryzen 5600 with 32G ram)
Author
Owner

@notti commented on GitHub (Feb 8, 2026):

Would be good if someone else also can test this and confirm (see related pull request)

<!-- gh-comment-id:3868510200 --> @notti commented on GitHub (Feb 8, 2026): Would be good if someone else also can test this and confirm (see related pull request)
Author
Owner

@notti commented on GitHub (Feb 13, 2026):

@Percy2Live does the new release also work for you?

<!-- gh-comment-id:3897469720 --> @notti commented on GitHub (Feb 13, 2026): @Percy2Live does the new release also work for you?
Author
Owner

@Percy2Live commented on GitHub (Feb 15, 2026):

I can confirm that the sending error in Bambu Studio is gone with v0.1.9.
Tried multiple objects multiple times - each one went through without issues. Seems to be fixed

<!-- gh-comment-id:3903895242 --> @Percy2Live commented on GitHub (Feb 15, 2026): I can confirm that the sending error in Bambu Studio is gone with v0.1.9. Tried multiple objects multiple times - each one went through without issues. Seems to be fixed
Author
Owner

@maziggy commented on GitHub (Feb 15, 2026):


If you find Bambuddy useful, please consider giving it a on GitHub — it helps others discover the project!

<!-- gh-comment-id:3904180552 --> @maziggy commented on GitHub (Feb 15, 2026): ----- If you find Bambuddy useful, please consider giving it a ⭐ on [GitHub](https://github.com/bambuman/bambuddy) — it helps others discover the project!
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#24
No description provided.