Skip to content

OCT stürzt ab wenn eins der Geräte vom Netz getrennt wurde #82

@sawokei

Description

@sawokei

Wenn man eins der ST Geräte vom Netzt trennt, bzw. das Gerät einfach nicht mehr erreichbar ist dann stürzt OCT komplett ab.
Es sollte ein besseres error-handling eingebaut werrden, damit OCT nocht für die anderen Geräte verfügbar bleibt.

opencloudtouch  | HTTPConnectionPool(host='192.168.178.48', port=8090): Max retries exceeded with url: /info (Caused by NewConnectionError("HTTPConnection(host='192.168.178.48', port=8090): Failed to establish a new connection: [Errno 113] No route to host"))
opencloudtouch  | "
opencloudtouch  | 2026-04-06 08:53:01,698 - ERROR    - opencloudtouch.devices.api.routes - Failed to get now playing for device 68C90B9897EC: SoundTouchError: "BST0001E - An unhandled exception occured while processing method "SoundTouchDevice.__init__".
opencloudtouch  | HTTPConnectionPool(host='192.168.178.48', port=8090): Max retries exceeded with url: /info (Caused by NewConnectionError("HTTPConnection(host='192.168.178.48', port=8090): Failed to establish a new connection: [Errno 113] No route to host"))
opencloudtouch  | "
opencloudtouch  | INFO:     192.168.178.28:57049 - "GET /api/devices/68C90B9897EC/now-playing HTTP/1.1" 500 Internal Server Error
opencloudtouch  | 2026-04-06 08:53:01,699 - INFO     - opencloudtouch.devices.adapter - [REAL MODE] Using BoseDeviceClientAdapter for http://192.168.178.48:8090
opencloudtouch  | 2026-04-06 08:53:04,771 - WARNING  - urllib3.connectionpool         - Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError("HTTPConnection(host='192.168.178.48', port=8090): Failed to establish a new connection: [Errno 113] No route to host")': /info
opencloudtouch  | 2026-04-06 08:53:07,843 - WARNING  - urllib3.connectionpool         - Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError("HTTPConnection(host='192.168.178.48', port=8090): Failed to establish a new connection: [Errno 113] No route to host")': /info
opencloudtouch  | 2026-04-06 08:53:10,914 - WARNING  - urllib3.connectionpool         - Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError("HTTPConnection(host='192.168.178.48', port=8090): Failed to establish a new connection: [Errno 113] No route to host")': /info
opencloudtouch  | 2026-04-06 08:53:13,986 - ERROR    - bosesoundtouchapi.soundtouchdevice - SoundTouchError: "BST0001E - An unhandled exception occured while processing method "SoundTouchDevice.__init__".
opencloudtouch  | HTTPConnectionPool(host='192.168.178.48', port=8090): Max retries exceeded with url: /info (Caused by NewConnectionError("HTTPConnection(host='192.168.178.48', port=8090): Failed to establish a new connection: [Errno 113] No route to host"))
opencloudtouch  | "
opencloudtouch  | 2026-04-06 08:53:13,986 - ERROR    - opencloudtouch.devices.api.routes - Failed to get volume for device 68C90B9897EC: SoundTouchError: "BST0001E - An unhandled exception occured while processing method "SoundTouchDevice.__init__".
opencloudtouch  | HTTPConnectionPool(host='192.168.178.48', port=8090): Max retries exceeded with url: /info (Caused by NewConnectionError("HTTPConnection(host='192.168.178.48', port=8090): Failed to establish a new connection: [Errno 113] No route to host"))
opencloudtouch  | "
opencloudtouch  | INFO:     192.168.178.28:61105 - "GET /api/devices/68C90B9897EC/volume HTTP/1.1" 500 Internal Server Error
opencloudtouch  | 2026-04-06 08:53:13,989 - INFO     - opencloudtouch.devices.adapter - [REAL MODE] Using BoseDeviceClientAdapter for http://192.168.178.48:8090
opencloudtouch  | 2026-04-06 08:53:17,059 - WARNING  - urllib3.connectionpool         - Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError("HTTPConnection(host='192.168.178.48', port=8090): Failed to establish a new connection: [Errno 113] No route to host")': /info
opencloudtouch  | 2026-04-06 08:53:20,131 - WARNING  - urllib3.connectionpool         - Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError("HTTPConnection(host='192.168.178.48', port=8090): Failed to establish a new connection: [Errno 113] No route to host")': /info
opencloudtouch  | 2026-04-06 08:53:23,203 - WARNING  - urllib3.connectionpool         - Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError("HTTPConnection(host='192.168.178.48', port=8090): Failed to establish a new connection: [Errno 113] No route to host")': /info
opencloudtouch  | 2026-04-06 08:53:26,275 - ERROR    - bosesoundtouchapi.soundtouchdevice - SoundTouchError: "BST0001E - An unhandled exception occured while processing method "SoundTouchDevice.__init__".
opencloudtouch  | HTTPConnectionPool(host='192.168.178.48', port=8090): Max retries exceeded with url: /info (Caused by NewConnectionError("HTTPConnection(host='192.168.178.48', port=8090): Failed to establish a new connection: [Errno 113] No route to host"))
opencloudtouch  | "
opencloudtouch  | 2026-04-06 08:53:26,275 - ERROR    - opencloudtouch.devices.api.routes - Failed to get volume for device 68C90B9897EC: SoundTouchError: "BST0001E - An unhandled exception occured while processing method "SoundTouchDevice.__init__".
opencloudtouch  | HTTPConnectionPool(host='192.168.178.48', port=8090): Max retries exceeded with url: /info (Caused by NewConnectionError("HTTPConnection(host='192.168.178.48', port=8090): Failed to establish a new connection: [Errno 113] No route to host"))
opencloudtouch  | "
opencloudtouch  | 2026-04-06 08:53:26,279 - INFO     - opencloudtouch.devices.adapter - [REAL MODE] Using BoseDeviceClientAdapter for http://192.168.178.48:8090
opencloudtouch  | 2026-04-06 08:53:29,347 - WARNING  - urllib3.connectionpool         - Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError("HTTPConnection(host='192.168.178.48', port=8090): Failed to establish a new connection: [Errno 113] No route to host")': /info
opencloudtouch  | 2026-04-06 08:53:32,419 - WARNING  - urllib3.connectionpool         - Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError("HTTPConnection(host='192.168.178.48', port=8090): Failed to establish a new connection: [Errno 113] No route to host")': /info
opencloudtouch  | 2026-04-06 08:53:35,491 - WARNING  - urllib3.connectionpool         - Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError("HTTPConnection(host='192.168.178.48', port=8090): Failed to establish a new connection: [Errno 113] No route to host")': /info
opencloudtouch  | 2026-04-06 08:53:38,563 - ERROR    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions