mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 05:35:30 +02:00
[GH-ISSUE #557] [Bug]: Cannot connect Bambu Studio to Virtual Printer #365
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
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#365
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 @SyFizz on GitHub (Feb 28, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/557
Originally assigned to: @maziggy on GitHub.
Bug Description
Hello,
I spent 3 hours trying to connect Bambu Studio to a Bambuddy Virtual Printer.
In the logs, i have the following error :
2026-02-28 18:34:57,788 INFO [backend.app.services.virtual_printer.bind_server] Bind server: client connected from 192.168.0.54:59064
2026-02-28 18:34:57,788 WARNING [backend.app.services.virtual_printer.bind_server] Bind server: invalid frame from 192.168.0.54:59064
2026-02-28 18:34:59,795 INFO [backend.app.services.virtual_printer.bind_server] Bind server: client connected from 192.168.0.54:59065
2026-02-28 18:34:59,796 WARNING [backend.app.services.virtual_printer.bind_server] Bind server: invalid frame from 192.168.0.54:59065
I added the CA certificate to the Bambu Studio printer.cer file, and followed the documentation.
Expected Behavior
The virtual printer should connect without any issue.
Steps to Reproduce
Printer Model
P1S
Bambuddy Version
0.2.1.1
Printer Firmware Version
01.09.01.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):
Support file is not attached.
@SyFizz commented on GitHub (Feb 28, 2026):
Hello,
Sorry, here it is :
bambuddy-support-20260228-184007.zip
@maziggy commented on GitHub (Feb 28, 2026):
The first log line shows:
2026-02-27 21:03:29,685 ERROR [backend.app.services.virtual_printer.manager] Cannot create directory /app/data/virtual_printer/uploads: Permission denied. For Docker: ensure the data volume is writable by the container user. For bare metal: run 'sudo chown -R $(whoami) /app/data/virtual_printer'
Secondly your Docker network is not running in host mode:
that will cause all the network related errors in logs.
@SyFizz commented on GitHub (Feb 28, 2026):
I solved that permission problem yesterday already (just chmodded the folder)
For the docker network, i don't understand, i use the provided docker compose with the install script :
@maziggy commented on GitHub (Feb 28, 2026):
What OS is Docker running on?
@SyFizz commented on GitHub (Feb 28, 2026):
Debian :
@maziggy commented on GitHub (Feb 28, 2026):
Mhhhh....curious. So now where the permisson problem is fixed, I need a new support package please.
@SyFizz commented on GitHub (Feb 28, 2026):
Here's a new one :
bambuddy-support-20260228-201426.zip
@maziggy commented on GitHub (Feb 28, 2026):
Developer mode is really enabled on all printers?
@SyFizz commented on GitHub (Feb 28, 2026):
Here's some more details i got while trying to troubleshoot (192.168.0.54 is my computer) :
@maziggy commented on GitHub (Feb 28, 2026):
Too quick! We first need to get Bambuddy running properly!
@maziggy commented on GitHub (Feb 28, 2026):
So Developer mode is really enabled on all printers?
@SyFizz commented on GitHub (Feb 28, 2026):
I just checked, Yes it is :)
@SyFizz commented on GitHub (Feb 28, 2026):
Bambuddy looks like it's running properly, I can manage my printers from there
The issue is specifically the virtual printer feature
@maziggy commented on GitHub (Feb 28, 2026):
OK....so for the virtual printer SSDP is mandatory and SSDP requires network mode host. Without mode host, it cannot work.
There must be something on your system. I know for 100% sure, that it shows
"network_mode_hint": "host"
when Docker network is in host mode. But yours shows
"network_mode_hint": "bridge"
I'm very sure that this is the problem.
Are you running Portainer or something like that? I'm also wondering what Docker version you are running (since your OS is quite old - Debian 11)?
@SyFizz commented on GitHub (Feb 28, 2026):
Here's the output of
docker version:Also, i'm running CasaOS on this server.

I think the container is actually in host mode :
@maziggy commented on GitHub (Feb 28, 2026):
Very strange. What else? Oh yes, iptables rules are set?
@SyFizz commented on GitHub (Feb 28, 2026):
Yep :
@maziggy commented on GitHub (Feb 28, 2026):
Damn.
Tell me something about your network topology/setup.
@maziggy commented on GitHub (Feb 28, 2026):
And show me a screenshot of your virtual printer settings please.
@SyFizz commented on GitHub (Feb 28, 2026):
Just a classic ISP router with a 192.168.0.0/24 range
The server is a Lenovo tiny pc, baremetal debian 11 with CasaOS installed (should not interfere with bambuddy), and have a DHCP ipv4 and 2 aliases :
My laptop is on the same subnet, over WiFi.
Here's the screenshot you requested :
@maziggy commented on GitHub (Feb 28, 2026):
Are you kidding me? You didn't select a target printer!
@SyFizz commented on GitHub (Feb 28, 2026):
I didn’t thought it was mandatory, since I want to queue prints to dispatch them on different printers at once after sending…
Sorry for the bothering if that’s the issue
I’ll try setting one when I get back at home
@SyFizz commented on GitHub (Feb 28, 2026):
@maziggy I did the same thing with a printer selected, and the issue remains the same.
@maziggy commented on GitHub (Mar 1, 2026):
Need a new support package please.
@maziggy commented on GitHub (Mar 1, 2026):
https://github.com/maziggy/bambuddy/issues/559