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

[GH-ISSUE #1035] [Bug Report] bambuddy | INFO: 192.168.2.192:61477 - "GET /api/v1/printers/1/status HT #728

Closed
opened 2026-05-07 00:13:13 +02:00 by BreizhHardware · 1 comment

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

Originally assigned to: @maziggy on GitHub.

bambuddy | INFO: 192.168.2.192:61477 - "GET /api/v1/printers/1/status HTTP/1.1" 401 Unauthorized
bambuddy | INFO: 192.168.2.192:61477 - "POST /api/v1/printers/1/camera/stop HTTP/1.1" 401 Unauthorized
bambuddy | INFO: 192.168.2.192:61477 - "GET /api/v1/printers/1/camera/stream?fps=15&t=1776605106128 HTTP/1.1" 401 Unauthorized
bambuddy | INFO: 192.168.2.192:61477 - "POST /api/v1/printers/1/camera/stop HTTP/1.1" 401 Unauthorized
bambuddy | INFO: 192.168.2.192:61477 - "GET /api/v1/printers/1/camera/stream?fps=15&t=1776605106829 HTTP/1.1" 401 Unauthorized
bambuddy | INFO: 192.168.2.192:61477 - "GET /api/v1/printers/1/camera/stream?fps=15&t=1776605108860 HTTP/1.1" 401 Unauthorized

System Information
{
  "generated_at": "2026-04-19T15:25:54.101438",
  "app": {
    "version": "0.2.3",
    "debug_mode": false
  },
  "system": {
    "platform": "Linux",
    "platform_release": "6.8.0-107-generic",
    "platform_version": "#107-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 13 19:51:50 UTC 2026",
    "architecture": "x86_64",
    "python_version": "3.13.13"
  },
  "environment": {
    "docker": true,
    "data_dir": "/app/data",
    "log_dir": "/app/logs",
    "timezone": "Europe/Berlin"
  },
  "database": {
    "archives_total": 89,
    "archives_completed": 78,
    "printers_total": 2,
    "filaments_total": 0,
    "projects_total": 0,
    "smart_plugs_total": 2
  },
  "printers": [
    {
      "index": 1,
      "model": "P2S",
      "nozzle_count": 1,
      "is_active": true,
      "mqtt_connected": true,
      "state": "IDLE",
      "firmware_version": "01.02.00.00",
      "wifi_signal": -67,
      "reachable": true,
      "ams_unit_count": 2,
      "ams_tray_count": 4,
      "has_vt_tray": true,
      "external_camera_configured": false,
      "plate_detection_enabled": false,
      "hms_error_count": 1,
      "developer_mode": true,
      "nozzle_rack_count": 1
    },
    {
      "index": 2,
      "model": "P1S",
      "nozzle_count": 1,
      "is_active": true,
      "mqtt_connected": true,
      "state": "FINISH",
      "firmware_version": "01.10.00.00",
      "wifi_signal": -59,
      "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": {
    "auto_archive": "true",
    "save_thumbnails": "true",
    "capture_finish_photo": "true",
    "default_filament_cost": "15.0",
    "currency": "EUR",
    "energy_cost_per_kwh": "0.15",
    "energy_tracking_mode": "total",
    "check_updates": "true",
    "check_printer_firmware": "true",
    "notification_language": "de",
    "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",
    "mqtt_enabled": "true",
    "mqtt_broker": "192.168.2.40",
    "mqtt_port": "1883",
    "mqtt_username": "[REDACTED]",
    "mqtt_password": "[REDACTED]",
    "mqtt_topic_prefix": "bambuddy",
    "mqtt_use_tls": "false",
    "external_url": "[REDACTED]",
    "ha_enabled": "true",
    "ha_url": "[REDACTED]",
    "ha_token": "[REDACTED]",
    "library_archive_mode": "ask",
    "library_disk_warning_gb": "5.0",
    "camera_view_mode": "window",
    "prometheus_enabled": "true",
    "prometheus_token": "",
    "bambu_cloud_token": "[REDACTED]",
    "bambu_cloud_email": "[REDACTED]",
    "auth_enabled": "true",
    "setup_completed": "true",
    "bed_cooled_threshold": "35.0",
    "ftp_timeout": "30",
    "preferred_slicer": "bambu_studio",
    "spoolman_enabled": "true",
    "spoolman_url": "[REDACTED]",
    "spoolman_sync_mode": "auto",
    "spoolman_disable_weight_sync": "false",
    "spoolman_report_partial_usage": "true",
    "smtp_host": "[REDACTED]",
    "smtp_port": "587",
    "smtp_security": "starttls",
    "smtp_auth_enabled": "false",
    "smtp_from_email": "[REDACTED]",
    "smtp_from_name": "BamBuddy",
    "advanced_auth_enabled": "false",
    "local_backup_enabled": "true",
    "local_backup_path": "",
    "debug_logging_enabled": "false",
    "debug_logging_enabled_at": ""
  },
  "docker": {
    "container_memory_limit_bytes": null,
    "container_memory_limit_formatted": null,
    "network_mode_hint": "host"
  },
  "virtual_printers": [],
  "integrations": {
    "notification_providers": [
      {
        "type": "callmebot",
        "enabled": true,
        "has_last_error": true
      }
    ],
    "spoolman": {
      "enabled": true,
      "reachable": true
    },
    "mqtt_relay": {
      "enabled": true,
      "connected": true,
      "broker": "[IP]",
      "port": 1883,
      "topic_prefix": "bambuddy"
    },
    "spoolbuddy": {
      "device_count": 0,
      "online_count": 0,
      "devices": []
    },
    "homeassistant": {
      "enabled": true
    }
  },
  "database_health": {
    "backend": "postgresql",
    "version": "PostgreSQL 18.3 on x86_64-pc-linux-musl, compiled by gcc (Alpine 15.2.0) 15.2.0, 64-bit",
    "db_size_bytes": 15947455
  },
  "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": 4540596,
    "size_formatted": "4.3 MB"
  },
  "network": {
    "interface_count": 1,
    "interfaces": [
      {
        "name": "ens18",
        "subnet": "x.x.2.0/24"
      }
    ]
  },
  "websockets": {
    "active_connections": 1
  }
}

Logs (sanitized): bambuddy.log


Submitted via BamBuddy Bug Report

Originally created by @maziggy on GitHub (Apr 19, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/1035 Originally assigned to: @maziggy on GitHub. bambuddy | INFO: 192.168.2.192:61477 - "GET /api/v1/printers/1/status HTTP/1.1" 401 Unauthorized bambuddy | INFO: 192.168.2.192:61477 - "POST /api/v1/printers/1/camera/stop HTTP/1.1" 401 Unauthorized bambuddy | INFO: 192.168.2.192:61477 - "GET /api/v1/printers/1/camera/stream?fps=15&t=1776605106128 HTTP/1.1" 401 Unauthorized bambuddy | INFO: 192.168.2.192:61477 - "POST /api/v1/printers/1/camera/stop HTTP/1.1" 401 Unauthorized bambuddy | INFO: 192.168.2.192:61477 - "GET /api/v1/printers/1/camera/stream?fps=15&t=1776605106829 HTTP/1.1" 401 Unauthorized bambuddy | INFO: 192.168.2.192:61477 - "GET /api/v1/printers/1/camera/stream?fps=15&t=1776605108860 HTTP/1.1" 401 Unauthorized <details> <summary>System Information</summary> ```json { "generated_at": "2026-04-19T15:25:54.101438", "app": { "version": "0.2.3", "debug_mode": false }, "system": { "platform": "Linux", "platform_release": "6.8.0-107-generic", "platform_version": "#107-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 13 19:51:50 UTC 2026", "architecture": "x86_64", "python_version": "3.13.13" }, "environment": { "docker": true, "data_dir": "/app/data", "log_dir": "/app/logs", "timezone": "Europe/Berlin" }, "database": { "archives_total": 89, "archives_completed": 78, "printers_total": 2, "filaments_total": 0, "projects_total": 0, "smart_plugs_total": 2 }, "printers": [ { "index": 1, "model": "P2S", "nozzle_count": 1, "is_active": true, "mqtt_connected": true, "state": "IDLE", "firmware_version": "01.02.00.00", "wifi_signal": -67, "reachable": true, "ams_unit_count": 2, "ams_tray_count": 4, "has_vt_tray": true, "external_camera_configured": false, "plate_detection_enabled": false, "hms_error_count": 1, "developer_mode": true, "nozzle_rack_count": 1 }, { "index": 2, "model": "P1S", "nozzle_count": 1, "is_active": true, "mqtt_connected": true, "state": "FINISH", "firmware_version": "01.10.00.00", "wifi_signal": -59, "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": { "auto_archive": "true", "save_thumbnails": "true", "capture_finish_photo": "true", "default_filament_cost": "15.0", "currency": "EUR", "energy_cost_per_kwh": "0.15", "energy_tracking_mode": "total", "check_updates": "true", "check_printer_firmware": "true", "notification_language": "de", "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", "mqtt_enabled": "true", "mqtt_broker": "192.168.2.40", "mqtt_port": "1883", "mqtt_username": "[REDACTED]", "mqtt_password": "[REDACTED]", "mqtt_topic_prefix": "bambuddy", "mqtt_use_tls": "false", "external_url": "[REDACTED]", "ha_enabled": "true", "ha_url": "[REDACTED]", "ha_token": "[REDACTED]", "library_archive_mode": "ask", "library_disk_warning_gb": "5.0", "camera_view_mode": "window", "prometheus_enabled": "true", "prometheus_token": "", "bambu_cloud_token": "[REDACTED]", "bambu_cloud_email": "[REDACTED]", "auth_enabled": "true", "setup_completed": "true", "bed_cooled_threshold": "35.0", "ftp_timeout": "30", "preferred_slicer": "bambu_studio", "spoolman_enabled": "true", "spoolman_url": "[REDACTED]", "spoolman_sync_mode": "auto", "spoolman_disable_weight_sync": "false", "spoolman_report_partial_usage": "true", "smtp_host": "[REDACTED]", "smtp_port": "587", "smtp_security": "starttls", "smtp_auth_enabled": "false", "smtp_from_email": "[REDACTED]", "smtp_from_name": "BamBuddy", "advanced_auth_enabled": "false", "local_backup_enabled": "true", "local_backup_path": "", "debug_logging_enabled": "false", "debug_logging_enabled_at": "" }, "docker": { "container_memory_limit_bytes": null, "container_memory_limit_formatted": null, "network_mode_hint": "host" }, "virtual_printers": [], "integrations": { "notification_providers": [ { "type": "callmebot", "enabled": true, "has_last_error": true } ], "spoolman": { "enabled": true, "reachable": true }, "mqtt_relay": { "enabled": true, "connected": true, "broker": "[IP]", "port": 1883, "topic_prefix": "bambuddy" }, "spoolbuddy": { "device_count": 0, "online_count": 0, "devices": [] }, "homeassistant": { "enabled": true } }, "database_health": { "backend": "postgresql", "version": "PostgreSQL 18.3 on x86_64-pc-linux-musl, compiled by gcc (Alpine 15.2.0) 15.2.0, 64-bit", "db_size_bytes": 15947455 }, "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": 4540596, "size_formatted": "4.3 MB" }, "network": { "interface_count": 1, "interfaces": [ { "name": "ens18", "subnet": "x.x.2.0/24" } ] }, "websockets": { "active_connections": 1 } } ``` </details> **Logs (sanitized):** [bambuddy.log](https://raw.githubusercontent.com/maziggy/bambuddy/bug-report-assets/logs/4d876fc473b344a69d40cb33b30f9a78.log) --- *Submitted via BamBuddy Bug Report*
BreizhHardware 2026-05-07 00:13:13 +02:00
Author
Owner

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

Force page reload or re-login.

Next time please describe your problem. Just pasting some log lines doesn't match our Code of conduct.

<!-- gh-comment-id:4276011235 --> @maziggy commented on GitHub (Apr 19, 2026): Force page reload or re-login. Next time please describe your problem. Just pasting some log lines doesn't match our Code of conduct.
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#728
No description provided.