[GH-ISSUE #489] [Bug]: Unable to connect Camera Stream (H2C, V1.05.00) #311

Closed
opened 2026-05-06 12:28:12 +02:00 by BreizhHardware · 12 comments

Originally created by @speedy764 on GitHub (Feb 22, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/489

Originally assigned to: @maziggy on GitHub.

Bug Description

Good day. I need your help.
Running on Bambuddy V0.2.0. and firmware 1.05.00 of the H2C.
Since I was unable to set up the virtual printer in Bridge Mode (Docker - WSL, PC:A) in BBL Studio, I installed a VM (HyperV) with Ubuntu 24 on my other computer and set up a new installation with Docker in Host Mode (PC:B). This works fine. I see the virtual printer (proxy-mode). But the connection to the camera stream does not work. When I run both installations in parallel, I have a camera image in the Docker (Bridge, PC:A) but not in the Docker (Host, PC:B).

Expected Behavior

bambuddy-support-20260222-141335.zip

Steps to Reproduce

Open Camera view from the printer page.
Windows (see screenshot) opens, but run in a loop to reconnect

Printer Model

H2C

Bambuddy Version

0.2.0

Printer Firmware Version

1.05.00

Installation Method

Docker

Operating System

Linux (Ubuntu/Debian)

Relevant Logs / Support Package


Screenshots

Image

Additional Context

No response

Checklist

  • I have searched existing issues to ensure this bug hasn't already been reported
  • I am using the latest version of Bambuddy
  • My printer is set to LAN Only mode
Originally created by @speedy764 on GitHub (Feb 22, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/489 Originally assigned to: @maziggy on GitHub. ### Bug Description Good day. I need your help. Running on Bambuddy V0.2.0. and firmware 1.05.00 of the H2C. Since I was unable to set up the virtual printer in Bridge Mode (Docker - WSL, PC:A) in BBL Studio, I installed a VM (HyperV) with Ubuntu 24 on my other computer and set up a new installation with Docker in Host Mode (PC:B). This works fine. I see the virtual printer (proxy-mode). But the connection to the camera stream does not work. When I run both installations in parallel, I have a camera image in the Docker (Bridge, PC:A) but not in the Docker (Host, PC:B). ### Expected Behavior [bambuddy-support-20260222-141335.zip](https://github.com/user-attachments/files/25469128/bambuddy-support-20260222-141335.zip) ### Steps to Reproduce Open Camera view from the printer page. Windows (see screenshot) opens, but run in a loop to reconnect ### Printer Model H2C ### Bambuddy Version 0.2.0 ### Printer Firmware Version 1.05.00 ### Installation Method Docker ### Operating System Linux (Ubuntu/Debian) ### Relevant Logs / Support Package ```shell ``` ### Screenshots ![Image](https://github.com/user-attachments/assets/7ff13b01-3407-4f55-aaf0-cebaa72e92c7) ### Additional Context _No response_ ### Checklist - [x] I have searched existing issues to ensure this bug hasn't already been reported - [x] I am using the latest version of Bambuddy - [x] My printer is set to LAN Only mode
BreizhHardware 2026-05-06 12:28:12 +02:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@maziggy commented on GitHub (Feb 22, 2026):

Show me a picture of your printer's LAN Only settings menu.

<!-- gh-comment-id:3941253209 --> @maziggy commented on GitHub (Feb 22, 2026): Show me a picture of your printer's LAN Only settings menu.
Author
Owner

@speedy764 commented on GitHub (Feb 24, 2026):

Image

<!-- gh-comment-id:3954177645 --> @speedy764 commented on GitHub (Feb 24, 2026): ![Image](https://github.com/user-attachments/assets/687baf3f-715c-46c7-8533-f45dcb044b17)
Author
Owner

@speedy764 commented on GitHub (Feb 26, 2026):

Sorry seems that I closed the issue when I uploaded the picture, ...

<!-- gh-comment-id:3968810831 --> @speedy764 commented on GitHub (Feb 26, 2026): Sorry seems that I closed the issue when I uploaded the picture, ...
Author
Owner

@maziggy commented on GitHub (Feb 27, 2026):

Please use branch 0.2.1 and send me a new support package.

<!-- gh-comment-id:3971129731 --> @maziggy commented on GitHub (Feb 27, 2026): Please use branch 0.2.1 and send me a new support package.
Author
Owner

@speedy764 commented on GitHub (Feb 28, 2026):

I have updated both installions to 0.2.1. The problem is still the same. I am able to connect to camera on the Docker (WSL-Bridge) but not on Docker (HyperV / Ubuntu 24 / Host mode). I have added the support file.

Camera_bambuddy-support-20260228-100901.zip

<!-- gh-comment-id:3976903204 --> @speedy764 commented on GitHub (Feb 28, 2026): I have updated both installions to 0.2.1. The problem is still the same. I am able to connect to camera on the Docker (WSL-Bridge) but not on Docker (HyperV / Ubuntu 24 / Host mode). I have added the support file. [Camera_bambuddy-support-20260228-100901.zip](https://github.com/user-attachments/files/25620648/Camera_bambuddy-support-20260228-100901.zip)
Author
Owner

@maziggy commented on GitHub (Feb 28, 2026):

Looks like Bambu Lab changed the internal model code for the H2C from O1C to O1C2. Added new model ID and camera stream should now work with branch 0.2.2b1.

I see a lot of networking errors in your logs. This is, because you don't run the Docker network in mode host, but bridge. Please note, that Bambuddy is requiring host mode!!!

"network_mode_hint": "bridge"

<!-- gh-comment-id:3976995436 --> @maziggy commented on GitHub (Feb 28, 2026): Looks like Bambu Lab changed the internal model code for the H2C from O1C to O1C2. Added new model ID and camera stream should now work with branch 0.2.2b1. I see a lot of networking errors in your logs. This is, because you don't run the Docker network in mode host, but bridge. Please note, that Bambuddy is requiring host mode!!! "network_mode_hint": "bridge"
Author
Owner

@speedy764 commented on GitHub (Feb 28, 2026):

No. the Docker is running in network mode host:

Image

Here is my compose.yml
compose (Linux).yml

<!-- gh-comment-id:3977027748 --> @speedy764 commented on GitHub (Feb 28, 2026): No. the Docker is running in network mode host: <img width="1045" height="278" alt="Image" src="https://github.com/user-attachments/assets/235f5c2e-8eb3-40f9-8eca-4f46e01371b1" /> Here is my compose.yml [compose (Linux).yml](https://github.com/user-attachments/files/25620916/compose.Linux.yml)
Author
Owner

@maziggy commented on GitHub (Feb 28, 2026):

Nice picture :)

I don't know Docker WSL and HyperV. Perhaps it is handled different internally. Don't know. Sorry.

Back to the main issue: is the caanera working now?

<!-- gh-comment-id:3977032771 --> @maziggy commented on GitHub (Feb 28, 2026): Nice picture :) I don't know Docker WSL and HyperV. Perhaps it is handled different internally. Don't know. Sorry. Back to the main issue: is the caanera working now?
Author
Owner

@speedy764 commented on GitHub (Feb 28, 2026):

Camaera is working running in Network_mode:bridge but not on the client with network_mode:host.

On docker in (Bridge-mode) the camera stream seams to be initiate via Starting RTSP camera stream for 192.168.178.143 (stream_id=1-2bffb38d, model=H2C, fps=15)
on Docker in (host-mode) the camera stream is initated via api/v1/printesr/1/camera/stream?fps=15&t......

Not sure could that be the issue....

<!-- gh-comment-id:3977129574 --> @speedy764 commented on GitHub (Feb 28, 2026): Camaera is working running in Network_mode:bridge but not on the client with network_mode:host. On docker in (Bridge-mode) the camera stream seams to be initiate via Starting RTSP camera stream for 192.168.178.143 (stream_id=1-2bffb38d, model=H2C, fps=15) on Docker in (host-mode) the camera stream is initated via api/v1/printesr/1/camera/stream?fps=15&t...... Not sure could that be the issue....
Author
Owner

@maziggy commented on GitHub (Feb 28, 2026):

Looking at your support package, setup is actually running in bridge mode — the network_mode_hint confirms this:

"network_mode_hint": "bridge"

Why? network_mode: host on Docker Desktop for Windows doesn't work the same as on native Linux. Docker Desktop runs containers inside a WSL2 / Hyper-V Linux VM, so host networking gives the container access to the VM's network stack — not your actual Windows host network. Effectively, it's still bridge mode.

This is a Docker Desktop limitation, not a Bambuddy issue. True network_mode: host is only supported on native Linux Docker.

The two different messages you noticed aren't different behavior — they're just different layers of the same flow:

  • api/v1/printers/1/camera/stream?fps=15&t=... → the browser request (what you see in the network tab)
  • Starting RTSP camera stream for 192.168.178.143 → the backend log (what you see in docker logs)

The browser hits the API endpoint, which then triggers the RTSP/ffmpeg stream internally. Both your setups go through the exact same code path.

<!-- gh-comment-id:3977141319 --> @maziggy commented on GitHub (Feb 28, 2026): Looking at your support package, setup is actually running in bridge mode — the network_mode_hint confirms this: "network_mode_hint": "bridge" Why? network_mode: host on Docker Desktop for Windows doesn't work the same as on native Linux. Docker Desktop runs containers inside a WSL2 / Hyper-V Linux VM, so host networking gives the container access to the VM's network stack — not your actual Windows host network. Effectively, it's still bridge mode. This is a Docker Desktop limitation, not a Bambuddy issue. True network_mode: host is only supported on native Linux Docker. The two different messages you noticed aren't different behavior — they're just different layers of the same flow: - api/v1/printers/1/camera/stream?fps=15&t=... → the browser request (what you see in the network tab) - Starting RTSP camera stream for 192.168.178.143 → the backend log (what you see in docker logs) The browser hits the API endpoint, which then triggers the RTSP/ffmpeg stream internally. Both your setups go through the exact same code path.
Author
Owner

@speedy764 commented on GitHub (Feb 28, 2026):

Thanks.Maybe I confused youTo clarify, Installation 1: Camera does not workI run a native Ununtu Installation as VM hosted on HyperV. IPAddress from my LAN. Docker runs in this Linux VM. Bambuddy runs in Host mode.Installation 2: Camera worksThis run on Docker in WSL.(Windows)Bambuddy runs in bridge mode with Port configuration.I dont know why do you see my Installation 1 in bridge mode...Let me go back to prevously creste Checkpoint and Start again and install docker again..Gesendet von Outlook für AndroidVon: MartinNYHC @.>Gesendet: Samstag, Februar 28, 2026 2:04:40 PMAn: maziggy/bambuddy @.>Cc: speedy764 @.>; State change @.>Betreff: Re: [maziggy/bambuddy] [Bug]: Unable to connect Camera Stream (H2C,
V1.05.00) (Issue #489)maziggy left a comment (maziggy/bambuddy#489)Looking at your support package, setup is actually running in bridge mode — the network_mode_hint confirms this:"network_mode_hint": "bridge"Why? network_mode: host on Docker Desktop for Windows doesn't work the same as on native Linux. Docker Desktop runs containers inside a WSL2 / Hyper-V Linux VM, so host networking gives the container access to the VM's network stack — not your actual Windows host network. Effectively, it's still bridge mode.This is a Docker Desktop limitation, not a Bambuddy issue. True network_mode: host is only supported on native Linux Docker.The two different messages you noticed aren't different behavior — they're just different layers of the same flow:api/v1/printers/1/camera/stream?fps=15&t=... → the browser request (what you see in the network tab)Starting RTSP camera stream for 192.168.178.143 → the backend log (what you see in docker logs)The browser hits the API endpoint, which then triggers the RTSP/ffmpeg stream internally. Both your setups go through the exact same code path.—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you modified the open/close state.

<!-- gh-comment-id:3977232778 --> @speedy764 commented on GitHub (Feb 28, 2026): Thanks.Maybe I confused youTo clarify, Installation 1: Camera does not workI run a native Ununtu Installation as VM hosted on HyperV. IPAddress from my LAN. Docker runs in this Linux VM. Bambuddy runs in Host mode.Installation 2: Camera worksThis run on Docker in WSL.(Windows)Bambuddy runs in bridge mode with Port configuration.I dont know why do you see my Installation 1 in bridge mode...Let me go back to prevously creste Checkpoint and Start again and install docker again..Gesendet von Outlook für AndroidVon: MartinNYHC ***@***.***>Gesendet: Samstag, Februar 28, 2026 2:04:40 PMAn: maziggy/bambuddy ***@***.***>Cc: speedy764 ***@***.***>; State change ***@***.***>Betreff: Re: [maziggy/bambuddy] [Bug]: Unable to connect Camera Stream (H2C, V1.05.00) (Issue #489)maziggy left a comment (maziggy/bambuddy#489)Looking at your support package, setup is actually running in bridge mode — the network_mode_hint confirms this:"network_mode_hint": "bridge"Why? network_mode: host on Docker Desktop for Windows doesn't work the same as on native Linux. Docker Desktop runs containers inside a WSL2 / Hyper-V Linux VM, so host networking gives the container access to the VM's network stack — not your actual Windows host network. Effectively, it's still bridge mode.This is a Docker Desktop limitation, not a Bambuddy issue. True network_mode: host is only supported on native Linux Docker.The two different messages you noticed aren't different behavior — they're just different layers of the same flow:api/v1/printers/1/camera/stream?fps=15&t=... → the browser request (what you see in the network tab)Starting RTSP camera stream for 192.168.178.143 → the backend log (what you see in docker logs)The browser hits the API endpoint, which then triggers the RTSP/ffmpeg stream internally. Both your setups go through the exact same code path.—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you modified the open/close state.
Author
Owner

@speedy764 commented on GitHub (Mar 4, 2026):

Hi Martin, soory for late response, I didn't get the time earlier to build a new Ubuntu VM. Camera is working as designed in 02.2.b1 (Host mode). THX

<!-- gh-comment-id:3999213925 --> @speedy764 commented on GitHub (Mar 4, 2026): Hi Martin, soory for late response, I didn't get the time earlier to build a new Ubuntu VM. Camera is working as designed in 02.2.b1 (Host mode). THX
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bambuddy#311
No description provided.