mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 08:25:54 +02:00
[GH-ISSUE #1096] [Bug]: spoolman ingress proxying doesnt work behind https #781
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#781
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 @jsapede on GitHub (Apr 23, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/1096
Originally assigned to: @maziggy on GitHub.
Component
Bambuddy
Bug Description
setting up bambuddy behind proxy (traefik) serving https access breaks the "ingress" proxying of spoolman :
Expected Behavior
show spoolman content
Steps to Reproduce
Add spoolman with http://IP:PORT
fo to filament in sidebar
Printer Model
None
Bambuddy Version
0.2.3.2
SpoolBuddy Version
No response
Printer Firmware Version
No response
Installation Method
Docker
Operating System
Linux (Other)
Relevant Logs / Support Package
No response
Screenshots
No response
Additional Context
No response
Checklist
@maziggy commented on GitHub (Apr 23, 2026):
There's no need to add it to the sidebar. Just enable Spoolman integration via Settings -> Filament -> Filament Tracking and the link is automatically added to the sidebar.
Thanks for the report. What you're seeing is correct browser behaviour, not a Bambuddy bug: the browser refuses to embed an HTTP iframe inside an HTTPS parent page (mixed-content rule, independent of CSP). Bambuddy can't override that — nor should it.
The fix for your setup is to put Spoolman behind the same Traefik instance as Bambuddy with HTTPS (new public hostname + cert), then update the Spoolman URL in Settings to the HTTPS address. Once both are HTTPS, the iframe renders normally.
That said, the silent blank page isn't great UX — it gives you no hint what's wrong. In dev I've replaced the silent iframe with an inline warning card that detects the protocol mismatch and explains it, along with an "Open Spoolman in a new tab" workaround button (mixed-content only applies to embedded frames, so a standalone tab still works). Lands with the next daily build.
Closing as working-as-intended — the real fix for your setup is the HTTPS Spoolman deployment.
@jsapede commented on GitHub (Apr 23, 2026):
putting spoolman in https with traefik will expose it worldwide. is adding a little proxy like caddy between bambuddy and spoolman will allow to manage https (selfsigned ?) without exposing spoolman ?
@maziggy commented on GitHub (Apr 23, 2026):
Yes, exactly — that's the standard self-hosting pattern, and the one I'd recommend. "HTTPS for Spoolman" does not mean "Spoolman on the public internet." Three ways to do it without exposing anything:
The mixed-content rule doesn't care whether the HTTPS iframe is public or LAN-only — it just needs to be HTTPS.