2022-01-28 01:23:51.416 | INFO | __main__::26 - Starting Bridget!. 2022-01-28 01:23:51.419 | DEBUG | commonwealth.settings.manager:__init__:33 - Starting Bridget settings with SettingsV1, configuration path: None 2022-01-28 01:23:51.420 | DEBUG | commonwealth.settings.manager:load:115 - Found possible candidates for settings source: [] 2022-01-28 01:23:51.437 | DEBUG | commonwealth.settings.settings:save:93 - Saving settings on: /root/.config/Bridget/settings-1.json 2022-01-28 01:23:51.440 | DEBUG | commonwealth.settings.manager:load:115 - Found possible candidates for settings source: [PosixPath('/root/.config/Bridget/settings-1.json')] 2022-01-28 01:23:51.442 | DEBUG | commonwealth.settings.manager:load:117 - Checking /root/.config/Bridget/settings-1.json for settings 2022-01-28 01:23:51.444 | DEBUG | commonwealth.settings.settings:load:53 - Loading settings from file: /root/.config/Bridget/settings-1.json 2022-01-28 01:23:51.446 | DEBUG | commonwealth.settings.manager:load:120 - Using /root/.config/Bridget/settings-1.json as settings source 2022-01-28 01:23:51.550 | DEBUG | asyncio.selector_events:__init__:59 - Using selector: EpollSelector 2022-01-28 01:23:51.803 | INFO | uvicorn.server:serve:64 - Started server process [73] 2022-01-28 01:23:51.806 | INFO | uvicorn.lifespan.on:startup:26 - Waiting for application startup. 2022-01-28 01:23:51.810 | INFO | uvicorn.lifespan.on:startup:38 - Application startup complete. 2022-01-28 01:23:51.813 | INFO | uvicorn.server:_log_started_message:199 - Uvicorn running on http://0.0.0.0:27353 (Press CTRL+C to quit) 2022-01-28 01:24:23.559 | DEBUG | __main__:get_bridges:43 - [] 2022-01-28 01:24:23.570 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:51426 - "GET /v1.0/bridges HTTP/1.0" 200 2022-01-28 01:24:23.600 | DEBUG | bridget:available_serial_ports:64 - Port /dev/ttyUSB0 found and available. 2022-01-28 01:24:23.605 | DEBUG | bridget:available_serial_ports:64 - Port /dev/ttyAMA0 found and available. 2022-01-28 01:24:23.607 | DEBUG | __main__:get_serial_ports:35 - Available serial ports found: ['/dev/ttyUSB0', '/dev/ttyAMA0']. 2022-01-28 01:24:23.616 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:51424 - "GET /v1.0/serial_ports HTTP/1.0" 200 2022-01-28 01:24:26.610 | DEBUG | __main__:get_bridges:43 - [] 2022-01-28 01:24:26.640 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:51666 - "GET /v1.0/bridges HTTP/1.0" 200 2022-01-28 01:24:26.681 | DEBUG | bridget:available_serial_ports:64 - Port /dev/ttyUSB0 found and available. 2022-01-28 01:24:26.683 | DEBUG | bridget:available_serial_ports:64 - Port /dev/ttyAMA0 found and available. 2022-01-28 01:24:26.685 | DEBUG | __main__:get_serial_ports:35 - Available serial ports found: ['/dev/ttyUSB0', '/dev/ttyAMA0']. 2022-01-28 01:24:26.697 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:51668 - "GET /v1.0/serial_ports HTTP/1.0" 200 2022-01-28 01:24:26.982 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:51728 - "GET / HTTP/1.1" 200 2022-01-28 01:24:27.024 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:51732 - "GET /docs HTTP/1.1" 200 2022-01-28 01:24:27.160 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:51736 - "GET /docs.json HTTP/1.1" 404 2022-01-28 01:24:27.217 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:51740 - "GET /openapi.json HTTP/1.1" 200 2022-01-28 01:24:27.263 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:51746 - "GET / HTTP/1.1" 200 2022-01-28 01:24:27.269 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:51748 - "GET /v1.0/docs HTTP/1.1" 200 2022-01-28 01:24:27.301 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:51750 - "GET /docs HTTP/1.1" 200 2022-01-28 01:24:27.366 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:51752 - "GET /v1.0/openapi.json HTTP/1.1" 200 2022-01-28 01:24:27.384 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:51754 - "GET /docs.json HTTP/1.1" 404 2022-01-28 01:24:27.398 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:51756 - "GET / HTTP/1.1" 200 2022-01-28 01:24:27.412 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:51758 - "GET /openapi.json HTTP/1.1" 200 2022-01-28 01:24:27.427 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:51760 - "GET /swagger.json HTTP/1.1" 404 2022-01-28 01:24:27.454 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:51762 - "GET /v1.0/docs HTTP/1.1" 200 2022-01-28 01:24:27.500 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:51766 - "GET /v1.0/openapi.json HTTP/1.1" 200 2022-01-28 01:24:27.529 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:51772 - "GET / HTTP/1.1" 200 2022-01-28 01:24:27.555 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:51776 - "GET /swagger.json HTTP/1.1" 404 2022-07-04 16:07:18.059 | DEBUG | __main__:get_bridges:43 - [] 2022-07-04 16:07:18.073 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:60986 - "GET /v1.0/bridges HTTP/1.0" 200 2022-07-04 16:07:18.115 | DEBUG | bridget:available_serial_ports:64 - Port /dev/ttyUSB0 found and available. 2022-07-04 16:07:18.118 | DEBUG | bridget:available_serial_ports:64 - Port /dev/ttyAMA0 found and available. 2022-07-04 16:07:18.120 | DEBUG | __main__:get_serial_ports:35 - Available serial ports found: ['/dev/ttyUSB0', '/dev/ttyAMA0']. 2022-07-04 16:07:18.129 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:60990 - "GET /v1.0/serial_ports HTTP/1.0" 200 2022-07-04 16:07:23.059 | DEBUG | __main__:get_bridges:43 - [] 2022-07-04 16:07:23.068 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:32812 - "GET /v1.0/bridges HTTP/1.0" 200 2022-07-04 16:07:23.090 | DEBUG | bridget:available_serial_ports:64 - Port /dev/ttyUSB0 found and available. 2022-07-04 16:07:23.091 | DEBUG | bridget:available_serial_ports:64 - Port /dev/ttyAMA0 found and available. 2022-07-04 16:07:23.092 | DEBUG | __main__:get_serial_ports:35 - Available serial ports found: ['/dev/ttyUSB0', '/dev/ttyAMA0']. 2022-07-04 16:07:23.097 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:32814 - "GET /v1.0/serial_ports HTTP/1.0" 200 2022-07-04 16:07:28.076 | DEBUG | __main__:get_bridges:43 - [] 2022-07-04 16:07:28.087 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:32862 - "GET /v1.0/bridges HTTP/1.0" 200 2022-07-04 16:07:28.118 | DEBUG | bridget:available_serial_ports:64 - Port /dev/ttyUSB0 found and available. 2022-07-04 16:07:28.119 | DEBUG | bridget:available_serial_ports:64 - Port /dev/ttyAMA0 found and available. 2022-07-04 16:07:28.121 | DEBUG | __main__:get_serial_ports:35 - Available serial ports found: ['/dev/ttyUSB0', '/dev/ttyAMA0']. 2022-07-04 16:07:28.124 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:32864 - "GET /v1.0/serial_ports HTTP/1.0" 200 2022-07-04 16:07:33.083 | DEBUG | __main__:get_bridges:43 - [] 2022-07-04 16:07:33.088 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:32920 - "GET /v1.0/bridges HTTP/1.0" 200 2022-07-04 16:07:33.113 | DEBUG | bridget:available_serial_ports:64 - Port /dev/ttyUSB0 found and available. 2022-07-04 16:07:33.117 | DEBUG | bridget:available_serial_ports:64 - Port /dev/ttyAMA0 found and available. 2022-07-04 16:07:33.119 | DEBUG | __main__:get_serial_ports:35 - Available serial ports found: ['/dev/ttyUSB0', '/dev/ttyAMA0']. 2022-07-04 16:07:33.124 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:32922 - "GET /v1.0/serial_ports HTTP/1.0" 200 2022-07-04 16:07:34.003 | DEBUG | __main__:add_bridge:50 - Adding bridge '/dev/ttyUSB0:115200//192.168.2.2:15000'. 2022-07-04 16:07:34.009 | INFO | bridges.bridges:__init__:18 - Launching bridge link with command '/usr/bin/bridges -u 192.168.2.2:15000 -p /dev/ttyUSB0:115200'. 2022-07-04 16:07:35.027 | DEBUG | bridget:add_bridge:74 - Stopping Bridget and removing all bridges. 2022-07-04 16:07:35.030 | DEBUG | commonwealth.settings.settings:save:93 - Saving settings on: /root/.config/Bridget/settings-1.json 2022-07-04 16:07:35.032 | DEBUG | __main__:add_bridge:52 - Bridge '/dev/ttyUSB0:115200//192.168.2.2:15000' added. 2022-07-04 16:07:35.037 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:32942 - "POST /v1.0/bridges HTTP/1.0" 201 2022-07-04 16:07:38.100 | DEBUG | __main__:get_bridges:43 - [BridgeSpec(serial_path='/dev/ttyUSB0', baud=, ip='192.168.2.2', udp_port=15000)] 2022-07-04 16:07:38.110 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:32974 - "GET /v1.0/bridges HTTP/1.0" 200 2022-07-04 16:07:38.152 | DEBUG | bridget:available_serial_ports:61 - Port /dev/ttyUSB0 found but not available. 2022-07-04 16:07:38.155 | DEBUG | bridget:available_serial_ports:64 - Port /dev/ttyAMA0 found and available. 2022-07-04 16:07:38.157 | DEBUG | __main__:get_serial_ports:35 - Available serial ports found: ['/dev/ttyAMA0']. 2022-07-04 16:07:38.164 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:32976 - "GET /v1.0/serial_ports HTTP/1.0" 200 2022-07-04 16:07:43.107 | DEBUG | __main__:get_bridges:43 - [BridgeSpec(serial_path='/dev/ttyUSB0', baud=, ip='192.168.2.2', udp_port=15000)] 2022-07-04 16:07:43.117 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:33026 - "GET /v1.0/bridges HTTP/1.0" 200 2022-07-04 16:07:43.154 | DEBUG | bridget:available_serial_ports:61 - Port /dev/ttyUSB0 found but not available. 2022-07-04 16:07:43.158 | DEBUG | bridget:available_serial_ports:64 - Port /dev/ttyAMA0 found and available. 2022-07-04 16:07:43.161 | DEBUG | __main__:get_serial_ports:35 - Available serial ports found: ['/dev/ttyAMA0']. 2022-07-04 16:07:43.167 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:33028 - "GET /v1.0/serial_ports HTTP/1.0" 200 2022-07-04 16:07:48.114 | DEBUG | __main__:get_bridges:43 - [BridgeSpec(serial_path='/dev/ttyUSB0', baud=, ip='192.168.2.2', udp_port=15000)] 2022-07-04 16:07:48.130 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:33086 - "GET /v1.0/bridges HTTP/1.0" 200 2022-07-04 16:07:48.171 | DEBUG | bridget:available_serial_ports:61 - Port /dev/ttyUSB0 found but not available. 2022-07-04 16:07:48.173 | DEBUG | bridget:available_serial_ports:64 - Port /dev/ttyAMA0 found and available. 2022-07-04 16:07:48.175 | DEBUG | __main__:get_serial_ports:35 - Available serial ports found: ['/dev/ttyAMA0']. 2022-07-04 16:07:48.179 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:33088 - "GET /v1.0/serial_ports HTTP/1.0" 200 2022-07-04 16:07:53.112 | DEBUG | __main__:get_bridges:43 - [BridgeSpec(serial_path='/dev/ttyUSB0', baud=, ip='192.168.2.2', udp_port=15000)] 2022-07-04 16:07:53.125 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:33150 - "GET /v1.0/bridges HTTP/1.0" 200 2022-07-04 16:07:53.160 | DEBUG | bridget:available_serial_ports:61 - Port /dev/ttyUSB0 found but not available. 2022-07-04 16:07:53.163 | DEBUG | bridget:available_serial_ports:64 - Port /dev/ttyAMA0 found and available. 2022-07-04 16:07:53.165 | DEBUG | __main__:get_serial_ports:35 - Available serial ports found: ['/dev/ttyAMA0']. 2022-07-04 16:07:53.176 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:33152 - "GET /v1.0/serial_ports HTTP/1.0" 200 2022-07-04 16:07:58.120 | DEBUG | __main__:get_bridges:43 - [BridgeSpec(serial_path='/dev/ttyUSB0', baud=, ip='192.168.2.2', udp_port=15000)] 2022-07-04 16:07:58.134 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:33200 - "GET /v1.0/bridges HTTP/1.0" 200 2022-07-04 16:07:58.170 | DEBUG | bridget:available_serial_ports:61 - Port /dev/ttyUSB0 found but not available. 2022-07-04 16:07:58.173 | DEBUG | bridget:available_serial_ports:64 - Port /dev/ttyAMA0 found and available. 2022-07-04 16:07:58.175 | DEBUG | __main__:get_serial_ports:35 - Available serial ports found: ['/dev/ttyAMA0']. 2022-07-04 16:07:58.181 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:33202 - "GET /v1.0/serial_ports HTTP/1.0" 200 2022-07-04 16:08:01.351 | DEBUG | __main__:get_bridges:43 - [BridgeSpec(serial_path='/dev/ttyUSB0', baud=, ip='192.168.2.2', udp_port=15000)] 2022-07-04 16:08:01.385 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:33260 - "GET /v1.0/bridges HTTP/1.0" 200 2022-07-04 16:08:01.406 | DEBUG | bridget:available_serial_ports:61 - Port /dev/ttyUSB0 found but not available. 2022-07-04 16:08:01.409 | DEBUG | bridget:available_serial_ports:64 - Port /dev/ttyAMA0 found and available. 2022-07-04 16:08:01.410 | DEBUG | __main__:get_serial_ports:35 - Available serial ports found: ['/dev/ttyAMA0']. 2022-07-04 16:08:01.415 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:33264 - "GET /v1.0/serial_ports HTTP/1.0" 200