Загрузка данных


(venv) root@george:~/Izbushka/Control/Control PC Web# sudo lsof -i:80
COMMAND    PID USER   FD   TYPE  DEVICE SIZE/OFF NODE NAME
python3 302126 root    3u  IPv4 4363595      0t0  TCP *:http (LISTEN)
python3 302128 root    3u  IPv4 4363595      0t0  TCP *:http (LISTEN)
(venv) root@george:~/Izbushka/Control/Control PC Web# lsof -ti:80 | xargs kill -9
(venv) root@george:~/Izbushka/Control/Control PC Web# uvicorn app.main:app --host 0.0.0.0 --port 80 --reload
INFO:     Will watch for changes in these directories: ['/root/Izbushka/Control/Control PC Web']
INFO:     Uvicorn running on http://0.0.0.0:80 (Press CTRL+C to quit)
INFO:     Started reloader process [302164] using WatchFiles
INFO:     Started server process [302166]
INFO:     Waiting for application startup.
Server started
ERROR:app.main:Failed to connect to robot: [Errno 111] Connection refused
[ WARN:0@30.542] global cap_ffmpeg_impl.hpp:453 _opencv_ffmpeg_interrupt_callback Stream timeout triggered after 30060.189911 ms
ERROR:app.main:Failed to open RTSP stream: rtsp://192.168.15.2:8554/
INFO:     Application startup complete.
INFO:     89.113.142.244:32737 - "GET /video HTTP/1.1" 200 OK
INFO:     ('89.113.142.244', 11112) - "WebSocket /ws/video" [accepted]
INFO:     connection open
INFO:     89.113.142.244:32737 - "GET /video HTTP/1.1" 200 OK
INFO:     connection closed
INFO:     ('89.113.142.244', 48996) - "WebSocket /ws/video" [accepted]
INFO:     connection open
INFO:     89.113.142.244:32737 - "GET /video HTTP/1.1" 200 OK
INFO:     connection closed
INFO:     ('89.113.142.244', 7186) - "WebSocket /ws/video" [accepted]
INFO:     connection open