TinyPilot Pro log dump https://tinypilotkvm.com Timestamp: 2023-10-16T14:53:46+01:00 Software versions TinyPilot version: 2.6.1 uStreamer version: 5.38 System information OS version: Linux tinypilot 5.15.84-v7l+ #1613 SMP Thu Jan 5 12:01:26 GMT 2023 armv7l GNU/Linux Kernel architecture: armv7l Userland architecture: armhf (32-bit) 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 Network interfaces: eth0 (up) lo (unknown) tailscale0 (unknown) wlan0 (down) Mouse jiggler: disabled CPU Temperature: 43.8'C CPU throttled since boot: no Voltage issues: no TinyPilot settings.yml ustreamer_desired_fps: 10 TinyPilot configuration [Unit] Description=TinyPilot - RPi-based virtual KVM BindsTo=nginx.service After=syslog.target network.target nginx.service StartLimitIntervalSec=0 [Service] Type=simple User=tinypilot WorkingDirectory=/opt/tinypilot ExecStart=/opt/tinypilot/venv/bin/python app/main.py Environment=APP_SETTINGS_FILE=/home/tinypilot/app_settings.cfg Restart=always [Install] WantedBy=multi-user.target TinyPilot logs Oct 16 14:52:00 tinypilot python[1551]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Oct 16 14:52:00 tinypilot python[1551]: self.run() Oct 16 14:52:00 tinypilot python[1551]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 16 14:52:00 tinypilot python[1551]: result.return_value = self._target(*self._args, **self._kwargs) Oct 16 14:52:00 tinypilot python[1551]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 16 14:52:00 tinypilot python[1551]: hid_handle.write(bytearray(buffer)) Oct 16 14:52:00 tinypilot python[1551]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 16 14:52:00 tinypilot python[571]: 2023-10-16 14:52:00.778 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 16 14:52:01 tinypilot python[1552]: Process ProcessWithResult-53: Oct 16 14:52:01 tinypilot python[1552]: Traceback (most recent call last): Oct 16 14:52:01 tinypilot python[1552]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Oct 16 14:52:01 tinypilot python[1552]: self.run() Oct 16 14:52:01 tinypilot python[1552]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 16 14:52:01 tinypilot python[1552]: result.return_value = self._target(*self._args, **self._kwargs) Oct 16 14:52:01 tinypilot python[1552]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 16 14:52:01 tinypilot python[1552]: hid_handle.write(bytearray(buffer)) Oct 16 14:52:01 tinypilot python[1552]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 16 14:52:01 tinypilot python[571]: 2023-10-16 14:52:01.193 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 16 14:52:01 tinypilot python[1553]: Process ProcessWithResult-54: Oct 16 14:52:01 tinypilot python[1553]: Traceback (most recent call last): Oct 16 14:52:01 tinypilot python[1553]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Oct 16 14:52:01 tinypilot python[1553]: self.run() Oct 16 14:52:01 tinypilot python[1553]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 16 14:52:01 tinypilot python[1553]: result.return_value = self._target(*self._args, **self._kwargs) Oct 16 14:52:01 tinypilot python[1553]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 16 14:52:01 tinypilot python[1553]: hid_handle.write(bytearray(buffer)) Oct 16 14:52:01 tinypilot python[1553]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 16 14:52:01 tinypilot python[571]: 2023-10-16 14:52:01.318 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 16 14:52:03 tinypilot python[1554]: Process ProcessWithResult-55: Oct 16 14:52:03 tinypilot python[1554]: Traceback (most recent call last): Oct 16 14:52:03 tinypilot python[1554]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Oct 16 14:52:03 tinypilot python[1554]: self.run() Oct 16 14:52:03 tinypilot python[1554]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 16 14:52:03 tinypilot python[1554]: result.return_value = self._target(*self._args, **self._kwargs) Oct 16 14:52:03 tinypilot python[1554]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 16 14:52:03 tinypilot python[1554]: hid_handle.write(bytearray(buffer)) Oct 16 14:52:03 tinypilot python[1554]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 16 14:52:03 tinypilot python[571]: 2023-10-16 14:52:03.092 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 16 14:52:03 tinypilot python[1555]: Process ProcessWithResult-56: Oct 16 14:52:03 tinypilot python[1555]: Traceback (most recent call last): Oct 16 14:52:03 tinypilot python[1555]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Oct 16 14:52:03 tinypilot python[1555]: self.run() Oct 16 14:52:03 tinypilot python[1555]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 16 14:52:03 tinypilot python[1555]: result.return_value = self._target(*self._args, **self._kwargs) Oct 16 14:52:03 tinypilot python[1555]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 16 14:52:03 tinypilot python[1555]: hid_handle.write(bytearray(buffer)) Oct 16 14:52:03 tinypilot python[1555]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 16 14:52:03 tinypilot python[571]: 2023-10-16 14:52:03.212 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 16 14:52:05 tinypilot python[1556]: Process ProcessWithResult-57: Oct 16 14:52:05 tinypilot python[1556]: Traceback (most recent call last): Oct 16 14:52:05 tinypilot python[1556]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Oct 16 14:52:05 tinypilot python[1556]: self.run() Oct 16 14:52:05 tinypilot python[1556]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 16 14:52:05 tinypilot python[1556]: result.return_value = self._target(*self._args, **self._kwargs) Oct 16 14:52:05 tinypilot python[1556]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 16 14:52:05 tinypilot python[1556]: hid_handle.write(bytearray(buffer)) Oct 16 14:52:05 tinypilot python[1556]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 16 14:52:05 tinypilot python[571]: 2023-10-16 14:52:05.226 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 16 14:52:05 tinypilot python[1557]: Process ProcessWithResult-58: Oct 16 14:52:05 tinypilot python[1557]: Traceback (most recent call last): Oct 16 14:52:05 tinypilot python[1557]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Oct 16 14:52:05 tinypilot python[1557]: self.run() Oct 16 14:52:05 tinypilot python[1557]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 16 14:52:05 tinypilot python[1557]: result.return_value = self._target(*self._args, **self._kwargs) Oct 16 14:52:05 tinypilot python[1557]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 16 14:52:05 tinypilot python[1557]: hid_handle.write(bytearray(buffer)) Oct 16 14:52:05 tinypilot python[1557]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 16 14:52:05 tinypilot python[571]: 2023-10-16 14:52:05.615 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 16 14:52:05 tinypilot python[1558]: Process ProcessWithResult-59: Oct 16 14:52:05 tinypilot python[1558]: Traceback (most recent call last): Oct 16 14:52:05 tinypilot python[1558]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Oct 16 14:52:05 tinypilot python[1558]: self.run() Oct 16 14:52:05 tinypilot python[1558]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 16 14:52:05 tinypilot python[1558]: result.return_value = self._target(*self._args, **self._kwargs) Oct 16 14:52:05 tinypilot python[1558]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 16 14:52:05 tinypilot python[1558]: hid_handle.write(bytearray(buffer)) Oct 16 14:52:05 tinypilot python[1558]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 16 14:52:05 tinypilot python[571]: 2023-10-16 14:52:05.745 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 16 14:52:07 tinypilot python[1559]: Process ProcessWithResult-60: Oct 16 14:52:07 tinypilot python[1559]: Traceback (most recent call last): Oct 16 14:52:07 tinypilot python[1559]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Oct 16 14:52:07 tinypilot python[1559]: self.run() Oct 16 14:52:07 tinypilot python[1559]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 16 14:52:07 tinypilot python[1559]: result.return_value = self._target(*self._args, **self._kwargs) Oct 16 14:52:07 tinypilot python[1559]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 16 14:52:07 tinypilot python[1559]: hid_handle.write(bytearray(buffer)) Oct 16 14:52:07 tinypilot python[1559]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 16 14:52:07 tinypilot python[571]: 2023-10-16 14:52:07.286 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 16 14:52:07 tinypilot python[1560]: Process ProcessWithResult-61: Oct 16 14:52:07 tinypilot python[1560]: Traceback (most recent call last): Oct 16 14:52:07 tinypilot python[1560]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Oct 16 14:52:07 tinypilot python[1560]: self.run() Oct 16 14:52:07 tinypilot python[1560]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 16 14:52:07 tinypilot python[1560]: result.return_value = self._target(*self._args, **self._kwargs) Oct 16 14:52:07 tinypilot python[1560]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 16 14:52:07 tinypilot python[1560]: hid_handle.write(bytearray(buffer)) Oct 16 14:52:07 tinypilot python[1560]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 16 14:52:07 tinypilot python[571]: 2023-10-16 14:52:07.396 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 16 14:52:35 tinypilot python[1572]: Process ProcessWithResult-62: Oct 16 14:52:35 tinypilot python[1572]: Traceback (most recent call last): Oct 16 14:52:35 tinypilot python[1572]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Oct 16 14:52:35 tinypilot python[1572]: self.run() Oct 16 14:52:35 tinypilot python[1572]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 16 14:52:35 tinypilot python[1572]: result.return_value = self._target(*self._args, **self._kwargs) Oct 16 14:52:35 tinypilot python[1572]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 16 14:52:35 tinypilot python[1572]: hid_handle.write(bytearray(buffer)) Oct 16 14:52:35 tinypilot python[1572]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 16 14:52:35 tinypilot python[571]: 2023-10-16 14:52:35.269 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 16 14:52:37 tinypilot python[1573]: Process ProcessWithResult-63: Oct 16 14:52:37 tinypilot python[1573]: Traceback (most recent call last): Oct 16 14:52:37 tinypilot python[1573]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Oct 16 14:52:37 tinypilot python[1573]: self.run() Oct 16 14:52:37 tinypilot python[1573]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 16 14:52:37 tinypilot python[1573]: result.return_value = self._target(*self._args, **self._kwargs) Oct 16 14:52:37 tinypilot python[1573]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 16 14:52:37 tinypilot python[1573]: hid_handle.write(bytearray(buffer)) Oct 16 14:52:37 tinypilot python[1573]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 16 14:52:37 tinypilot python[571]: 2023-10-16 14:52:37.269 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 16 14:52:39 tinypilot python[1574]: Process ProcessWithResult-64: Oct 16 14:52:39 tinypilot python[1574]: Traceback (most recent call last): Oct 16 14:52:39 tinypilot python[1574]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Oct 16 14:52:39 tinypilot python[1574]: self.run() Oct 16 14:52:39 tinypilot python[1574]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 16 14:52:39 tinypilot python[1574]: result.return_value = self._target(*self._args, **self._kwargs) Oct 16 14:52:39 tinypilot python[1574]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 16 14:52:39 tinypilot python[1574]: hid_handle.write(bytearray(buffer)) Oct 16 14:52:39 tinypilot python[1574]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 16 14:52:39 tinypilot python[571]: 2023-10-16 14:52:39.283 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 16 14:52:41 tinypilot python[1576]: Process ProcessWithResult-65: Oct 16 14:52:41 tinypilot python[1576]: Traceback (most recent call last): Oct 16 14:52:41 tinypilot python[1576]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Oct 16 14:52:41 tinypilot python[1576]: self.run() Oct 16 14:52:41 tinypilot python[1576]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 16 14:52:41 tinypilot python[1576]: result.return_value = self._target(*self._args, **self._kwargs) Oct 16 14:52:41 tinypilot python[1576]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 16 14:52:41 tinypilot python[1576]: hid_handle.write(bytearray(buffer)) Oct 16 14:52:41 tinypilot python[1576]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 16 14:52:41 tinypilot python[571]: 2023-10-16 14:52:41.283 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 16 14:52:43 tinypilot python[1577]: Process ProcessWithResult-66: Oct 16 14:52:43 tinypilot python[1577]: Traceback (most recent call last): Oct 16 14:52:43 tinypilot python[1577]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Oct 16 14:52:43 tinypilot python[1577]: self.run() Oct 16 14:52:43 tinypilot python[1577]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 16 14:52:43 tinypilot python[1577]: result.return_value = self._target(*self._args, **self._kwargs) Oct 16 14:52:43 tinypilot python[1577]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 16 14:52:43 tinypilot python[1577]: hid_handle.write(bytearray(buffer)) Oct 16 14:52:43 tinypilot python[1577]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 16 14:52:43 tinypilot python[571]: 2023-10-16 14:52:43.280 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 16 14:52:45 tinypilot python[1578]: Process ProcessWithResult-67: Oct 16 14:52:45 tinypilot python[1578]: Traceback (most recent call last): Oct 16 14:52:45 tinypilot python[1578]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Oct 16 14:52:45 tinypilot python[1578]: self.run() Oct 16 14:52:45 tinypilot python[1578]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 16 14:52:45 tinypilot python[1578]: result.return_value = self._target(*self._args, **self._kwargs) Oct 16 14:52:45 tinypilot python[1578]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 16 14:52:45 tinypilot python[1578]: hid_handle.write(bytearray(buffer)) Oct 16 14:52:45 tinypilot python[1578]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 16 14:52:45 tinypilot python[571]: 2023-10-16 14:52:45.276 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 16 14:52:47 tinypilot python[1580]: Process ProcessWithResult-68: Oct 16 14:52:47 tinypilot python[1580]: Traceback (most recent call last): Oct 16 14:52:47 tinypilot python[1580]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Oct 16 14:52:47 tinypilot python[1580]: self.run() Oct 16 14:52:47 tinypilot python[1580]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 16 14:52:47 tinypilot python[1580]: result.return_value = self._target(*self._args, **self._kwargs) Oct 16 14:52:47 tinypilot python[1580]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 16 14:52:47 tinypilot python[1580]: hid_handle.write(bytearray(buffer)) Oct 16 14:52:47 tinypilot python[1580]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 16 14:52:47 tinypilot python[571]: 2023-10-16 14:52:47.278 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 16 14:52:49 tinypilot python[1581]: Process ProcessWithResult-69: Oct 16 14:52:49 tinypilot python[1581]: Traceback (most recent call last): Oct 16 14:52:49 tinypilot python[1581]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Oct 16 14:52:49 tinypilot python[1581]: self.run() Oct 16 14:52:49 tinypilot python[1581]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 16 14:52:49 tinypilot python[1581]: result.return_value = self._target(*self._args, **self._kwargs) Oct 16 14:52:49 tinypilot python[1581]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 16 14:52:49 tinypilot python[1581]: hid_handle.write(bytearray(buffer)) Oct 16 14:52:49 tinypilot python[1581]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 16 14:52:49 tinypilot python[571]: 2023-10-16 14:52:49.274 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 16 14:53:43 tinypilot python[1593]: Process ProcessWithResult-70: Oct 16 14:53:43 tinypilot python[1593]: Traceback (most recent call last): Oct 16 14:53:43 tinypilot python[1593]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Oct 16 14:53:43 tinypilot python[1593]: self.run() Oct 16 14:53:43 tinypilot python[1593]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 16 14:53:43 tinypilot python[1593]: result.return_value = self._target(*self._args, **self._kwargs) Oct 16 14:53:43 tinypilot python[1593]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 16 14:53:43 tinypilot python[1593]: hid_handle.write(bytearray(buffer)) Oct 16 14:53:43 tinypilot python[1593]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 16 14:53:43 tinypilot python[571]: 2023-10-16 14:53:43.856 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 16 14:53:45 tinypilot python[1594]: Process ProcessWithResult-71: Oct 16 14:53:45 tinypilot python[1594]: Traceback (most recent call last): Oct 16 14:53:45 tinypilot python[1594]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap Oct 16 14:53:45 tinypilot python[1594]: self.run() Oct 16 14:53:45 tinypilot python[1594]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 16 14:53:45 tinypilot python[1594]: result.return_value = self._target(*self._args, **self._kwargs) Oct 16 14:53:45 tinypilot python[1594]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 16 14:53:45 tinypilot python[1594]: hid_handle.write(bytearray(buffer)) Oct 16 14:53:45 tinypilot python[1594]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 16 14:53:45 tinypilot python[571]: 2023-10-16 14:53:45.857 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 16 14:53:46 tinypilot sudo[1595]: tinypilot : PWD=/opt/tinypilot ; USER=root ; COMMAND=/opt/tinypilot-privileged/scripts/collect-debug-logs -q Oct 16 14:53:46 tinypilot sudo[1595]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110) TinyPilot update logs 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 2023-09-27 14:21:15.938 __main__ INFO Starting TinyPilot update 2023-09-27 14:21:15.939 __main__ INFO Launching update script: /opt/tinypilot-privileged/scripts/update + set -u + set -e + readonly VERSION_FILE=/home/tinypilot/target-version + VERSION_FILE=/home/tinypilot/target-version + SCRIPT_ARGS=() + [[ -f /home/tinypilot/target-version ]] ++ cat /home/tinypilot/target-version + VERSION=2.6.1 + SCRIPT_ARGS+=(--version "${VERSION}") + readonly SCRIPT_ARGS + curl --silent --show-error https://gk.tinypilotkvm.com/get-tinypilot-pro.sh + bash -s -- --version 2.6.1 + TARGET_VERSION= + ALLOW_REINSTALL=false + [[ 2 -gt 0 ]] + case "$1" in + TARGET_VERSION=2.6.1 + shift + shift + [[ 0 -gt 0 ]] + readonly ALLOW_REINSTALL + readonly LEGACY_INSTALLER_DIR=/opt/tinypilot-updater + LEGACY_INSTALLER_DIR=/opt/tinypilot-updater + readonly RAMDISK_SIZE_MIB=560 + RAMDISK_SIZE_MIB=560 ++ free --mebi ++ grep --fixed-strings Mem: ++ tr --squeeze-repeats ' ' ++ cut --delimiter ' ' --fields 7 + AVAILABLE_MEMORY_MIB=1435 + readonly AVAILABLE_MEMORY_MIB + INSTALLER_DIR=/mnt/tinypilot-installer + trap clean_up EXIT + (( 1435 >= 560 )) + sudo mkdir /mnt/tinypilot-installer + sudo mount --types tmpfs --options size=560m --source tmpfs --target /mnt/tinypilot-installer --verbose mount: tmpfs mounted on /mnt/tinypilot-installer. + readonly INSTALLER_DIR + readonly TMPDIR=/mnt/tinypilot-installer/tmp + TMPDIR=/mnt/tinypilot-installer/tmp + export TMPDIR + sudo mkdir /mnt/tinypilot-installer/tmp + readonly BUNDLE_FILE=/mnt/tinypilot-installer/bundle.tgz + BUNDLE_FILE=/mnt/tinypilot-installer/bundle.tgz + readonly TARGET_VERSION_FILE=/mnt/tinypilot-installer/target_version.json + TARGET_VERSION_FILE=/mnt/tinypilot-installer/target_version.json + readonly TINYPILOT_VERSION_FILE=/opt/tinypilot/VERSION + TINYPILOT_VERSION_FILE=/opt/tinypilot/VERSION + CURRENT_VERSION= + [[ -f /opt/tinypilot/VERSION ]] ++ cat /opt/tinypilot/VERSION + CURRENT_VERSION=2.6.0 + readonly CURRENT_VERSION + HAS_COMMUNITY_INSTALLED=0 + readonly TINYPILOT_README_FILE=/opt/tinypilot/README.md + TINYPILOT_README_FILE=/opt/tinypilot/README.md + [[ -f /opt/tinypilot/README.md ]] ++ head -n 1 /opt/tinypilot/README.md + [[ # TinyPilot Pro == \#\ \T\i\n\y\P\i\l\o\t ]] + readonly HAS_COMMUNITY_INSTALLED + [[ -z 2.6.1 ]] + readonly TARGET_VERSION + [[ 2.6.0 == \2\.\6\.\1 ]] + readonly TINYPILOT_LICENSE_KEY=UNSPECIFIED + TINYPILOT_LICENSE_KEY=UNSPECIFIED ++ tr --delete '\0' + DEVICE_SERIAL_NUMBER=10000000111988e1 + readonly DEVICE_SERIAL_NUMBER ++ curl https://gk.tinypilotkvm.com/pro/download/2.6.1 --location --header 'TP-License: UNSPECIFIED' --header 'TP-Device-Serial-Number: 10000000111988e1' --output /mnt/tinypilot-installer/bundle.tgz --write-out '%{http_code}' --silent + HTTP_CODE=200 + readonly HTTP_CODE + [[ 200 != \2\0\0 ]] + sudo tar --gunzip --extract --file /mnt/tinypilot-installer/bundle.tgz --directory /mnt/tinypilot-installer + sudo chown root:root --recursive /mnt/tinypilot-installer + [[ 0 -eq 1 ]] + pushd /mnt/tinypilot-installer /mnt/tinypilot-installer /opt/tinypilot + sudo TMPDIR=/mnt/tinypilot-installer/tmp ./install + grep -q '^Model *: Raspberry Pi 3' /proc/cpuinfo ++ lsb_release --id --short + [[ Raspbian == \R\a\s\p\b\i\a\n ]] ++ lsb_release --release --short + (( 11 < 11 )) + grep -q boot=overlay /proc/cmdline ++ ls janus_1.0.1-1~bpo11+1_armhf.deb + JANUS_DEBIAN_PACKAGE=janus_1.0.1-1~bpo11+1_armhf.deb + readonly JANUS_DEBIAN_PACKAGE ++ ls ustreamer_5.38-20230802141939_armhf.deb + USTREAMER_DEBIAN_PACKAGE=ustreamer_5.38-20230802141939_armhf.deb + readonly USTREAMER_DEBIAN_PACKAGE ++ ls tinypilot_20230904111604_armhf.deb + TINYPILOT_DEBIAN_PACKAGE=tinypilot_20230904111604_armhf.deb + readonly TINYPILOT_DEBIAN_PACKAGE + apt-get install -y ./janus_1.0.1-1~bpo11+1_armhf.deb ./ustreamer_5.38-20230802141939_armhf.deb ./tinypilot_20230904111604_armhf.deb Reading package lists... Building dependency tree... Reading state information... janus is already the newest version (1.0.1-1~bpo11+1). The following package was automatically installed and is no longer required: dos2unix Use 'sudo apt autoremove' to remove it. The following packages will be upgraded: tinypilot ustreamer 2 upgraded, 0 newly installed, 0 to remove and 54 not upgraded. Need to get 0 B/2,659 kB of archives. After this operation, 837 kB of additional disk space will be used. Get:1 /mnt/tinypilot-installer/ustreamer_5.38-20230802141939_armhf.deb ustreamer armhf 5.38-20230802141939 [157 kB] Get:2 /mnt/tinypilot-installer/tinypilot_20230904111604_armhf.deb tinypilot armhf 20230904111604 [2,503 kB] apt-listchanges: Reading changelogs... debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: [614B blob data] Preparing to unpack .../ustreamer_5.38-20230802141939_armhf.deb ... Unpacking ustreamer (5.38-20230802141939) over (5.38-20230525134432) ... Preparing to unpack .../tinypilot_20230904111604_armhf.deb ... Unpacking tinypilot (20230904111604) over (20230626153715) ... Setting up ustreamer (5.38-20230802141939) ... Warning: The home dir /home/ustreamer you specified already exists. The system user `ustreamer' already exists. Exiting. Setting up tinypilot (20230904111604) ... Installing new version of config file /etc/sudoers.d/tinypilot ... Warning: The home dir /home/tinypilot you specified already exists. The system user `tinypilot' already exists. Exiting. /opt/tinypilot / / /opt/tinypilot / / /opt/tinypilot / / nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful active /opt/tinypilot / / update-tls-cert-common-name.service is a disabled or a static unit not running, not starting it. Processing triggers for man-db (2.9.4-2) ... + mv yq /usr/bin/yq + chmod 0755 /usr/bin/yq + clean_up + sudo umount --lazy /mnt/tinypilot-installer + sudo rm -rf /opt/tinypilot-updater /mnt/tinypilot-installer 2023-09-27 14:22:21.516 __main__ INFO Update completed successfully 2023-09-27 14:22:21.517 update.result_store INFO Writing result file to /home/tinypilot/logs/latest-update-result.json 2023-09-27 14:22:21.518 update.target_version INFO Clearing target version file /home/tinypilot/target-version uStreamer configuration ==> /opt/ustreamer-launcher/configs.d/000-defaults.yml <== # Settings for TC358743 HDMI to CSI-2 bridge, which are included on the # TinyPilot Voyager series of devices. --- ustreamer_encoder: m2m-image ustreamer_format: uyvy ustreamer_use_dv_timings: true ustreamer_workers: "3" ustreamer_drop_same_frames: "30" ==> /opt/ustreamer-launcher/configs.d/100-tinypilot.yml <== ustreamer_desired_fps: 10 uStreamer logs Oct 16 14:51:37 tinypilot systemd[1]: Stopped uStreamer - Lightweight, optimized video encoder. Oct 16 14:51:37 tinypilot systemd[1]: ustreamer.service: Consumed 1min 26.607s CPU time. Oct 16 14:51:37 tinypilot systemd[1]: Started uStreamer - Lightweight, optimized video encoder. Oct 16 14:51:38 tinypilot launch[1370]: + exec /opt/ustreamer/ustreamer --port 48001 --persistent --h264-sink tinypilot::ustreamer::h264 --h264-sink-mode 777 --h264-sink-rm --encoder m2m-image --format uyvy --desired-fps 10 --workers 3 --quality 30 --drop-same-frames 30 --dv-timings Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [606.884 main] -- Starting PiKVM uStreamer 5.38 ... Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [606.884 main] -- Using internal blank placeholder Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [606.884 main] -- Using H264-sink: tinypilot::ustreamer::h264 Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [606.885 main] -- Listening HTTP on [127.0.0.1]:48001 Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [606.885 stream] -- Using V4L2 device: /dev/video0 Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [606.885 stream] -- Using desired FPS: 10 Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [606.885 http] -- Starting HTTP eventloop ... Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [606.885 stream] -- H264: Initializing encoder ... Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [606.891 stream] -- H264: Configuring encoder: DMA=0 ... Oct 16 14:51:38 tinypilot launch[1370]: ================================================================================ Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [606.908 stream] -- Device fd=10 opened Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [606.908 stream] -- Using input channel: 0 Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [606.915 stream] -- Got new DV-timings: 1920x1080p30.00, pixclk=79872960, vsync=22, hsync=496 Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [606.935 stream] -- Using resolution: 1920x1080 Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [606.935 stream] -- Using format: UYVY Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [606.935 stream] -- Querying HW FPS changing is not supported Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [606.935 stream] -- Using IO method: MMAP Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [606.945 stream] -- Requested 5 device buffers, got 5 Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [606.952 stream] -- Capturing started Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [606.952 stream] -- JPEG-0: Initializing encoder ... Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [606.952 stream] -- JPEG-1: Initializing encoder ... Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [606.952 stream] -- JPEG-2: Initializing encoder ... Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [606.952 stream] -- Using JPEG quality: 30% Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [606.952 stream] -- Creating pool JPEG with 3 workers ... Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [606.952 stream] -- Capturing ... Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [606.970 stream] -- H264: Configuring encoder: DMA=1 ... Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [606.970 jw-0] -- JPEG-0: Configuring encoder: DMA=0 ... Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [607.014 jw-1] -- JPEG-1: Configuring encoder: DMA=0 ... Oct 16 14:51:38 tinypilot launch[1370]: -- INFO [607.038 jw-2] -- JPEG-2: Configuring encoder: DMA=0 ... Oct 16 14:51:39 tinypilot launch[1370]: -- INFO [607.891 http] -- HTTP: NEW client (now=1): [192.168.1.119]:46252, id=c47e4461dce1dfa5 Oct 16 14:51:57 tinypilot launch[1370]: -- INFO [625.735 main] -- ===== Stopping by SIGTERM ===== Oct 16 14:51:57 tinypilot launch[1370]: -- INFO [625.735 http] -- HTTP eventloop stopped Oct 16 14:51:57 tinypilot systemd[1]: Stopping uStreamer - Lightweight, optimized video encoder... Oct 16 14:51:57 tinypilot launch[1370]: -- INFO [625.766 stream] -- Destroying workers pool JPEG ... Oct 16 14:51:57 tinypilot launch[1370]: -- INFO [625.796 stream] -- Capturing stopped Oct 16 14:51:57 tinypilot launch[1370]: -- INFO [625.804 stream] -- Device fd=10 closed Oct 16 14:51:57 tinypilot launch[1370]: -- INFO [625.804 stream] -- H264: Destroying encoder ... Oct 16 14:51:57 tinypilot launch[1370]: -- INFO [625.808 main] -- JPEG-0: Destroying encoder ... Oct 16 14:51:57 tinypilot launch[1370]: -- INFO [625.817 main] -- JPEG-1: Destroying encoder ... Oct 16 14:51:57 tinypilot launch[1370]: -- INFO [625.827 main] -- JPEG-2: Destroying encoder ... Oct 16 14:51:57 tinypilot launch[1370]: -- INFO [625.836 main] -- Bye-bye Oct 16 14:51:57 tinypilot systemd[1]: ustreamer.service: Succeeded. Oct 16 14:51:57 tinypilot systemd[1]: Stopped uStreamer - Lightweight, optimized video encoder. Oct 16 14:51:57 tinypilot systemd[1]: ustreamer.service: Consumed 2.796s CPU time. Oct 16 14:51:57 tinypilot systemd[1]: Started uStreamer - Lightweight, optimized video encoder. Oct 16 14:51:57 tinypilot launch[1467]: + exec /opt/ustreamer/ustreamer --port 48001 --persistent --h264-sink tinypilot::ustreamer::h264 --h264-sink-mode 777 --h264-sink-rm --encoder m2m-image --format uyvy --desired-fps 10 --workers 3 --drop-same-frames 30 --dv-timings Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.106 main] -- Starting PiKVM uStreamer 5.38 ... Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.106 main] -- Using internal blank placeholder Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.106 main] -- Using H264-sink: tinypilot::ustreamer::h264 Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.107 main] -- Listening HTTP on [127.0.0.1]:48001 Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.107 stream] -- Using V4L2 device: /dev/video0 Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.107 stream] -- Using desired FPS: 10 Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.107 stream] -- H264: Initializing encoder ... Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.108 http] -- Starting HTTP eventloop ... Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.113 stream] -- H264: Configuring encoder: DMA=0 ... Oct 16 14:51:57 tinypilot launch[1467]: ================================================================================ Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.130 stream] -- Device fd=10 opened Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.130 stream] -- Using input channel: 0 Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.137 stream] -- Got new DV-timings: 1920x1080p30.00, pixclk=79872960, vsync=22, hsync=496 Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.157 stream] -- Using resolution: 1920x1080 Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.157 stream] -- Using format: UYVY Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.157 stream] -- Querying HW FPS changing is not supported Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.157 stream] -- Using IO method: MMAP Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.166 stream] -- Requested 5 device buffers, got 5 Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.173 stream] -- Capturing started Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.173 stream] -- JPEG-0: Initializing encoder ... Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.173 stream] -- JPEG-1: Initializing encoder ... Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.173 stream] -- JPEG-2: Initializing encoder ... Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.173 stream] -- Using JPEG quality: 80% Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.173 stream] -- Creating pool JPEG with 3 workers ... Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.173 stream] -- Capturing ... Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.200 stream] -- H264: Configuring encoder: DMA=1 ... Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.200 jw-0] -- JPEG-0: Configuring encoder: DMA=0 ... Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.245 jw-1] -- JPEG-1: Configuring encoder: DMA=0 ... Oct 16 14:51:57 tinypilot launch[1467]: -- INFO [626.273 jw-2] -- JPEG-2: Configuring encoder: DMA=0 ... Oct 16 14:51:58 tinypilot launch[1467]: -- INFO [627.089 http] -- HTTP: NEW client (now=1): [192.168.1.119]:38100, id=5bbfb149d338bd1e nginx logs -- Journal begins at Mon 2023-10-16 14:41:23 BST, ends at Mon 2023-10-16 14:53:46 BST. -- Oct 16 14:41:27 tinypilot systemd[1]: Starting A high performance web server and a reverse proxy server... Oct 16 14:41:28 tinypilot systemd[1]: Started A high performance web server and a reverse proxy server. 2023/10/16 14:41:21 [error] 578#578: *4 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:48000/api/restart", host: "tinypilot", referrer: "https://tinypilot/" 2023/10/16 14:41:21 [error] 578#578: *4 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:48000/api/auth", host: "tinypilot", referrer: "https://tinypilot/" 2023/10/16 14:41:21 [error] 578#578: *4 auth request unexpected status: 502 while sending response to client, client: 192.168.1.119, server: tinypilot, request: "GET /stream?advance_headers=1 HTTP/2.0", host: "tinypilot", referrer: "https://tinypilot/" 2023/10/16 14:51:37 [error] 567#567: *83 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:48001/stream", host: "tinypilot", referrer: "https://tinypilot/" 2023/10/16 14:51:57 [error] 567#567: *83 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:48001/stream", host: "tinypilot", referrer: "https://tinypilot/" 192.168.1.119 - - [16/Oct/2023:14:51:58 +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/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +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/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +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/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +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/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +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/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +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/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +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/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +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/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +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/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +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/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +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/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +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/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +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/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +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/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +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/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +0100] "GET /img/logo.svg HTTP/2.0" 304 0 "https://tinypilot/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +0100] "GET /img/video-stream-icon.svg HTTP/2.0" 304 0 "https://tinypilot/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +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/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +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/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +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/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +0100] "GET /img/warning-icon.svg HTTP/2.0" 304 0 "https://tinypilot/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +0100] "GET /img/clipboard-icon.svg HTTP/2.0" 304 0 "https://tinypilot/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +0100] "GET /img/angle-down-icon.svg HTTP/2.0" 304 0 "https://tinypilot/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +0100] "GET /img/external-link-icon.svg HTTP/2.0" 304 0 "https://tinypilot/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +0100] "GET /socket.io/?EIO=4&transport=polling&t=OiumVbs HTTP/2.0" 200 97 "https://tinypilot/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +0100] "POST /socket.io/?EIO=4&transport=polling&t=OiumVcY&sid=mt83SXMYffLZ8TgxAAAM 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/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +0100] "GET /socket.io/?EIO=4&transport=polling&t=OiumVcY.0&sid=mt83SXMYffLZ8TgxAAAM 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/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +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/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +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/118.0.0.0 Safari/537.36" "-" 192.168.1.119 - - [16/Oct/2023:14:51:58 +0100] "GET /socket.io/?EIO=4&transport=polling&t=OiumVcm&sid=mt83SXMYffLZ8TgxAAAM 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/118.0.0.0 Safari/537.36" "-"