mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 08:25:54 +02:00
[GH-ISSUE #620] [Bug]: X1C Virtual Printer Error -1 #402
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#402
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 @maziggy on GitHub (Mar 5, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/620
Originally assigned to: @maziggy on GitHub.
Originally posted by @begna112 in #618
@maziggy commented on GitHub (Mar 5, 2026):
Good catch and spot on! Thanhs for pointing this out!
Fixed in branch 0.2.2b2.
If you find Bambuddy useful, please consider giving it a ⭐ on GitHub — it helps others discover the project!
@begna112 commented on GitHub (Mar 5, 2026):
Thanks for the quick cipher fix! Confirmed that resolves the Bind-TLS handshake failure.
Found a second issue in the same file after testing further with OrcaSlicer: FTP data connections fail with an SSL error when PROT P is active.
The FTP data proxy in
tcp_proxy.pyalways starts the slicer-side data listener as cleartext, with a comment noting that Bambu Studio doesn't do TLS on data connections even after PROT P. However, OrcaSlicer does expect TLS on the data channel after PROT P, so the FTP file upload fails with an SSL handshake error.Fix: In
_start_data_proxy_server, pass the server SSL context toasyncio.start_serverwhenuse_tlsis True:With both fixes applied (cipher + FTP data TLS), the full proxy flow works end-to-end with OrcaSlicer and an X1C: MQTT, Bind-TLS, and FTP uploads all succeed. Printer control and print sending both work through the virtual printer.
edit: scratch that, i spoke to soon. allowed me to get to another new error after appearing to upload properly.