1
0
Fork 0
mirror of https://github.com/maziggy/bambuddy.git synced 2026-05-09 08:25:54 +02:00

[GH-ISSUE #1091] [Bug Report] Unable to view live camera stream after updating to 0.2.3.2 #777

Closed
opened 2026-05-07 00:13:42 +02:00 by BreizhHardware · 2 comments

Originally created by @maziggy on GitHub (Apr 23, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/1091

Originally assigned to: @maziggy on GitHub.

Unable to view live camera stream after updating to 0.2.3.2

Screenshot

Bug Report Screenshot

Reporter Contact

Email: kingjony@hotmail.com

System Information
{
  "generated_at": "2026-04-23T11:22:28.362501",
  "app": {
    "version": "0.2.3.2",
    "debug_mode": false
  },
  "system": {
    "platform": "Linux",
    "platform_release": "6.12.62+rpt-rpi-v8",
    "platform_version": "#1 SMP PREEMPT Debian 1:6.12.62-1+rpt1~bookworm (2026-01-19)",
    "architecture": "aarch64",
    "python_version": "3.11.2"
  },
  "environment": {
    "docker": false,
    "data_dir": "/opt/[user]/data",
    "log_dir": "/opt/[user]/logs",
    "timezone": "Australia/Sydney"
  },
  "database": {
    "archives_total": 115,
    "archives_completed": 100,
    "printers_total": 1,
    "filaments_total": 0,
    "projects_total": 0,
    "smart_plugs_total": 0
  },
  "printers": [
    {
      "index": 1,
      "model": "X1C",
      "nozzle_count": 1,
      "is_active": true,
      "mqtt_connected": true,
      "state": "RUNNING",
      "firmware_version": "01.10.00.00",
      "wifi_signal": -43,
      "reachable": true,
      "ams_unit_count": 1,
      "ams_tray_count": 2,
      "has_vt_tray": true,
      "external_camera_configured": false,
      "plate_detection_enabled": false,
      "hms_error_count": 0,
      "developer_mode": true,
      "nozzle_rack_count": 1
    }
  ],
  "settings": {
    "auth_enabled": "true",
    "setup_completed": "true",
    "auto_archive": "true",
    "save_thumbnails": "true",
    "capture_finish_photo": "true",
    "default_filament_cost": "30.99",
    "currency": "AUD",
    "energy_cost_per_kwh": "0.15",
    "energy_tracking_mode": "print",
    "check_updates": "true",
    "check_printer_firmware": "true",
    "notification_language": "en",
    "bed_cooled_threshold": "35.0",
    "ams_humidity_good": "40",
    "ams_humidity_fair": "60",
    "ams_temp_good": "28.0",
    "ams_temp_fair": "35.0",
    "ams_history_retention_days": "30",
    "per_printer_mapping_expanded": "false",
    "date_format": "eu",
    "time_format": "12h",
    "default_printer_id": "2",
    "ftp_retry_enabled": "true",
    "ftp_retry_count": "3",
    "ftp_retry_delay": "2",
    "ftp_timeout": "30",
    "mqtt_enabled": "false",
    "mqtt_broker": "",
    "mqtt_port": "1883",
    "mqtt_username": "",
    "mqtt_password": "",
    "mqtt_topic_prefix": "bambuddy",
    "mqtt_use_tls": "false",
    "external_url": "[REDACTED]",
    "ha_enabled": "false",
    "ha_url": "",
    "ha_token": "",
    "library_archive_mode": "never",
    "library_disk_warning_gb": "5.0",
    "camera_view_mode": "window",
    "preferred_slicer": "bambu_studio",
    "prometheus_enabled": "false",
    "prometheus_token": "",
    "spoolman_enabled": "false",
    "spoolman_url": "",
    "spoolman_sync_mode": "auto",
    "spoolman_disable_weight_sync": "false",
    "spoolman_report_partial_usage": "true",
    "smtp_host": "[REDACTED]",
    "smtp_port": "2525",
    "smtp_security": "starttls",
    "smtp_auth_enabled": "true",
    "smtp_from_email": "[REDACTED]",
    "smtp_from_name": "Bambuddy",
    "smtp_username": "[REDACTED]",
    "smtp_password": "[REDACTED]",
    "advanced_auth_enabled": "true",
    "include_beta_updates": "false",
    "bambu_cloud_token": "[REDACTED]",
    "bambu_cloud_email": "[REDACTED]",
    "disable_filament_warnings": "true",
    "prefer_lowest_filament": "false",
    "queue_drying_enabled": "false",
    "queue_drying_block": "false",
    "ambient_drying_enabled": "false",
    "drying_presets": "",
    "user_notifications_enabled": "true",
    "default_bed_levelling": "true",
    "default_flow_cali": "false",
    "default_vibration_cali": "true",
    "default_layer_inspect": "true",
    "default_timelapse": "false",
    "stagger_group_size": "2",
    "stagger_interval_minutes": "5",
    "require_plate_clear": "true",
    "debug_logging_enabled": "false",
    "debug_logging_enabled_at": ""
  },
  "virtual_printers": [],
  "integrations": {
    "notification_providers": [
      {
        "type": "email",
        "enabled": true,
        "has_last_error": false
      }
    ],
    "spoolman": {
      "enabled": false,
      "reachable": false
    },
    "mqtt_relay": {
      "enabled": false,
      "connected": false,
      "broker": "",
      "port": 0,
      "topic_prefix": "bambuddy"
    },
    "spoolbuddy": {
      "device_count": 0,
      "online_count": 0,
      "devices": []
    },
    "homeassistant": {
      "enabled": false
    }
  },
  "database_health": {
    "backend": "sqlite",
    "journal_mode": "wal",
    "quick_check": "ok",
    "db_size_bytes": 4481024,
    "wal_size_bytes": 2216592
  },
  "dependencies": {
    "fastapi": "0.131.0",
    "uvicorn": "0.41.0",
    "pydantic": "2.12.5",
    "sqlalchemy": "2.0.46",
    "paho-mqtt": "2.1.0",
    "psutil": "7.2.2",
    "httpx": "0.28.1",
    "aiofiles": "25.1.0",
    "cryptography": "46.0.7",
    "opencv-python-headless": "4.13.0.92",
    "numpy": "2.4.2"
  },
  "log_file": {
    "size_bytes": 2672663,
    "size_formatted": "2.5 MB"
  },
  "network": {
    "interface_count": 1,
    "interfaces": [
      {
        "name": "eth0",
        "subnet": "x.x.1.0/24"
      }
    ]
  },
  "websockets": {
    "active_connections": 1
  }
}

Logs (sanitized): bambuddy.log


Submitted via BamBuddy Bug Report

Originally created by @maziggy on GitHub (Apr 23, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/1091 Originally assigned to: @maziggy on GitHub. Unable to view live camera stream after updating to 0.2.3.2 ### Screenshot ![Bug Report Screenshot](https://raw.githubusercontent.com/maziggy/bambuddy/bug-report-assets/screenshots/3576abbc073d44c591d821ae1adf9c6f.png) <details> <summary>Reporter Contact</summary> Email: kingjony@hotmail.com </details> <details> <summary>System Information</summary> ```json { "generated_at": "2026-04-23T11:22:28.362501", "app": { "version": "0.2.3.2", "debug_mode": false }, "system": { "platform": "Linux", "platform_release": "6.12.62+rpt-rpi-v8", "platform_version": "#1 SMP PREEMPT Debian 1:6.12.62-1+rpt1~bookworm (2026-01-19)", "architecture": "aarch64", "python_version": "3.11.2" }, "environment": { "docker": false, "data_dir": "/opt/[user]/data", "log_dir": "/opt/[user]/logs", "timezone": "Australia/Sydney" }, "database": { "archives_total": 115, "archives_completed": 100, "printers_total": 1, "filaments_total": 0, "projects_total": 0, "smart_plugs_total": 0 }, "printers": [ { "index": 1, "model": "X1C", "nozzle_count": 1, "is_active": true, "mqtt_connected": true, "state": "RUNNING", "firmware_version": "01.10.00.00", "wifi_signal": -43, "reachable": true, "ams_unit_count": 1, "ams_tray_count": 2, "has_vt_tray": true, "external_camera_configured": false, "plate_detection_enabled": false, "hms_error_count": 0, "developer_mode": true, "nozzle_rack_count": 1 } ], "settings": { "auth_enabled": "true", "setup_completed": "true", "auto_archive": "true", "save_thumbnails": "true", "capture_finish_photo": "true", "default_filament_cost": "30.99", "currency": "AUD", "energy_cost_per_kwh": "0.15", "energy_tracking_mode": "print", "check_updates": "true", "check_printer_firmware": "true", "notification_language": "en", "bed_cooled_threshold": "35.0", "ams_humidity_good": "40", "ams_humidity_fair": "60", "ams_temp_good": "28.0", "ams_temp_fair": "35.0", "ams_history_retention_days": "30", "per_printer_mapping_expanded": "false", "date_format": "eu", "time_format": "12h", "default_printer_id": "2", "ftp_retry_enabled": "true", "ftp_retry_count": "3", "ftp_retry_delay": "2", "ftp_timeout": "30", "mqtt_enabled": "false", "mqtt_broker": "", "mqtt_port": "1883", "mqtt_username": "", "mqtt_password": "", "mqtt_topic_prefix": "bambuddy", "mqtt_use_tls": "false", "external_url": "[REDACTED]", "ha_enabled": "false", "ha_url": "", "ha_token": "", "library_archive_mode": "never", "library_disk_warning_gb": "5.0", "camera_view_mode": "window", "preferred_slicer": "bambu_studio", "prometheus_enabled": "false", "prometheus_token": "", "spoolman_enabled": "false", "spoolman_url": "", "spoolman_sync_mode": "auto", "spoolman_disable_weight_sync": "false", "spoolman_report_partial_usage": "true", "smtp_host": "[REDACTED]", "smtp_port": "2525", "smtp_security": "starttls", "smtp_auth_enabled": "true", "smtp_from_email": "[REDACTED]", "smtp_from_name": "Bambuddy", "smtp_username": "[REDACTED]", "smtp_password": "[REDACTED]", "advanced_auth_enabled": "true", "include_beta_updates": "false", "bambu_cloud_token": "[REDACTED]", "bambu_cloud_email": "[REDACTED]", "disable_filament_warnings": "true", "prefer_lowest_filament": "false", "queue_drying_enabled": "false", "queue_drying_block": "false", "ambient_drying_enabled": "false", "drying_presets": "", "user_notifications_enabled": "true", "default_bed_levelling": "true", "default_flow_cali": "false", "default_vibration_cali": "true", "default_layer_inspect": "true", "default_timelapse": "false", "stagger_group_size": "2", "stagger_interval_minutes": "5", "require_plate_clear": "true", "debug_logging_enabled": "false", "debug_logging_enabled_at": "" }, "virtual_printers": [], "integrations": { "notification_providers": [ { "type": "email", "enabled": true, "has_last_error": false } ], "spoolman": { "enabled": false, "reachable": false }, "mqtt_relay": { "enabled": false, "connected": false, "broker": "", "port": 0, "topic_prefix": "bambuddy" }, "spoolbuddy": { "device_count": 0, "online_count": 0, "devices": [] }, "homeassistant": { "enabled": false } }, "database_health": { "backend": "sqlite", "journal_mode": "wal", "quick_check": "ok", "db_size_bytes": 4481024, "wal_size_bytes": 2216592 }, "dependencies": { "fastapi": "0.131.0", "uvicorn": "0.41.0", "pydantic": "2.12.5", "sqlalchemy": "2.0.46", "paho-mqtt": "2.1.0", "psutil": "7.2.2", "httpx": "0.28.1", "aiofiles": "25.1.0", "cryptography": "46.0.7", "opencv-python-headless": "4.13.0.92", "numpy": "2.4.2" }, "log_file": { "size_bytes": 2672663, "size_formatted": "2.5 MB" }, "network": { "interface_count": 1, "interfaces": [ { "name": "eth0", "subnet": "x.x.1.0/24" } ] }, "websockets": { "active_connections": 1 } } ``` </details> **Logs (sanitized):** [bambuddy.log](https://raw.githubusercontent.com/maziggy/bambuddy/bug-report-assets/logs/1c6227b77f7943a285d765f891a6d06f.log) --- *Submitted via BamBuddy Bug Report*
BreizhHardware 2026-05-07 00:13:42 +02:00
Author
Owner

@maziggy commented on GitHub (Apr 23, 2026):

I'm running an X1C on firmware 01.11.02.00 with no stream issues. The MQTT ipcam field in your log shows the printer is advertising the RTSPS stream correctly on port 322, and Bambuddy's X1C camera path already includes a local TLS-termination proxy (added in 0.2.x for the P2S RTSP drop issue) that applies to your model as well — so the code
isn't missing a workaround that your X1C would need.

Could you first update the X1C firmware to the latest (≥ 01.11.02.00) and retest? If it still fails afterwards:

  1. Turn on Settings → Debug Logging for a couple of minutes, reproduce the failure, and attach the bambuddy.log covering that window — the 10-second snippet you sent only shows MQTT updates, not the camera service.
  2. Browser DevTools → Network tab → right-click camera/stream?...&token=... → Copy as cURL → paste. The response headers + status will tell us whether the frontend request is reaching the backend successfully.
  3. Does the embedded camera view on the Printers page (not the popup) show the stream? Or does it fail the same way?
<!-- gh-comment-id:4302565773 --> @maziggy commented on GitHub (Apr 23, 2026): I'm running an X1C on firmware 01.11.02.00 with no stream issues. The MQTT ipcam field in your log shows the printer is advertising the RTSPS stream correctly on port 322, and Bambuddy's X1C camera path already includes a local TLS-termination proxy (added in 0.2.x for the P2S RTSP drop issue) that applies to your model as well — so the code isn't missing a workaround that your X1C would need. Could you first update the X1C firmware to the latest (≥ 01.11.02.00) and retest? If it still fails afterwards: 1. Turn on Settings → Debug Logging for a couple of minutes, reproduce the failure, and attach the bambuddy.log covering that window — the 10-second snippet you sent only shows MQTT updates, not the camera service. 2. Browser DevTools → Network tab → right-click camera/stream?...&token=... → Copy as cURL → paste. The response headers + status will tell us whether the frontend request is reaching the backend successfully. 3. Does the embedded camera view on the Printers page (not the popup) show the stream? Or does it fail the same way?
Author
Owner

@TravisWilder commented on GitHub (Apr 23, 2026):

current (today) dev with H2C works for me

<!-- gh-comment-id:4304919778 --> @TravisWilder commented on GitHub (Apr 23, 2026): current (today) dev with H2C works for me
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-maziggy-1#777
No description provided.