hassio-addons / addon-aircast

AirCast - Home Assistant Community Add-ons
https://addons.community
MIT License
314 stars 18 forks source link

Crash rtsp close #122

Closed kangapi closed 2 years ago

kangapi commented 2 years ago

Hello, I have a problem, I downloaded your Aircast module on Home-Assistant but when I start it this happens in the console

-----------------------------------------------------------
 Add-on: AirCast
 AirPlay capabilities for your Chromecast devices.
-----------------------------------------------------------
 Add-on version: 3.2.0
 You are running the latest version of this add-on.
 System: Home Assistant OS 6.6  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2021.11.3
 Home Assistant Supervisor: 2021.10.8
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] aircast.sh: executing... 
[cont-init.d] aircast.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[18:52:44] INFO: Starting the AirCast server...
[18:52:45.570814] main:974 Starting aircast version: v0.2.51.2 (Nov  1 2021 @ 23:31:02)
[18:52:45.571178] Start:732 Binding to 10.0.4.140
[18:52:46.204133] AddCastDevice:669 [0x31fa9270]: adding renderer (KD-55AF8)
[18:52:49.022750] rtsp_thread:347 got RTSP connection 8
[18:52:49.026106] rtsp_thread:362 RTSP close 8

I would love to use what the module does Thanks

krconv commented 2 years ago

Seeing a similar message for me, not sure if it is the same issue

