mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 08:25:54 +02:00
[GH-ISSUE #1120] [Bug]: Can't connect to virtual printer on docker host #801
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#801
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 @maugsburger on GitHub (Apr 24, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/1120
Originally assigned to: @maziggy on GitHub.
Component
Bambuddy
Bug Description
The virtual printer is shown in Orca Slicer, I can start the connection process, but it always fails.
Orca Slicer 2.3.2, tried with Network Plugin 02.01.01.52 and 02.03.00.62
Expected Behavior
The connection works.
Steps to Reproduce
Afterwards, the printer is shown in the device list:
Trying to connect to it gives the same -1 error as above.
Printer Model
X1 Carbon
Bambuddy Version
v0.2.3.2
SpoolBuddy Version
No response
Printer Firmware Version
No response
Installation Method
Docker
Operating System
Docker
Relevant Logs / Support Package
bambuddy-support-20260424-211043.zip
Screenshots
No response
Additional Context
Orca Slicer always has the same error in the logs when trying to connect (detected with the correct ip):
Also checked tcpdump on bost hosts, same packets on both hosts, no firewall is rejecting any packets
Docker config for reference:
SSL certificate is copied and added to local keyring as well, started with
SSL_CERT_FILE=/path/to/certs.crt orca-slicerChecklist
@maziggy commented on GitHub (Apr 25, 2026):
You didn't follow the installation instructions.
Developer mode is not enabled.
Docker network is not using host mode.
@bjQrnen commented on GitHub (Apr 25, 2026):
And if you still get '-1' after this, make sure the certificate is appended correctly. Claude borked this one in its first attempt for me
@maziggy commented on GitHub (Apr 25, 2026):
Wondering why you guys don't read the docs. That's why we write it.
@maugsburger commented on GitHub (Apr 25, 2026):
At this time, my X1C was still updating to the latest firmware, and the old FW was too old for developer mode. It is updated now, but this didn't change anything. Error is still the same.
Additionally, I don't see any reason why the config of the physical printer should affect the virtual one.
As I wrote above, I'm using ipvlan with a seperate IP. This should (and if not, I'd love to find the reasion and fix it) be identical to host mode, except for using a different IP. There are reasons I can't use host mode here.
The docs suggest there is no hard need for host mode, only leading to SSDP discovery failing: https://wiki.bambuddy.cool/features/virtual-printer/#docker-macos-windows
@maziggy commented on GitHub (Apr 25, 2026):
Reboot aber enabling dev mode.
Did you import the certificate as per the docs?
@maugsburger commented on GitHub (Apr 25, 2026):
I tried :>
But this was finally the solution, yesterday I copied
/etc/ssl/certs/ca-certificates.crt, added the cert there and set this asSSL_CERT_FILE(see above), as there is no~/.local/share/OrcaSlicer/resources/cert/printer.ceron my system.Today I digged a bit deeper and searched for the exact
printer.cerfile, finally found it in/opt/orca-slicer/resources/cert/printer.cer, and now it seems to work flawlessly.I will prepare a clarification and PR for the docs, had I understand earlier that there are two different keyrings used by OrcaSlicer, and you should not get fooled by the warning when starting up, this would have saved me some trouble and pointless debugging.
@maziggy commented on GitHub (Apr 25, 2026):
Yeah, I know that the docs are not perfect. We are desperately seeking for a contributor who is willing the improve the docs. Unfortunately I simply don't have the time.
@maugsburger commented on GitHub (Apr 25, 2026):
Here you go: https://github.com/maziggy/bambuddy-wiki/pull/20
@maziggy commented on GitHub (Apr 25, 2026):
Thank you very much!