[GH-ISSUE #1061] [Bug Report] Cant connect to camera "GET /api/v1/printers/1/camera/stream?fps=15&t=1776720172 #754

Closed
opened 2026-05-06 12:32:40 +02:00 by BreizhHardware · 2 comments

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

Originally assigned to: @maziggy on GitHub.

Cant connect to camera
"GET /api/v1/printers/1/camera/stream?fps=15&t=1776720172148 HTTP/1.1" 401 Unauthorized

Reporter Contact

Email: ivo@housesbg.com

System Information
{
  "generated_at": "2026-04-21T00:25:01.907518",
  "app": {
    "version": "0.2.3.1",
    "debug_mode": false
  },
  "system": {
    "platform": "Linux",
    "platform_release": "6.8.12-17-pve",
    "platform_version": "#1 SMP PREEMPT_DYNAMIC PMX 6.8.12-17 (2025-11-21T11:16Z)",
    "architecture": "x86_64",
    "python_version": "3.13.13"
  },
  "environment": {
    "docker": true,
    "data_dir": "/app/data",
    "log_dir": "/app/logs",
    "timezone": "Europe/Sofia"
  },
  "database": {
    "archives_total": 20,
    "archives_completed": 18,
    "printers_total": 1,
    "filaments_total": 0,
    "projects_total": 0,
    "smart_plugs_total": 0
  },
  "printers": [
    {
      "index": 1,
      "model": "P1S",
      "nozzle_count": 1,
      "is_active": true,
      "mqtt_connected": true,
      "state": "RUNNING",
      "firmware_version": "01.09.01.00",
      "wifi_signal": -37,
      "reachable": true,
      "ams_unit_count": 1,
      "ams_tray_count": 4,
      "has_vt_tray": true,
      "external_camera_configured": false,
      "plate_detection_enabled": false,
      "hms_error_count": 0,
      "developer_mode": true,
      "nozzle_rack_count": 0
    }
  ],
  "settings": {
    "auth_enabled": "true",
    "setup_completed": "true",
    "bambu_cloud_token": "[REDACTED]",
    "bambu_cloud_email": "[REDACTED]",
    "auto_archive": "true",
    "save_thumbnails": "true",
    "capture_finish_photo": "true",
    "default_filament_cost": "15.0",
    "currency": "EUR",
    "energy_cost_per_kwh": "0.1",
    "energy_tracking_mode": "total",
    "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": "24h",
    "default_printer_id": "1",
    "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": "ask",
    "library_disk_warning_gb": "5.0",
    "camera_view_mode": "window",
    "preferred_slicer": "bambu_studio",
    "prometheus_enabled": "false",
    "prometheus_token": "",
    "virtual_printer_enabled": "true",
    "virtual_printer_mode": "proxy",
    "virtual_printer_model": "C12",
    "virtual_printer_target_printer_id": "1",
    "virtual_printer_remote_interface_ip": "[REDACTED]",
    "include_beta_updates": "false",
    "debug_logging_enabled": "false",
    "debug_logging_enabled_at": "",
    "advanced_auth_enabled": "false",
    "smtp_auth_enabled": "true",
    "disable_filament_warnings": "false",
    "queue_drying_enabled": "false",
    "queue_drying_block": "false",
    "ambient_drying_enabled": "false",
    "drying_presets": "",
    "user_notifications_enabled": "true"
  },
  "docker": {
    "container_memory_limit_bytes": null,
    "container_memory_limit_formatted": null,
    "network_mode_hint": "host"
  },
  "virtual_printers": [
    {
      "index": 1,
      "enabled": false,
      "mode": "proxy",
      "model": "C12",
      "model_name": "P1S",
      "has_target_printer": true,
      "has_bind_ip": false,
      "running": false,
      "pending_files": 0
    }
  ],
  "integrations": {
    "notification_providers": [],
    "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": 2170880,
    "wal_size_bytes": 4140632
  },
  "dependencies": {
    "fastapi": "0.136.0",
    "uvicorn": "0.44.0",
    "pydantic": "2.13.2",
    "sqlalchemy": "2.0.49",
    "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.4"
  },
  "log_file": {
    "size_bytes": 3184627,
    "size_formatted": "3.0 MB"
  },
  "network": {
    "interface_count": 1,
    "interfaces": [
      {
        "name": "eth0",
        "subnet": "x.x.9.0/24"
      }
    ]
  },
  "websockets": {
    "active_connections": 1
  }
}

Logs (sanitized): bambuddy.log


Submitted via BamBuddy Bug Report

Originally created by @maziggy on GitHub (Apr 20, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/1061 Originally assigned to: @maziggy on GitHub. Cant connect to camera "GET /api/v1/printers/1/camera/stream?fps=15&t=1776720172148 HTTP/1.1" 401 Unauthorized <details> <summary>Reporter Contact</summary> Email: ivo@housesbg.com </details> <details> <summary>System Information</summary> ```json { "generated_at": "2026-04-21T00:25:01.907518", "app": { "version": "0.2.3.1", "debug_mode": false }, "system": { "platform": "Linux", "platform_release": "6.8.12-17-pve", "platform_version": "#1 SMP PREEMPT_DYNAMIC PMX 6.8.12-17 (2025-11-21T11:16Z)", "architecture": "x86_64", "python_version": "3.13.13" }, "environment": { "docker": true, "data_dir": "/app/data", "log_dir": "/app/logs", "timezone": "Europe/Sofia" }, "database": { "archives_total": 20, "archives_completed": 18, "printers_total": 1, "filaments_total": 0, "projects_total": 0, "smart_plugs_total": 0 }, "printers": [ { "index": 1, "model": "P1S", "nozzle_count": 1, "is_active": true, "mqtt_connected": true, "state": "RUNNING", "firmware_version": "01.09.01.00", "wifi_signal": -37, "reachable": true, "ams_unit_count": 1, "ams_tray_count": 4, "has_vt_tray": true, "external_camera_configured": false, "plate_detection_enabled": false, "hms_error_count": 0, "developer_mode": true, "nozzle_rack_count": 0 } ], "settings": { "auth_enabled": "true", "setup_completed": "true", "bambu_cloud_token": "[REDACTED]", "bambu_cloud_email": "[REDACTED]", "auto_archive": "true", "save_thumbnails": "true", "capture_finish_photo": "true", "default_filament_cost": "15.0", "currency": "EUR", "energy_cost_per_kwh": "0.1", "energy_tracking_mode": "total", "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": "24h", "default_printer_id": "1", "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": "ask", "library_disk_warning_gb": "5.0", "camera_view_mode": "window", "preferred_slicer": "bambu_studio", "prometheus_enabled": "false", "prometheus_token": "", "virtual_printer_enabled": "true", "virtual_printer_mode": "proxy", "virtual_printer_model": "C12", "virtual_printer_target_printer_id": "1", "virtual_printer_remote_interface_ip": "[REDACTED]", "include_beta_updates": "false", "debug_logging_enabled": "false", "debug_logging_enabled_at": "", "advanced_auth_enabled": "false", "smtp_auth_enabled": "true", "disable_filament_warnings": "false", "queue_drying_enabled": "false", "queue_drying_block": "false", "ambient_drying_enabled": "false", "drying_presets": "", "user_notifications_enabled": "true" }, "docker": { "container_memory_limit_bytes": null, "container_memory_limit_formatted": null, "network_mode_hint": "host" }, "virtual_printers": [ { "index": 1, "enabled": false, "mode": "proxy", "model": "C12", "model_name": "P1S", "has_target_printer": true, "has_bind_ip": false, "running": false, "pending_files": 0 } ], "integrations": { "notification_providers": [], "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": 2170880, "wal_size_bytes": 4140632 }, "dependencies": { "fastapi": "0.136.0", "uvicorn": "0.44.0", "pydantic": "2.13.2", "sqlalchemy": "2.0.49", "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.4" }, "log_file": { "size_bytes": 3184627, "size_formatted": "3.0 MB" }, "network": { "interface_count": 1, "interfaces": [ { "name": "eth0", "subnet": "x.x.9.0/24" } ] }, "websockets": { "active_connections": 1 } } ``` </details> **Logs (sanitized):** [bambuddy.log](https://raw.githubusercontent.com/maziggy/bambuddy/bug-report-assets/logs/8bc398af358e4bbaa554422160ab533c.log) --- *Submitted via BamBuddy Bug Report*
BreizhHardware 2026-05-06 12:32:40 +02:00
  • closed this issue
  • added the
    wontfix
    label
Author
Owner

@wsu-lp commented on GitHub (Apr 20, 2026):

I got the same issue. Try clearing your cache or running incognito mode. Helped in my case.

<!-- gh-comment-id:4284566899 --> @wsu-lp commented on GitHub (Apr 20, 2026): I got the same issue. Try clearing your cache or running incognito mode. Helped in my case.
Author
Owner

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

Looks like you enabled authentiction and you browser cache is stale. Force reload page (Shift+Reload).

<!-- gh-comment-id:4286569246 --> @maziggy commented on GitHub (Apr 21, 2026): Looks like you enabled authentiction and you browser cache is stale. Force reload page (Shift+Reload).
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#754
No description provided.