TinyPilot Pro log dump https://tinypilotkvm.com Timestamp: 2023-09-25T12:16:15+01:00 Software versions TinyPilot version: 2.6.0 uStreamer version: 5.38 OS version: Linux tinypilot 5.15.84-v7l+ #1613 SMP Thu Jan 5 12:01:26 GMT 2023 armv7l GNU/Linux Distribution name: Raspbian Distribution version: 11 Hardware information Hardware: BCM2711 Revision: b03115 Model: Raspberry Pi 4 Model B Rev 1.5 TinyPilot state Read-only filesystem: off SSH access: enabled temp=47.7'C throttled=0x0 voltage logs TinyPilot settings.yml ustreamer_desired_fps: 15 ustreamer_persistent: true ustreamer_quality: 50 TinyPilot configuration [Unit] Description=TinyPilot - RPi-based virtual KVM After=syslog.target network.target StartLimitIntervalSec=0 [Service] Type=simple User=tinypilot WorkingDirectory=/opt/tinypilot ExecStart=/opt/tinypilot/venv/bin/python app/main.py Environment=HOST=127.0.0.1 Environment=PORT=8000 Environment=APP_SETTINGS_FILE=/home/tinypilot/app_settings.cfg Restart=always [Install] WantedBy=multi-user.target TinyPilot logs Sep 25 12:13:26 tinypilot python[1319]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Sep 25 12:13:26 tinypilot python[1319]: result.return_value = self._target(*self._args, **self._kwargs) Sep 25 12:13:26 tinypilot python[1319]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Sep 25 12:13:26 tinypilot python[1319]: hid_handle.write(bytearray(buffer)) Sep 25 12:13:26 tinypilot python[1319]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Sep 25 12:13:26 tinypilot python[479]: 2023-09-25 12:13:26.215 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Sep 25 12:13:28 tinypilot python[1320]: Process ProcessWithResult-22: Sep 25 12:13:28 tinypilot python[1320]: Traceback (most recent call last): Sep 25 12:13:28 tinypilot python[1320]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Sep 25 12:13:28 tinypilot python[1320]: self.run() Sep 25 12:13:28 tinypilot python[1320]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Sep 25 12:13:28 tinypilot python[1320]: result.return_value = self._target(*self._args, **self._kwargs) Sep 25 12:13:28 tinypilot python[1320]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Sep 25 12:13:28 tinypilot python[1320]: hid_handle.write(bytearray(buffer)) Sep 25 12:13:28 tinypilot python[1320]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Sep 25 12:13:28 tinypilot python[479]: 2023-09-25 12:13:28.219 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Sep 25 12:13:30 tinypilot python[1321]: Process ProcessWithResult-23: Sep 25 12:13:30 tinypilot python[1321]: Traceback (most recent call last): Sep 25 12:13:30 tinypilot python[1321]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Sep 25 12:13:30 tinypilot python[1321]: self.run() Sep 25 12:13:30 tinypilot python[1321]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Sep 25 12:13:30 tinypilot python[1321]: result.return_value = self._target(*self._args, **self._kwargs) Sep 25 12:13:30 tinypilot python[1321]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Sep 25 12:13:30 tinypilot python[1321]: hid_handle.write(bytearray(buffer)) Sep 25 12:13:30 tinypilot python[1321]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Sep 25 12:13:30 tinypilot python[479]: 2023-09-25 12:13:30.592 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Sep 25 12:13:32 tinypilot python[1322]: Process ProcessWithResult-24: Sep 25 12:13:32 tinypilot python[1322]: Traceback (most recent call last): Sep 25 12:13:32 tinypilot python[1322]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Sep 25 12:13:32 tinypilot python[1322]: self.run() Sep 25 12:13:32 tinypilot python[1322]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Sep 25 12:13:32 tinypilot python[1322]: result.return_value = self._target(*self._args, **self._kwargs) Sep 25 12:13:32 tinypilot python[1322]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Sep 25 12:13:32 tinypilot python[1322]: hid_handle.write(bytearray(buffer)) Sep 25 12:13:32 tinypilot python[1322]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Sep 25 12:13:32 tinypilot python[479]: 2023-09-25 12:13:32.606 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Sep 25 12:14:47 tinypilot python[1334]: Process ProcessWithResult-25: Sep 25 12:14:47 tinypilot python[1334]: Traceback (most recent call last): Sep 25 12:14:47 tinypilot python[1334]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Sep 25 12:14:47 tinypilot python[1334]: self.run() Sep 25 12:14:47 tinypilot python[1334]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Sep 25 12:14:47 tinypilot python[1334]: result.return_value = self._target(*self._args, **self._kwargs) Sep 25 12:14:47 tinypilot python[1334]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Sep 25 12:14:47 tinypilot python[1334]: hid_handle.write(bytearray(buffer)) Sep 25 12:14:47 tinypilot python[1334]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Sep 25 12:14:47 tinypilot python[479]: 2023-09-25 12:14:47.813 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Sep 25 12:14:49 tinypilot python[1335]: Process ProcessWithResult-26: Sep 25 12:14:49 tinypilot python[1335]: Traceback (most recent call last): Sep 25 12:14:49 tinypilot python[1335]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Sep 25 12:14:49 tinypilot python[1335]: self.run() Sep 25 12:14:49 tinypilot python[1335]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Sep 25 12:14:49 tinypilot python[1335]: result.return_value = self._target(*self._args, **self._kwargs) Sep 25 12:14:49 tinypilot python[1335]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Sep 25 12:14:49 tinypilot python[1335]: hid_handle.write(bytearray(buffer)) Sep 25 12:14:49 tinypilot python[1335]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Sep 25 12:14:49 tinypilot python[479]: 2023-09-25 12:14:49.815 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Sep 25 12:14:50 tinypilot python[1336]: Process ProcessWithResult-27: Sep 25 12:14:50 tinypilot python[1336]: Traceback (most recent call last): Sep 25 12:14:50 tinypilot python[1336]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Sep 25 12:14:50 tinypilot python[1336]: self.run() Sep 25 12:14:50 tinypilot python[1336]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Sep 25 12:14:50 tinypilot python[1336]: result.return_value = self._target(*self._args, **self._kwargs) Sep 25 12:14:50 tinypilot python[1336]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Sep 25 12:14:50 tinypilot python[1336]: hid_handle.write(bytearray(buffer)) Sep 25 12:14:50 tinypilot python[1336]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Sep 25 12:14:50 tinypilot python[479]: 2023-09-25 12:14:50.432 socket_api ERROR [SENSITIVE] Failed to release keys: Failed to write to HID interface: /dev/hidg0. Is USB cable connected? [/SENSITIVE] Sep 25 12:14:51 tinypilot python[1337]: Process ProcessWithResult-28: Sep 25 12:14:51 tinypilot python[1337]: Traceback (most recent call last): Sep 25 12:14:51 tinypilot python[1337]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Sep 25 12:14:51 tinypilot python[1337]: self.run() Sep 25 12:14:51 tinypilot python[1337]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Sep 25 12:14:51 tinypilot python[1337]: result.return_value = self._target(*self._args, **self._kwargs) Sep 25 12:14:51 tinypilot python[1337]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Sep 25 12:14:51 tinypilot python[1337]: hid_handle.write(bytearray(buffer)) Sep 25 12:14:51 tinypilot python[1337]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Sep 25 12:14:51 tinypilot python[479]: 2023-09-25 12:14:51.194 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Sep 25 12:14:51 tinypilot python[1338]: Process ProcessWithResult-29: Sep 25 12:14:51 tinypilot python[1338]: Traceback (most recent call last): Sep 25 12:14:51 tinypilot python[1338]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Sep 25 12:14:51 tinypilot python[1338]: self.run() Sep 25 12:14:51 tinypilot python[1338]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Sep 25 12:14:51 tinypilot python[1338]: result.return_value = self._target(*self._args, **self._kwargs) Sep 25 12:14:51 tinypilot python[1338]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Sep 25 12:14:51 tinypilot python[1338]: hid_handle.write(bytearray(buffer)) Sep 25 12:14:51 tinypilot python[1338]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Sep 25 12:14:51 tinypilot python[479]: 2023-09-25 12:14:51.292 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Sep 25 12:14:53 tinypilot python[1339]: Process ProcessWithResult-30: Sep 25 12:14:53 tinypilot python[1339]: Traceback (most recent call last): Sep 25 12:14:53 tinypilot python[1339]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Sep 25 12:14:53 tinypilot python[1339]: self.run() Sep 25 12:14:53 tinypilot python[1339]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Sep 25 12:14:53 tinypilot python[1339]: result.return_value = self._target(*self._args, **self._kwargs) Sep 25 12:14:53 tinypilot python[1339]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Sep 25 12:14:53 tinypilot python[1339]: hid_handle.write(bytearray(buffer)) Sep 25 12:14:53 tinypilot python[1339]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Sep 25 12:14:53 tinypilot python[479]: 2023-09-25 12:14:53.299 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Sep 25 12:15:14 tinypilot python[1340]: Process ProcessWithResult-31: Sep 25 12:15:14 tinypilot python[1340]: Traceback (most recent call last): Sep 25 12:15:14 tinypilot python[1340]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Sep 25 12:15:14 tinypilot python[1340]: self.run() Sep 25 12:15:14 tinypilot python[1340]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Sep 25 12:15:14 tinypilot python[1340]: result.return_value = self._target(*self._args, **self._kwargs) Sep 25 12:15:14 tinypilot python[1340]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Sep 25 12:15:14 tinypilot python[1340]: hid_handle.write(bytearray(buffer)) Sep 25 12:15:14 tinypilot python[1340]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Sep 25 12:15:14 tinypilot python[479]: 2023-09-25 12:15:14.632 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Sep 25 12:15:16 tinypilot python[479]: 2023-09-25 12:15:16.443 socket_api INFO Client 7TI5qD0D4KhGYaukAAAD disconnected Sep 25 12:15:59 tinypilot python[479]: 2023-09-25 12:15:59.747 socket_api INFO Client wb6b8ezCz51cLd-GAAAF connected Sep 25 12:16:00 tinypilot python[1360]: Process ProcessWithResult-32: Sep 25 12:16:00 tinypilot python[1360]: Traceback (most recent call last): Sep 25 12:16:00 tinypilot python[1360]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Sep 25 12:16:00 tinypilot python[1360]: self.run() Sep 25 12:16:00 tinypilot python[1360]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Sep 25 12:16:00 tinypilot python[1360]: result.return_value = self._target(*self._args, **self._kwargs) Sep 25 12:16:00 tinypilot python[1360]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Sep 25 12:16:00 tinypilot python[1360]: hid_handle.write(bytearray(buffer)) Sep 25 12:16:00 tinypilot python[1360]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Sep 25 12:16:00 tinypilot python[479]: 2023-09-25 12:16:00.979 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Sep 25 12:16:01 tinypilot python[1361]: Process ProcessWithResult-33: Sep 25 12:16:01 tinypilot python[1361]: Traceback (most recent call last): Sep 25 12:16:01 tinypilot python[1361]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Sep 25 12:16:01 tinypilot python[1361]: self.run() Sep 25 12:16:01 tinypilot python[1361]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Sep 25 12:16:01 tinypilot python[1361]: result.return_value = self._target(*self._args, **self._kwargs) Sep 25 12:16:01 tinypilot python[1361]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Sep 25 12:16:01 tinypilot python[1361]: hid_handle.write(bytearray(buffer)) Sep 25 12:16:01 tinypilot python[1361]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Sep 25 12:16:01 tinypilot python[479]: 2023-09-25 12:16:01.581 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Sep 25 12:16:02 tinypilot python[1362]: Process ProcessWithResult-34: Sep 25 12:16:02 tinypilot python[1362]: Traceback (most recent call last): Sep 25 12:16:02 tinypilot python[1362]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Sep 25 12:16:02 tinypilot python[1362]: self.run() Sep 25 12:16:02 tinypilot python[1362]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Sep 25 12:16:02 tinypilot python[1362]: result.return_value = self._target(*self._args, **self._kwargs) Sep 25 12:16:02 tinypilot python[1362]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Sep 25 12:16:02 tinypilot python[1362]: hid_handle.write(bytearray(buffer)) Sep 25 12:16:02 tinypilot python[1362]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Sep 25 12:16:02 tinypilot python[479]: 2023-09-25 12:16:02.685 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Sep 25 12:16:03 tinypilot python[1363]: Process ProcessWithResult-35: Sep 25 12:16:03 tinypilot python[1363]: Traceback (most recent call last): Sep 25 12:16:03 tinypilot python[1363]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Sep 25 12:16:03 tinypilot python[1363]: self.run() Sep 25 12:16:03 tinypilot python[1363]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Sep 25 12:16:03 tinypilot python[1363]: result.return_value = self._target(*self._args, **self._kwargs) Sep 25 12:16:03 tinypilot python[1363]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Sep 25 12:16:03 tinypilot python[1363]: hid_handle.write(bytearray(buffer)) Sep 25 12:16:03 tinypilot python[1363]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Sep 25 12:16:03 tinypilot python[479]: 2023-09-25 12:16:03.957 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Sep 25 12:16:04 tinypilot python[1364]: Process ProcessWithResult-36: Sep 25 12:16:04 tinypilot python[1364]: Traceback (most recent call last): Sep 25 12:16:04 tinypilot python[1364]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Sep 25 12:16:04 tinypilot python[1364]: self.run() Sep 25 12:16:04 tinypilot python[1364]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Sep 25 12:16:04 tinypilot python[1364]: result.return_value = self._target(*self._args, **self._kwargs) Sep 25 12:16:04 tinypilot python[1364]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Sep 25 12:16:04 tinypilot python[1364]: hid_handle.write(bytearray(buffer)) Sep 25 12:16:04 tinypilot python[1364]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Sep 25 12:16:04 tinypilot python[479]: 2023-09-25 12:16:04.069 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Sep 25 12:16:06 tinypilot python[1365]: Process ProcessWithResult-37: Sep 25 12:16:06 tinypilot python[1365]: Traceback (most recent call last): Sep 25 12:16:06 tinypilot python[1365]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Sep 25 12:16:06 tinypilot python[1365]: self.run() Sep 25 12:16:06 tinypilot python[1365]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Sep 25 12:16:06 tinypilot python[1365]: result.return_value = self._target(*self._args, **self._kwargs) Sep 25 12:16:06 tinypilot python[1365]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Sep 25 12:16:06 tinypilot python[1365]: hid_handle.write(bytearray(buffer)) Sep 25 12:16:06 tinypilot python[1365]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Sep 25 12:16:06 tinypilot python[479]: 2023-09-25 12:16:06.092 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Sep 25 12:16:08 tinypilot python[1366]: Process ProcessWithResult-38: Sep 25 12:16:08 tinypilot python[1366]: Traceback (most recent call last): Sep 25 12:16:08 tinypilot python[1366]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Sep 25 12:16:08 tinypilot python[1366]: self.run() Sep 25 12:16:08 tinypilot python[1366]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Sep 25 12:16:08 tinypilot python[1366]: result.return_value = self._target(*self._args, **self._kwargs) Sep 25 12:16:08 tinypilot python[1366]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Sep 25 12:16:08 tinypilot python[1366]: hid_handle.write(bytearray(buffer)) Sep 25 12:16:08 tinypilot python[1366]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Sep 25 12:16:08 tinypilot python[479]: 2023-09-25 12:16:08.092 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Sep 25 12:16:10 tinypilot python[1367]: Process ProcessWithResult-39: Sep 25 12:16:10 tinypilot python[1367]: Traceback (most recent call last): Sep 25 12:16:10 tinypilot python[1367]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Sep 25 12:16:10 tinypilot python[1367]: self.run() Sep 25 12:16:10 tinypilot python[1367]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Sep 25 12:16:10 tinypilot python[1367]: result.return_value = self._target(*self._args, **self._kwargs) Sep 25 12:16:10 tinypilot python[1367]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Sep 25 12:16:10 tinypilot python[1367]: hid_handle.write(bytearray(buffer)) Sep 25 12:16:10 tinypilot python[1367]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Sep 25 12:16:10 tinypilot python[479]: 2023-09-25 12:16:10.094 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Sep 25 12:16:12 tinypilot python[1368]: Process ProcessWithResult-40: Sep 25 12:16:12 tinypilot python[1368]: Traceback (most recent call last): Sep 25 12:16:12 tinypilot python[1368]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Sep 25 12:16:12 tinypilot python[1368]: self.run() Sep 25 12:16:12 tinypilot python[1368]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Sep 25 12:16:12 tinypilot python[1368]: result.return_value = self._target(*self._args, **self._kwargs) Sep 25 12:16:12 tinypilot python[1368]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Sep 25 12:16:12 tinypilot python[1368]: hid_handle.write(bytearray(buffer)) Sep 25 12:16:12 tinypilot python[1368]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Sep 25 12:16:12 tinypilot python[479]: 2023-09-25 12:16:12.082 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Sep 25 12:16:15 tinypilot sudo[1369]: tinypilot : PWD=/opt/tinypilot ; USER=root ; COMMAND=/opt/tinypilot-privileged/scripts/collect-debug-logs -q Sep 25 12:16:15 tinypilot sudo[1369]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110) TinyPilot update logs TASK [ansible-role-ustreamer : patch Janus plugin.h file to successfully include refcount.h file] *** ok: [localhost] TASK [ansible-role-ustreamer : create Janus config files] ********************** ok: [localhost] => (item=janus.jcfg) ok: [localhost] => (item=janus.transport.websockets.jcfg) TASK [ansible-role-ustreamer : get multi-arch target triplet (i.e., machine-vendor-operatingsystem)] *** ok: [localhost] TASK [ansible-role-ustreamer : determine Janus plugins directory] ************** ok: [localhost] TASK [ansible-role-ustreamer : create ustreamer group] ************************* ok: [localhost] TASK [ansible-role-ustreamer : create ustreamer user] ************************** ok: [localhost] TASK [ansible-role-ustreamer : check for a boot config file] ******************* ok: [localhost] TASK [ansible-role-ustreamer : save whether boot config file exists] *********** ok: [localhost] TASK [ansible-role-ustreamer : check whether this machine has a uStreamer settings file] *** ok: [localhost] TASK [ansible-role-ustreamer : read uStreamer settings file] ******************* ok: [localhost] TASK [ansible-role-ustreamer : decode settings file] *************************** ok: [localhost] TASK [ansible-role-ustreamer : read ustreamer_capture_device from config file if it's not already defined] *** ok: [localhost] TASK [ansible-role-ustreamer : enable TC358743 overlay in /boot/config.txt] **** ok: [localhost] TASK [ansible-role-ustreamer : enable TC358743-audio overlay in /boot/config.txt] *** ok: [localhost] TASK [ansible-role-ustreamer : set GPU memory to 256MB in /boot/config.txt] **** ok: [localhost] TASK [ansible-role-ustreamer : check for a boot cmdline file] ****************** ok: [localhost] TASK [ansible-role-ustreamer : read /boot/cmdline.txt] ************************* ok: [localhost] TASK [ansible-role-ustreamer : decode command-line string] ********************* ok: [localhost] TASK [ansible-role-ustreamer : change cma to 128M if it's set to a different value] *** skipping: [localhost] TASK [ansible-role-ustreamer : add cma=128M to cmdline.txt if it's missing] **** skipping: [localhost] TASK [ansible-role-ustreamer : create EDIDs folder] **************************** ok: [localhost] TASK [ansible-role-ustreamer : copy TC358743 EDID file] ************************ changed: [localhost] TASK [ansible-role-ustreamer : install TC358743 initializer service] *********** ok: [localhost] TASK [ansible-role-ustreamer : use custom settings for TC358743 chip for any facts not already defined] *** ok: [localhost] TASK [ansible-role-ustreamer : remove TC358743 initializer service file] ******* skipping: [localhost] TASK [ansible-role-ustreamer : disable TC358743 overlay in /boot/config.txt] *** skipping: [localhost] TASK [ansible-role-ustreamer : disable TC358743-audio overlay in /boot/config.txt] *** skipping: [localhost] TASK [ansible-role-ustreamer : collect universal required apt packages] ******** ok: [localhost] TASK [ansible-role-ustreamer : collect Raspberry Pi OS specific required apt packages] *** ok: [localhost] TASK [ansible-role-ustreamer : collect Raspberry Pi OS and Debian specific required apt packages for audio] *** ok: [localhost] TASK [ansible-role-ustreamer : collect Debian-specific required apt packages] *** skipping: [localhost] TASK [ansible-role-ustreamer : collect Ubuntu-specific required apt packages] *** skipping: [localhost] TASK [ansible-role-ustreamer : collect Janus WebRTC plugin specific required apt packages] *** ok: [localhost] TASK [ansible-role-ustreamer : install uStreamer pre-requisite packages] ******* ok: [localhost] TASK [ansible-role-ustreamer : install uStreamer Debian package] *************** changed: [localhost] TASK [ansible-role-ustreamer : create uStreamer folder] ************************ skipping: [localhost] TASK [ansible-role-ustreamer : get uStreamer repo] ***************************** skipping: [localhost] TASK [ansible-role-ustreamer : clean uStreamer repository] ********************* skipping: [localhost] TASK [ansible-role-ustreamer : build uStreamer] ******************************** skipping: [localhost] TASK [ansible-role-ustreamer : fix uStreamer folder permissions] *************** changed: [localhost] TASK [ansible-role-ustreamer : install uStreamer as a service] ***************** ok: [localhost] TASK [ansible-role-ustreamer : enable systemd uStreamer service file] ********** ok: [localhost] TASK [ansible-role-ustreamer : save uStreamer settings file] ******************* ok: [localhost] TASK [ansible-role-ustreamer : create uStreamer Janus plugin config] *********** ok: [localhost] TASK [ansible-role-ustreamer : install uStreamer Janus plugin] ***************** skipping: [localhost] TASK [ansible-role-ustreamer : define ansible to yq architecture mapping] ****** ok: [localhost] TASK [ansible-role-ustreamer : canonicalize yq binary architecture] ************ ok: [localhost] TASK [ansible-role-ustreamer : install yq] ************************************* ok: [localhost] TASK [ansible-role-ustreamer : create uStreamer launcher directories] ********** ok: [localhost] => (item=/opt/ustreamer-launcher) ok: [localhost] => (item=/opt/ustreamer-launcher/configs.d) TASK [ansible-role-ustreamer : create runtime variables dictionary] ************ ok: [localhost] TASK [ansible-role-ustreamer : collect non-null runtime variables] ************* ok: [localhost] => (item=ustreamer_interface) ok: [localhost] => (item=ustreamer_port) skipping: [localhost] => (item=ustreamer_video_path) ok: [localhost] => (item=ustreamer_encoder) ok: [localhost] => (item=ustreamer_format) skipping: [localhost] => (item=ustreamer_resolution) skipping: [localhost] => (item=ustreamer_desired_fps) ok: [localhost] => (item=ustreamer_workers) skipping: [localhost] => (item=ustreamer_quality) skipping: [localhost] => (item=ustreamer_brightness) ok: [localhost] => (item=ustreamer_persistent) ok: [localhost] => (item=ustreamer_use_dv_timings) ok: [localhost] => (item=ustreamer_drop_same_frames) skipping: [localhost] => (item=ustreamer_tcp_nodelay) ok: [localhost] => (item=ustreamer_h264_sink) ok: [localhost] => (item=ustreamer_h264_sink_mode) ok: [localhost] => (item=ustreamer_h264_sink_rm) skipping: [localhost] => (item=ustreamer_h264_bitrate) TASK [ansible-role-ustreamer : print uStreamer runtime variables] ************** ok: [localhost] => { "ustreamer_runtime_vars": { "ustreamer_drop_same_frames": "30", "ustreamer_encoder": "m2m-image", "ustreamer_format": "uyvy", "ustreamer_h264_sink": "tinypilot::ustreamer::h264", "ustreamer_h264_sink_mode": 777, "ustreamer_h264_sink_rm": true, "ustreamer_interface": "127.0.0.1", "ustreamer_persistent": true, "ustreamer_port": 8001, "ustreamer_use_dv_timings": true, "ustreamer_workers": "3" } } TASK [ansible-role-ustreamer : write uStreamer runtime variables to file] ****** ok: [localhost] TASK [ansible-role-ustreamer : install uStreamer launcher script] ************** ok: [localhost] TASK [ansible-role-tinypilot-pro : install TinyPilot Debian package] *********** changed: [localhost] TASK [ansible-role-tinypilot-pro : install TinyPilot as a service] ************* ok: [localhost] TASK [ansible-role-tinypilot-pro : enable systemd TinyPilot service file] ****** ok: [localhost] TASK [ansible-role-tinypilot-pro : generate nginx ca keys] ********************* ok: [localhost] TASK [ansible-role-tinypilot-pro : generate nginx tls keys] ******************** ok: [localhost] TASK [ansible-role-nginx : Include OS-specific variables.] ********************* ok: [localhost] TASK [ansible-role-nginx : Define nginx_user.] ********************************* ok: [localhost] TASK [ansible-role-nginx : include_tasks] ************************************** skipping: [localhost] TASK [ansible-role-nginx : include_tasks] ************************************** skipping: [localhost] TASK [ansible-role-nginx : include_tasks] ************************************** included: /mnt/tinypilot-installer/roles/ansible-role-nginx/tasks/setup-Debian.yml for localhost TASK [ansible-role-nginx : Update apt cache.] ********************************** ok: [localhost] TASK [ansible-role-nginx : Ensure nginx is installed.] ************************* ok: [localhost] TASK [ansible-role-nginx : include_tasks] ************************************** skipping: [localhost] TASK [ansible-role-nginx : include_tasks] ************************************** skipping: [localhost] TASK [ansible-role-nginx : include_tasks] ************************************** skipping: [localhost] TASK [ansible-role-nginx : Remove default nginx vhost config file (if configured).] *** ok: [localhost] TASK [ansible-role-nginx : Ensure nginx_vhost_path exists.] ******************** ok: [localhost] TASK [ansible-role-nginx : Add managed vhost config files.] ******************** ok: [localhost] => (item={'listen': [80, '443 ssl http2'], 'server_name': 'tinypilot', 'filename': 'tinypilot.conf', 'root': '/opt/tinypilot', 'index': 'index.html', 'error_page': '497 =307 https://$http_host$request_uri', 'extra_parameters': 'ssl_certificate "/etc/ssl/certs/tinypilot-nginx.crt";\nssl_certificate_key "/etc/ssl/private/tinypilot-nginx.key";\nssl_protocols TLSv1.2;\nssl_prefer_server_ciphers on;\nssl_ciphers ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384;\nssl_ecdh_curve secp384r1;\nssl_session_timeout 10m;\nssl_session_cache shared:SSL:10m;\nssl_session_tickets off;\nproxy_buffers 16 16k;\nproxy_buffer_size 16k;\nproxy_set_header Host $http_host;\nproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\nproxy_set_header X-Forwarded-Proto $scheme;\nproxy_http_version 1.1;\nlocation /socket.io {\n proxy_pass http://tinypilot;\n proxy_set_header Upgrade $http_upgrade;\n proxy_set_header Connection "Upgrade";\n # Since this is a connection upgrade, we don\'t inherit the settings from\n # above. We need these so that nginx forwards requests properly to\n # Flask-SocketIO.\n # See: https://github.com/miguelgrinberg/Flask-SocketIO/issues/1501#issuecomment-802082048\n proxy_set_header Host $http_host;\n proxy_set_header X-Forwarded-Host $http_host;\n proxy_set_header X-Forwarded-Proto $scheme;\n}\nlocation /state {\n auth_request /auth;\n auth_request_set $auth_status $upstream_status;\n proxy_pass http://ustreamer;\n}\nlocation /stream {\n auth_request /auth;\n auth_request_set $auth_status $upstream_status;\n postpone_output 0;\n proxy_buffering off;\n proxy_ignore_headers X-Accel-Buffering;\n proxy_pass http://ustreamer;\n}\nlocation /snapshot {\n auth_request /auth;\n auth_request_set $auth_status $upstream_status;\n proxy_pass http://ustreamer;\n}\nlocation /janus/ws {\n auth_request /auth;\n auth_request_set $auth_status $upstream_status;\n proxy_pass http://janus-ws;\n proxy_set_header Upgrade $http_upgrade;\n proxy_set_header Connection "Upgrade";\n proxy_set_header Host $http_host;\n proxy_set_header X-Real-IP $remote_addr;\n proxy_set_header X-Scheme $scheme;\n proxy_set_header X-Forwarded-Proto $scheme;\n proxy_set_header X-Forwarded-Port $server_port;\n proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n}\nlocation /ca.crt {\n alias "/etc/ssl/certs/tinypilot-ca.crt";\n}\nlocation / {\n proxy_pass http://tinypilot;\n}\nlocation /api/massStorage/backingFiles {\n # Allow large file transfers without buffering them.\n client_max_body_size 0;\n proxy_request_buffering off;\n proxy_read_timeout 1d;\n proxy_pass http://tinypilot;\n}\nlocation ~* ^/.+\\.(html|js|js.map|css|woff|woff2)$ {\n root "/opt/tinypilot/app/static";\n\n # We cache assets to prevent the browser from making redundant\n # requests to the same files while loading the page. (Observed on\n # Chrome 91.) We don’t want caching otherwise, though, in order to\n # avoid stale files after users update their device. Note, that in\n # addition to `max-age`, the browser’s caching behaviour is relative\n # to the `Last-Modified` header, so we make that seem recent.\n add_header Last-Modified $date_gmt;\n add_header Cache-Control \'public, max-age=10s\';\n}\nlocation ~* ^/.+\\.(jpg|jpeg|png|ico)$ {\n root "/opt/tinypilot/app/static";\n}\n# Authenticate any protected routes that are outside of the core\n# TinyPilot web app.\nlocation = /auth {\n internal;\n proxy_pass http://tinypilot/api/auth;\n proxy_pass_request_body off;\n proxy_set_header Content-Length "";\n proxy_set_header X-Original-URI $request_uri;\n\n # Redefine header directives, as they are not inherited here:\n # See http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_set_header\n proxy_set_header X-Forwarded-Proto $scheme;\n}\n'}) TASK [ansible-role-nginx : Remove managed vhost config files.] ***************** skipping: [localhost] => (item={'listen': [80, '443 ssl http2'], 'server_name': 'tinypilot', 'filename': 'tinypilot.conf', 'root': '/opt/tinypilot', 'index': 'index.html', 'error_page': '497 =307 https://$http_host$request_uri', 'extra_parameters': 'ssl_certificate "/etc/ssl/certs/tinypilot-nginx.crt";\nssl_certificate_key "/etc/ssl/private/tinypilot-nginx.key";\nssl_protocols TLSv1.2;\nssl_prefer_server_ciphers on;\nssl_ciphers ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384;\nssl_ecdh_curve secp384r1;\nssl_session_timeout 10m;\nssl_session_cache shared:SSL:10m;\nssl_session_tickets off;\nproxy_buffers 16 16k;\nproxy_buffer_size 16k;\nproxy_set_header Host $http_host;\nproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\nproxy_set_header X-Forwarded-Proto $scheme;\nproxy_http_version 1.1;\nlocation /socket.io {\n proxy_pass http://tinypilot;\n proxy_set_header Upgrade $http_upgrade;\n proxy_set_header Connection "Upgrade";\n # Since this is a connection upgrade, we don\'t inherit the settings from\n # above. We need these so that nginx forwards requests properly to\n # Flask-SocketIO.\n # See: https://github.com/miguelgrinberg/Flask-SocketIO/issues/1501#issuecomment-802082048\n proxy_set_header Host $http_host;\n proxy_set_header X-Forwarded-Host $http_host;\n proxy_set_header X-Forwarded-Proto $scheme;\n}\nlocation /state {\n auth_request /auth;\n auth_request_set $auth_status $upstream_status;\n proxy_pass http://ustreamer;\n}\nlocation /stream {\n auth_request /auth;\n auth_request_set $auth_status $upstream_status;\n postpone_output 0;\n proxy_buffering off;\n proxy_ignore_headers X-Accel-Buffering;\n proxy_pass http://ustreamer;\n}\nlocation /snapshot {\n auth_request /auth;\n auth_request_set $auth_status $upstream_status;\n proxy_pass http://ustreamer;\n}\nlocation /janus/ws {\n auth_request /auth;\n auth_request_set $auth_status $upstream_status;\n proxy_pass http://janus-ws;\n proxy_set_header Upgrade $http_upgrade;\n proxy_set_header Connection "Upgrade";\n proxy_set_header Host $http_host;\n proxy_set_header X-Real-IP $remote_addr;\n proxy_set_header X-Scheme $scheme;\n proxy_set_header X-Forwarded-Proto $scheme;\n proxy_set_header X-Forwarded-Port $server_port;\n proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n}\nlocation /ca.crt {\n alias "/etc/ssl/certs/tinypilot-ca.crt";\n}\nlocation / {\n proxy_pass http://tinypilot;\n}\nlocation /api/massStorage/backingFiles {\n # Allow large file transfers without buffering them.\n client_max_body_size 0;\n proxy_request_buffering off;\n proxy_read_timeout 1d;\n proxy_pass http://tinypilot;\n}\nlocation ~* ^/.+\\.(html|js|js.map|css|woff|woff2)$ {\n root "/opt/tinypilot/app/static";\n\n # We cache assets to prevent the browser from making redundant\n # requests to the same files while loading the page. (Observed on\n # Chrome 91.) We don’t want caching otherwise, though, in order to\n # avoid stale files after users update their device. Note, that in\n # addition to `max-age`, the browser’s caching behaviour is relative\n # to the `Last-Modified` header, so we make that seem recent.\n add_header Last-Modified $date_gmt;\n add_header Cache-Control \'public, max-age=10s\';\n}\nlocation ~* ^/.+\\.(jpg|jpeg|png|ico)$ {\n root "/opt/tinypilot/app/static";\n}\n# Authenticate any protected routes that are outside of the core\n# TinyPilot web app.\nlocation = /auth {\n internal;\n proxy_pass http://tinypilot/api/auth;\n proxy_pass_request_body off;\n proxy_set_header Content-Length "";\n proxy_set_header X-Original-URI $request_uri;\n\n # Redefine header directives, as they are not inherited here:\n # See http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_set_header\n proxy_set_header X-Forwarded-Proto $scheme;\n}\n'}) TASK [ansible-role-nginx : Remove legacy vhosts.conf file.] ******************** ok: [localhost] TASK [ansible-role-nginx : Copy nginx configuration in place.] ***************** changed: [localhost] TASK [ansible-role-nginx : Ensure nginx service is running as configured.] ***** ok: [localhost] RUNNING HANDLER [ansible-role-nginx : reload nginx] **************************** changed: [localhost] PLAY RECAP ********************************************************************* localhost : ok=69 changed=6 unreachable=0 failed=0 skipped=19 rescued=0 ignored=0 + cp /mnt/tinypilot-installer/tmp/tmp.3sqEuRKvJf.yml /home/tinypilot/settings.yml + chown tinypilot:tinypilot /home/tinypilot/settings.yml + chmod 0644 /home/tinypilot/settings.yml + clean_up + rm -rf /mnt/tinypilot-installer/tmp/tmp.3sqEuRKvJf.yml + clean_up + sudo umount --lazy /mnt/tinypilot-installer + sudo rm -rf /opt/tinypilot-updater /mnt/tinypilot-installer 2023-07-18 17:53:52.305 __main__ INFO Update completed successfully 2023-07-18 17:53:52.305 update.result_store INFO Writing result file to /home/tinypilot/logs/latest-update-result.json 2023-07-18 17:53:52.307 update.target_version INFO Clearing target version file /home/tinypilot/target-version uStreamer configuration ==> /opt/ustreamer-launcher/configs.d/000-defaults.yml <== --- ustreamer_drop_same_frames: '30' ustreamer_encoder: m2m-image ustreamer_format: uyvy ustreamer_h264_sink: tinypilot::ustreamer::h264 ustreamer_h264_sink_mode: 777 ustreamer_h264_sink_rm: true ustreamer_interface: 127.0.0.1 ustreamer_persistent: true ustreamer_port: 8001 ustreamer_use_dv_timings: true ustreamer_workers: '3' ==> /opt/ustreamer-launcher/configs.d/100-tinypilot.yml <== ustreamer_desired_fps: 15 ustreamer_persistent: true ustreamer_quality: 50 uStreamer logs -- Journal begins at Mon 2023-09-25 12:12:10 BST, ends at Mon 2023-09-25 12:16:15 BST. -- Sep 25 12:12:13 tinypilot systemd[1]: Started uStreamer - Lightweight, optimized video encoder. Sep 25 12:12:16 tinypilot launch[480]: + exec /opt/ustreamer/ustreamer --host 127.0.0.1 --port 8001 --encoder m2m-image --format uyvy --desired-fps 15 --workers 3 --quality 50 --drop-same-frames 30 --persistent --dv-timings --h264-sink tinypilot::ustreamer::h264 --h264-sink-mode 777 --h264-sink-rm Sep 25 12:12:16 tinypilot launch[480]: -- INFO [9.882 main] -- Starting PiKVM uStreamer 5.38 ... Sep 25 12:12:16 tinypilot launch[480]: -- INFO [9.882 main] -- Using internal blank placeholder Sep 25 12:12:16 tinypilot launch[480]: -- INFO [9.883 main] -- Using H264-sink: tinypilot::ustreamer::h264 Sep 25 12:12:16 tinypilot launch[480]: -- INFO [9.883 main] -- Listening HTTP on [127.0.0.1]:8001 Sep 25 12:12:16 tinypilot launch[480]: -- INFO [9.884 stream] -- Using V4L2 device: /dev/video0 Sep 25 12:12:16 tinypilot launch[480]: -- INFO [9.884 stream] -- Using desired FPS: 15 Sep 25 12:12:16 tinypilot launch[480]: -- INFO [9.884 http] -- Starting HTTP eventloop ... Sep 25 12:12:16 tinypilot launch[480]: -- INFO [9.884 stream] -- H264: Initializing encoder ... Sep 25 12:12:16 tinypilot launch[480]: -- INFO [9.894 stream] -- H264: Configuring encoder: DMA=0 ... Sep 25 12:12:16 tinypilot launch[480]: ================================================================================ Sep 25 12:12:16 tinypilot launch[480]: -- INFO [9.911 stream] -- Device fd=10 opened Sep 25 12:12:16 tinypilot launch[480]: -- INFO [9.912 stream] -- Using input channel: 0 Sep 25 12:12:16 tinypilot launch[480]: -- INFO [9.933 stream] -- Using resolution: 640x480 Sep 25 12:12:16 tinypilot launch[480]: -- INFO [9.933 stream] -- Using format: UYVY Sep 25 12:12:16 tinypilot launch[480]: -- INFO [9.933 stream] -- Querying HW FPS changing is not supported Sep 25 12:12:16 tinypilot launch[480]: -- INFO [9.933 stream] -- Using IO method: MMAP Sep 25 12:12:16 tinypilot launch[480]: -- INFO [9.937 stream] -- Requested 5 device buffers, got 5 Sep 25 12:12:16 tinypilot launch[480]: -- INFO [9.943 stream] -- Capturing started Sep 25 12:12:16 tinypilot launch[480]: -- INFO [9.943 stream] -- JPEG-0: Initializing encoder ... Sep 25 12:12:16 tinypilot launch[480]: -- INFO [9.943 stream] -- JPEG-1: Initializing encoder ... Sep 25 12:12:16 tinypilot launch[480]: -- INFO [9.943 stream] -- JPEG-2: Initializing encoder ... Sep 25 12:12:16 tinypilot launch[480]: -- INFO [9.943 stream] -- Using JPEG quality: 50% Sep 25 12:12:16 tinypilot launch[480]: -- INFO [9.943 stream] -- Creating pool JPEG with 3 workers ... Sep 25 12:12:16 tinypilot launch[480]: -- INFO [9.944 stream] -- Capturing ... Sep 25 12:12:16 tinypilot launch[480]: -- INFO [9.944 stream] -- H264: Configuring encoder: DMA=1 ... Sep 25 12:12:16 tinypilot launch[480]: -- INFO [9.944 jw-0] -- JPEG-0: Configuring encoder: DMA=0 ... Sep 25 12:12:16 tinypilot launch[480]: -- INFO [9.977 jw-1] -- JPEG-1: Configuring encoder: DMA=0 ... Sep 25 12:12:16 tinypilot launch[480]: -- INFO [10.642 stream] -- Got V4L2 event Sep 25 12:12:16 tinypilot launch[480]: -- INFO [10.642 stream] -- Got V4L2_EVENT_SOURCE_CHANGE: source changed Sep 25 12:12:16 tinypilot launch[480]: -- INFO [10.643 stream] -- Destroying workers pool JPEG ... Sep 25 12:12:16 tinypilot launch[480]: -- INFO [10.681 stream] -- Capturing stopped Sep 25 12:12:16 tinypilot launch[480]: -- INFO [10.682 stream] -- Device fd=10 closed Sep 25 12:12:16 tinypilot launch[480]: -- INFO [10.682 stream] -- Changed video frame to BLANK Sep 25 12:12:16 tinypilot launch[480]: -- INFO [10.685 stream] -- H264: Configuring encoder: DMA=0 ... Sep 25 12:12:16 tinypilot launch[480]: ================================================================================ Sep 25 12:12:16 tinypilot launch[480]: -- INFO [10.706 stream] -- Device fd=10 opened Sep 25 12:12:16 tinypilot launch[480]: -- INFO [10.706 stream] -- Using input channel: 0 Sep 25 12:12:16 tinypilot launch[480]: -- INFO [10.713 stream] -- Got new DV-timings: 1920x1080p30.00, pixclk=79872960, vsync=22, hsync=496 Sep 25 12:12:17 tinypilot launch[480]: -- INFO [10.750 stream] -- Using resolution: 1920x1080 Sep 25 12:12:17 tinypilot launch[480]: -- INFO [10.750 stream] -- Using format: UYVY Sep 25 12:12:17 tinypilot launch[480]: -- INFO [10.750 stream] -- Querying HW FPS changing is not supported Sep 25 12:12:17 tinypilot launch[480]: -- INFO [10.750 stream] -- Using IO method: MMAP Sep 25 12:12:17 tinypilot launch[480]: -- INFO [10.761 stream] -- Requested 5 device buffers, got 5 Sep 25 12:12:17 tinypilot launch[480]: -- INFO [10.768 stream] -- Capturing started Sep 25 12:12:17 tinypilot launch[480]: -- INFO [10.768 stream] -- Using JPEG quality: 50% Sep 25 12:12:17 tinypilot launch[480]: -- INFO [10.768 stream] -- Creating pool JPEG with 3 workers ... Sep 25 12:12:17 tinypilot launch[480]: -- INFO [10.769 stream] -- Capturing ... Sep 25 12:12:17 tinypilot launch[480]: -- INFO [10.779 stream] -- H264: Configuring encoder: DMA=1 ... Sep 25 12:12:17 tinypilot launch[480]: -- INFO [10.779 jw-0] -- JPEG-0: Configuring encoder: DMA=0 ... Sep 25 12:12:17 tinypilot launch[480]: -- INFO [10.819 jw-1] -- JPEG-1: Configuring encoder: DMA=0 ... Sep 25 12:12:17 tinypilot launch[480]: -- INFO [10.845 jw-2] -- JPEG-2: Configuring encoder: DMA=0 ... Sep 25 12:12:24 tinypilot launch[480]: -- INFO [17.719 http] -- HTTP: NEW client (now=1): [192.168.1.119]:50196, id=457d5fd95112b82a Sep 25 12:12:24 tinypilot launch[480]: -- INFO [18.157 stream] -- H264: Requested keyframe by a sink client Sep 25 12:12:24 tinypilot launch[480]: -- INFO [18.254 http] -- HTTP: DEL client (now=0): [192.168.1.119]:50196, id=457d5fd95112b82a, Resource temporarily unavailable (reading,eof) Sep 25 12:12:24 tinypilot launch[480]: -- INFO [18.324 stream] -- H264: Requested keyframe by a sink client Sep 25 12:15:59 tinypilot launch[480]: -- INFO [221.868 http] -- HTTP: NEW client (now=1): [192.168.1.119]:60532, id=8ec5f801342905c0 Sep 25 12:16:00 tinypilot launch[480]: -- INFO [222.510 stream] -- H264: Requested keyframe by a sink client Sep 25 12:16:00 tinypilot launch[480]: -- INFO [222.677 stream] -- H264: Requested keyframe by a sink client nginx logs -- Journal begins at Mon 2023-09-25 12:12:10 BST, ends at Mon 2023-09-25 12:16:15 BST. -- Sep 25 12:12:13 tinypilot systemd[1]: Starting A high performance web server and a reverse proxy server... Sep 25 12:12:14 tinypilot systemd[1]: Started A high performance web server and a reverse proxy server. 2023/09/25 01:22:22 [error] 551#551: *24 upstream prematurely closed connection while reading response header from upstream, client: 192.168.1.119, server: tinypilot, request: "POST /api/restart HTTP/2.0", upstream: "http://127.0.0.1:8000/api/restart", host: "tinypilot", referrer: "https://tinypilot/" 2023/09/25 01:22:56 [error] 551#551: *22 upstream prematurely closed connection while reading response header from upstream, client: 192.168.1.119, server: tinypilot, request: "POST /api/restart HTTP/2.0", upstream: "http://127.0.0.1:8000/api/restart", host: "tinypilot", referrer: "https://tinypilot/" 2023/09/25 11:34:29 [error] 571#571: *23 upstream prematurely closed connection while reading response header from upstream, client: 192.168.1.119, server: tinypilot, request: "POST /api/restart HTTP/2.0", upstream: "http://127.0.0.1:8000/api/restart", host: "tinypilot", referrer: "https://tinypilot/" 2023/09/25 11:35:24 [error] 580#580: *3 upstream prematurely closed connection while reading response header from upstream, client: 192.168.1.119, server: tinypilot, request: "POST /api/restart HTTP/2.0", upstream: "http://127.0.0.1:8000/api/restart", host: "tinypilot", referrer: "https://tinypilot/" 2023/09/25 11:38:15 [error] 574#574: *2 upstream prematurely closed connection while reading response header from upstream, client: 192.168.1.119, server: tinypilot, request: "POST /api/restart HTTP/2.0", upstream: "http://127.0.0.1:8000/api/restart", host: "tinypilot", referrer: "https://tinypilot/" 2023/09/25 12:03:18 [error] 583#583: *2 upstream prematurely closed connection while reading response header from upstream, client: 192.168.1.119, server: tinypilot, request: "POST /api/restart HTTP/2.0", upstream: "http://127.0.0.1:8000/api/restart", host: "tinypilot", referrer: "https://tinypilot/" 2023/09/25 12:04:55 [error] 570#570: *2 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.119, server: tinypilot, request: "HEAD /stream HTTP/2.0", upstream: "http://127.0.0.1:8001/stream", host: "tinypilot", referrer: "https://tinypilot/" 2023/09/25 12:05:08 [error] 570#570: *2 upstream prematurely closed connection while reading response header from upstream, client: 192.168.1.119, server: tinypilot, request: "POST /api/restart HTTP/2.0", upstream: "http://127.0.0.1:8000/api/restart", host: "tinypilot", referrer: "https://tinypilot/" 2023/09/25 12:05:08 [error] 570#570: *2 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.1.119, server: tinypilot, request: "GET /stream?advance_headers=1 HTTP/2.0", subrequest: "/auth", upstream: "http://127.0.0.1:8000/api/auth", host: "tinypilot", referrer: "https://tinypilot/" 2023/09/25 12:05:08 [error] 570#570: *2 auth request unexpected status: 502 while sending to client, client: 192.168.1.119, server: tinypilot, request: "GET /stream?advance_headers=1 HTTP/2.0", host: "tinypilot", referrer: "https://tinypilot/" 2023/09/25 12:06:25 [error] 565#565: *28 upstream prematurely closed connection while reading response header from upstream, client: 192.168.1.164, server: tinypilot, request: "POST /api/restart HTTP/2.0", upstream: "http://127.0.0.1:8000/api/restart", host: "tinypilot", referrer: "https://tinypilot/" 2023/09/25 12:06:25 [error] 565#565: *28 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.1.164, server: tinypilot, request: "GET /stream?advance_headers=1 HTTP/2.0", subrequest: "/auth", upstream: "http://127.0.0.1:8000/api/auth", host: "tinypilot", referrer: "https://tinypilot/" 2023/09/25 12:06:25 [error] 565#565: *28 auth request unexpected status: 502 while sending to client, client: 192.168.1.164, server: tinypilot, request: "GET /stream?advance_headers=1 HTTP/2.0", host: "tinypilot", referrer: "https://tinypilot/" 2023/09/25 12:12:08 [error] 573#573: *27 upstream prematurely closed connection while reading response header from upstream, client: 192.168.1.119, server: tinypilot, request: "POST /api/restart HTTP/2.0", upstream: "http://127.0.0.1:8000/api/restart", host: "tinypilot", referrer: "https://tinypilot/" 2023/09/25 12:12:08 [error] 573#573: *27 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.1.119, server: tinypilot, request: "GET /stream?advance_headers=1 HTTP/2.0", subrequest: "/auth", upstream: "http://127.0.0.1:8000/api/auth", host: "tinypilot", referrer: "https://tinypilot/" 2023/09/25 12:12:08 [error] 573#573: *27 auth request unexpected status: 502 while sending to client, client: 192.168.1.119, server: tinypilot, request: "GET /stream?advance_headers=1 HTTP/2.0", host: "tinypilot", referrer: "https://tinypilot/" 192.168.1.119 - - [25/Sep/2023:12:12:23 +0100] "GET /third-party/fonts/fonts.css HTTP/2.0" 200 1812 "https://tinypilot/css/style.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:23 +0100] "GET /css/button.css HTTP/2.0" 200 1976 "https://tinypilot/css/style.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:23 +0100] "GET /css/cursors.css HTTP/2.0" 200 618 "https://tinypilot/css/style.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:23 +0100] "GET /js/controllers.js HTTP/2.0" 200 18721 "https://tinypilot/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:23 +0100] "GET /js/events.js HTTP/2.0" 200 1890 "https://tinypilot/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:23 +0100] "GET /js/poll.js HTTP/2.0" 200 1958 "https://tinypilot/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:23 +0100] "GET /js/updatelogs.js HTTP/2.0" 200 861 "https://tinypilot/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:23 +0100] "GET /js/wake-on-lan.js HTTP/2.0" 200 551 "https://tinypilot/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:23 +0100] "GET /js/logs.js HTTP/2.0" 200 1484 "https://tinypilot/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:23 +0100] "GET /js/settings.js HTTP/2.0" 200 1900 "https://tinypilot/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:23 +0100] "GET /js/clipboard.js HTTP/2.0" 200 889 "https://tinypilot/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:23 +0100] "GET /js/mouse.js HTTP/2.0" 200 8492 "https://tinypilot/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:23 +0100] "GET /js/keycodes.js HTTP/2.0" 200 3205 "https://tinypilot/js/app.js" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:23 +0100] "GET /js/keyboardstate.js HTTP/2.0" 200 3164 "https://tinypilot/js/app.js" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:23 +0100] "GET /js/keystrokes.js HTTP/2.0" 200 362 "https://tinypilot/js/app.js" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:23 +0100] "GET /js/paste.js HTTP/2.0" 200 2096 "https://tinypilot/js/app.js" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:23 +0100] "GET /js/overlays.js HTTP/2.0" 200 495 "https://tinypilot/js/app.js" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:23 +0100] "GET /css/icons.css HTTP/2.0" 200 841 "https://tinypilot/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:23 +0100] "GET /css/toggle.css HTTP/2.0" 200 1005 "https://tinypilot/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:23 +0100] "GET /third-party/fonts/overpass-light.woff2 HTTP/2.0" 200 26568 "https://tinypilot/third-party/fonts/fonts.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:23 +0100] "GET /third-party/fonts/overpass-mono-light.woff2 HTTP/2.0" 200 50112 "https://tinypilot/third-party/fonts/fonts.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:23 +0100] "GET /third-party/fonts/overpass-semibold.woff2 HTTP/2.0" 200 25032 "https://tinypilot/third-party/fonts/fonts.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:23 +0100] "GET /socket.io/?EIO=4&transport=polling&t=OhC2e7X HTTP/2.0" 200 96 "https://tinypilot/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:24 +0100] "GET /favicon.ico HTTP/2.0" 200 1213 "https://tinypilot/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:24 +0100] "POST /socket.io/?EIO=4&transport=polling&t=OhC2e7q&sid=z7DzILuaq81krPGeAAAC HTTP/2.0" 200 2 "https://tinypilot/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:24 +0100] "GET /socket.io/?EIO=4&transport=polling&t=OhC2e7q.0&sid=z7DzILuaq81krPGeAAAC HTTP/2.0" 200 32 "https://tinypilot/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:24 +0100] "GET /favicon-32x32.png HTTP/2.0" 200 833 "https://tinypilot/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:24 +0100] "GET /socket.io/?EIO=4&transport=polling&t=OhC2e8t&sid=z7DzILuaq81krPGeAAAC HTTP/2.0" 200 1 "https://tinypilot/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:24 +0100] "GET /stream?advance_headers=1 HTTP/2.0" 200 139886 "https://tinypilot/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [25/Sep/2023:12:12:24 +0100] "GET /apple-touch-icon.png HTTP/2.0" 200 3571 "https://tinypilot/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "-"