[21:23:52.770857] rtsp_thread:347 got RTSP connection 12
[21:23:52.772008] read_line:1214 fd: 12 read error: Connection reset by peer
[21:23:52.772096] http_parse:1130 cannot read method
[21:23:52.772365] rtsp_thread:362 RTSP close 12
Full log
[services.d] done.
[21:23:43] INFO: Starting the AirCast server...
[21:23:44.485907] main:974 Starting aircast version: v0.2.51.2 (Nov  1 2021 @ 23:31:36)
[21:23:44.486643] Start:732 Binding to 192.168.122.136
[21:23:44.641560] mDNSsearchCallback:405 ----------------- round ------------------
[21:23:44.642150] mDNSsearchCallback:409 [ACTIVE] host 192.168.122.1, srv 192.168.86.146, name Google-Home-Mini-ec707354174b7aca6aff863143abdd76._googlecast._tcp.local 
[21:23:44.642345] AddCastDevice:669 [0x1d27b70]: adding renderer (Bathroom speaker)
[21:23:44.643225] bind_socket:791 socket binding 7 on port 33345
[21:23:44.643910] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[21:23:44.648631] mDNSsearchCallback:405 ----------------- round ------------------
[21:23:44.649184] mDNSsearchCallback:409 [ACTIVE] host 192.168.122.1, srv 192.168.86.22, name Google-Home-Mini-441861af9ef3f332e5c042261a6005f6._googlecast._tcp.local 
[21:23:44.649426] AddCastDevice:669 [0x1d28508]: adding renderer (Movie Room speaker)
[21:23:44.653909] bind_socket:791 socket binding 9 on port 35895
[21:23:44.654451] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[21:23:44.657623] mDNSsearchCallback:405 ----------------- round ------------------
[21:23:44.658039] mDNSsearchCallback:409 [ACTIVE] host 192.168.122.1, srv 192.168.86.24, name Chromecast-351e776ed4fede2f35d4465937a3e85a._googlecast._tcp.local 
[21:23:44.658179] AddCastDevice:669 [0x1d28ea0]: adding renderer (Movie Room TV)
[21:23:44.659006] bind_socket:791 socket binding 10 on port 58501
[21:23:44.659558] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[21:23:44.668128] mDNSsearchCallback:405 ----------------- round ------------------
[21:23:44.673342] mDNSsearchCallback:409 [ACTIVE] host 192.168.122.1, srv 192.168.86.21, name Google-Home-Mini-93403d36c88d59a5918ec7ebafe1f0e8._googlecast._tcp.local 
[21:23:44.673819] AddCastDevice:669 [0x1d29838]: adding renderer (Office speaker)
[21:23:44.674713] bind_socket:791 socket binding 13 on port 48341
[21:23:44.675320] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[21:23:44.680798] mDNSsearchCallback:405 ----------------- round ------------------
[21:23:44.680899] mDNSsearchCallback:409 [ACTIVE] host 192.168.122.1, srv 192.168.86.21, name Google-Cast-Group-47ac2547116f4672a408b6fea4b0b48a-1._googlecast._tcp.local 
[21:23:44.680959] AddCastDevice:669 [0x1d2a1d0]: adding renderer (All speakers)
[21:23:44.682563] bind_socket:791 socket binding 15 on port 58465
[21:23:44.682901] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[21:23:44.686974] mDNSsearchCallback:405 ----------------- round ------------------
[21:23:44.689326] mDNSsearchCallback:409 [ACTIVE] host 172.30.32.1, srv 192.168.86.146, name Google-Home-Mini-ec707354174b7aca6aff863143abdd76._googlecast._tcp.local 
[21:23:44.689472] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[21:23:44.691407] mDNSsearchCallback:405 ----------------- round ------------------
[21:23:44.691483] mDNSsearchCallback:409 [ACTIVE] host 172.30.32.1, srv 192.168.86.22, name Google-Home-Mini-441861af9ef3f332e5c042261a6005f6._googlecast._tcp.local 
[21:23:44.691511] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[21:23:44.695085] mDNSsearchCallback:405 ----------------- round ------------------
[21:23:44.695131] mDNSsearchCallback:409 [ACTIVE] host 172.30.32.1, srv 192.168.86.24, name Chromecast-351e776ed4fede2f35d4465937a3e85a._googlecast._tcp.local 
[21:23:44.695158] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[21:23:44.698546] mDNSsearchCallback:405 ----------------- round ------------------
[21:23:44.698653] mDNSsearchCallback:409 [ACTIVE] host 172.30.32.1, srv 192.168.86.21, name Google-Home-Mini-93403d36c88d59a5918ec7ebafe1f0e8._googlecast._tcp.local 
[21:23:44.699464] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[21:23:44.700466] mDNSsearchCallback:405 ----------------- round ------------------
[21:23:44.700497] mDNSsearchCallback:409 [ACTIVE] host 172.30.32.1, srv 192.168.86.21, name Google-Cast-Group-47ac2547116f4672a408b6fea4b0b48a-1._googlecast._tcp.local 
[21:23:44.700522] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[21:23:44.707542] mDNSsearchCallback:405 ----------------- round ------------------
[21:23:44.707641] mDNSsearchCallback:409 [ACTIVE] host 192.168.122.1, srv 192.168.86.28, name Google-Home-Mini-ad0b5a242922c0686c540786c6dd33e5._googlecast._tcp.local 
[21:23:44.707754] AddCastDevice:669 [0x1d2ab68]: adding renderer (Garage speaker)
[21:23:44.708418] bind_socket:791 socket binding 16 on port 52479
[21:23:44.713403] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[21:23:44.715341] mDNSsearchCallback:405 ----------------- round ------------------
[21:23:44.715455] mDNSsearchCallback:409 [ACTIVE] host 172.30.32.1, srv 192.168.86.28, name Google-Home-Mini-ad0b5a242922c0686c540786c6dd33e5._googlecast._tcp.local 
[21:23:44.715485] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[21:23:44.716595] mDNSsearchCallback:405 ----------------- round ------------------
[21:23:44.718172] mDNSsearchCallback:409 [ACTIVE] host 192.168.122.1, srv 192.168.86.20, name Google-Home-b1c8a1788538d622b3954d77d1afa6ca._googlecast._tcp.local 
[21:23:44.718494] AddCastDevice:669 [0x1d2b500]: adding renderer (Bedroom speaker)
[21:23:44.721207] bind_socket:791 socket binding 19 on port 41247
[21:23:44.721441] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[21:23:44.722599] mDNSsearchCallback:405 ----------------- round ------------------
[21:23:44.722639] mDNSsearchCallback:409 [ACTIVE] host 172.30.32.1, srv 192.168.86.20, name Google-Home-b1c8a1788538d622b3954d77d1afa6ca._googlecast._tcp.local 
[21:23:44.722665] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[21:23:48.734943] mDNSsearchCallback:405 ----------------- round ------------------
[21:23:48.735041] mDNSsearchCallback:409 [ACTIVE] host 192.168.122.1, srv 192.168.86.25, name google-nest-hub-6a5388b7f32e22ba40bdfd098dd7052b._googlecast._tcp.local 
[21:23:48.735136] AddCastDevice:669 [0x1d2be98]: adding renderer (Kitchen display)
[21:23:48.736162] bind_socket:791 socket binding 21 on port 52459
[21:23:48.736818] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[21:23:48.743430] mDNSsearchCallback:405 ----------------- round ------------------
[21:23:48.743549] mDNSsearchCallback:409 [ACTIVE] host 172.30.32.1, srv 192.168.86.25, name google-nest-hub-6a5388b7f32e22ba40bdfd098dd7052b._googlecast._tcp.local 
[21:23:48.743585] mDNSsearchCallback:550 Updating configuration /config/aircast.xml
[21:23:52.770857] rtsp_thread:347 got RTSP connection 12
[21:23:52.772008] read_line:1214 fd: 12 read error: Connection reset by peer
[21:23:52.772096] http_parse:1130 cannot read method
[21:23:52.772365] rtsp_thread:362 RTSP close 12
[21:23:53.013768] rtsp_thread:347 got RTSP connection 8
[21:23:53.013991] read_line:1214 fd: 8 read error: Connection reset by peer
[21:23:53.014014] http_parse:1130 cannot read method
[21:23:53.014070] rtsp_thread:362 RTSP close 8
[21:23:54.287634] rtsp_thread:347 got RTSP connection 22
[21:23:54.288121] read_line:1214 fd: 22 read error: Connection reset by peer
[21:23:54.288333] http_parse:1130 cannot read method
[21:23:54.288495] rtsp_thread:362 RTSP close 22
[21:23:56.004497] rtsp_thread:347 got RTSP connection 18
[21:23:56.004656] read_line:1214 fd: 18 read error: Connection reset by peer
[21:23:56.004738] http_parse:1130 cannot read method
[21:23:56.004797] rtsp_thread:362 RTSP close 18
[21:23:56.248874] rtsp_thread:347 got RTSP connection 17
[21:23:56.249018] read_line:1214 fd: 17 read error: Connection reset by peer
[21:23:56.249045] http_parse:1130 cannot read method
[21:23:56.249096] rtsp_thread:362 RTSP close 17
[21:23:56.685455] rtsp_thread:347 got RTSP connection 11
[21:23:56.686035] read_line:1214 fd: 11 read error: Connection reset by peer
[21:23:56.686297] http_parse:1130 cannot read method
[21:23:56.686627] rtsp_thread:362 RTSP close 11
[21:23:57.044054] rtsp_thread:347 got RTSP connection 14
[21:23:57.051781] read_line:1214 fd: 14 read error: Connection reset by peer
[21:23:57.051887] http_parse:1130 cannot read method
[21:23:57.051956] rtsp_thread:362 RTSP close 14
[21:23:57.302192] rtsp_thread:347 got RTSP connection 20
[21:23:57.306449] read_line:1214 fd: 20 read error: Connection reset by peer
[21:23:57.308062] http_parse:1130 cannot read method
[21:23:57.308745] rtsp_thread:362 RTSP close 20
github-actions[bot] commented 2 years ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!