mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 08:25:54 +02:00
[GH-ISSUE #537] [Bug]: Virtual Printer not reachable behind reverse proxy #344
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#344
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 @Cutyno on GitHub (Feb 27, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/537
Originally assigned to: @maziggy on GitHub.
Bug Description
If run in a docker compose setup with a reverse proxy the virtual printer is not reachable from BambuStudio. It is not possible to set the bambuddy container to network_host.
Expected Behavior
It should be possible to input the real ip address as the binding address of the host system (not only detect the ip address of the docker container).
Steps to Reproduce
Printer Model
X1E
Bambuddy Version
0.1.2 - 0.2.1
Printer Firmware Version
01.02.00.00
Installation Method
Docker
Operating System
Linux (Ubuntu/Debian)
Relevant Logs / Support Package
Screenshots
No response
Additional Context
No response
Checklist
@maziggy commented on GitHub (Feb 28, 2026):
This is unfortunately a fundamental Docker networking limitation rather than a Bambuddy bug.
The virtual printer relies on SSDP multicast (UDP) for BambuStudio to discover it. Multicast traffic does not traverse Docker bridge networks, so even with all TCP ports forwarded, BambuStudio can never discover the virtual printer. There's also no way to manually add a LAN printer by IP in BambuStudio — it relies entirely on SSDP.
Working configurations:
Would either of these work for your setup? If you're using network_mode: host for other containers and that's the conflict, you could split Bambuddy into its own compose file with network_mode: host while keeping nginx in a separate bridge network.
@nerdspar commented on GitHub (Mar 1, 2026):
I've been using macvlan with Bambuddy itself behind a reverse proxy and multiple virtual printers for a few weeks and it's been working great. I second that recommendation.
@maziggy commented on GitHub (Mar 1, 2026):
Are you willing to contribute and write down a howto?
@nerdspar commented on GitHub (Mar 2, 2026):
I guess I lied. I thought I had it working with macvlans as I had messed with it a bit but ended up just using the two NICs on my host for my two printers instead. I'm trying to get it working but running into issues. Will update if I get things figured out.
@Cutyno commented on GitHub (Mar 2, 2026):
Thanks for the clarification! I don't see why neither of those solutions wouldn't work. Let me test it first.
@Cutyno commented on GitHub (Mar 3, 2026):
Ok I figured out another problem. The first problems stands. I configured the reverse proxy to use TLS certificates and publishing the http port to the host network makes this kinda pointless.
But I don't need a solution for this anymore. As I just figured out my PC and the server running bambuddy are in different VLANs and SSDP are blocked from traversing. I guess there will be no fix due to the limitation originates from BambuLab and not Bambuddy.
Anyway! Thanks for this great project. Keep the good work up!