Describe the bug
CastDevices disappear after some hours, usually on the next day.
To Reproduce
Just wait for a long time, usually next day.
Expected behavior
CastDevice should always be shown.
Logfiles
[2021-02-24 11:23:58] #### Start preuninst... ####
[2021-02-24 11:24:08] #### Done preuninst ####
[2021-02-24 11:24:08] #### Start postuninst... ####
[11:24:08] User "airconnect" found - deleting it
[11:24:12] "airconnect" user folder "/var/services/homes/airconnect" not found - nothing deleted
[2021-02-24 11:24:15] #### Done postuninst ####
[11:25:45] start-stop-status - Creating "airconnect" user.
[11:25:46] Starting AirConnect ...
[11:25:46] Starting airupnp on 192.168.5.18:49154
[11:25:46.555610] main:1415 Starting airupnp version: v0.2.43.1 (Jan 14 2021 @ 22:18:02)
[11:25:46.555727] main:1423 no config file, using defaults
[11:25:46.557413] Start:1127 Binding to 192.168.5.18:49154
[11:25:46] Starting aircast on 192.168.5.18
[11:25:46.563478] main:966 Starting aircast version: v0.2.43.1 (Jan 14 2021 @ 22:17:01)
[11:25:46.563597] main:974 no config file, using defaults
[11:25:46.563942] Start:727 Binding to 192.168.5.18
[11:25:46] AirConnect successfully started on ip "192.168.5.18"!
[11:25:46.612670] AddCastDevice:664 [0xfb3ff0]: adding renderer (Chromecast Audio)
[11:25:46.612754] AddCastDevice:670 [0xfb3ff0]: creating MAC fb3ffa
[11:25:46.613676] AddCastDevice:664 [0xfb4988]: adding renderer (Black Nest Mini)
[11:25:46.613731] AddCastDevice:670 [0xfb4988]: creating MAC fb4992
[11:25:49.027110] rtsp_thread:356 got RTSP connection 12
[11:25:49.027518] read_line:1219 disconnected on the other end 12
[11:25:49.027576] rtsp_thread:371 RTSP close 12
[11:25:49.028382] rtsp_thread:356 got RTSP connection 9
[11:25:49.028614] read_line:1219 disconnected on the other end 9
[11:25:49.028665] rtsp_thread:371 RTSP close 9
[11:25:52.040972] rtsp_thread:356 got RTSP connection 9
[11:25:52.041166] read_line:1219 disconnected on the other end 9
[11:25:52.041217] rtsp_thread:371 RTSP close 9
[11:25:52.041886] rtsp_thread:356 got RTSP connection 12
[11:25:52.042108] read_line:1219 disconnected on the other end 12
[11:25:52.042163] rtsp_thread:371 RTSP close 12
[22:06:14.743961] CheckAndLock:259 device is NULL
[22:06:14.744124] CheckAndLock:259 device is NULL
[22:06:14.744259] CheckAndLock:259 device is NULL
[22:06:14.744304] CheckAndLock:259 device is NULL
[22:07:08.833721] CheckAndLock:259 device is NULL
[22:07:08.833835] CheckAndLock:259 device is NULL
[22:07:08.833938] CheckAndLock:259 device is NULL
[22:07:08.834080] CheckAndLock:259 device is NULL
[22:08:08.413748] CheckAndLock:259 device is NULL
[22:08:08.413824] CheckAndLock:259 device is NULL
[22:08:08.413917] CheckAndLock:259 device is NULL
[22:08:08.414073] CheckAndLock:259 device is NULL
[04:33:04.941891] mDNSsearchCallback:535 [0xfb3ff0]: removing renderer (Chromecast Audio+) 0
[04:33:04.942297] DeleteCastDevice:512 [0xfb3ff0]: Cast device stopped
[04:33:09.051530] rtsp_thread:356 got RTSP connection 12
[04:33:09.051733] read_line:1219 disconnected on the other end 12
[04:33:09.051799] rtsp_thread:371 RTSP close 12
[04:33:47.393761] AddCastDevice:664 [0xfb3ff0]: adding renderer (Chromecast Audio)
[04:33:47.393859] AddCastDevice:670 [0xfb3ff0]: creating MAC fb3ffa
[04:33:47.393997] mDNSsearchCallback:535 [0xfb3ff0]: removing renderer (Chromecast Audio+) 1
[04:33:47.394305] DeleteCastDevice:512 [0xfb3ff0]: Cast device stopped
[04:33:51.004528] rtsp_thread:356 got RTSP connection 8
[04:33:51.004761] read_line:1219 disconnected on the other end 8
[04:33:51.004831] rtsp_thread:371 RTSP close 8
[08:58:52.195839] mDNSsearchCallback:535 [0xfb4988]: removing renderer (Black Nest Mini+) 0
[08:58:52.196572] DeleteCastDevice:512 [0xfb4988]: Cast device stopped
[08:59:28.247738] AddCastDevice:664 [0xfb3ff0]: adding renderer (Black Nest Mini)
[08:59:28.247856] AddCastDevice:670 [0xfb3ff0]: creating MAC fb3ffa
[08:59:28.248001] mDNSsearchCallback:535 [0xfb3ff0]: removing renderer (Black Nest Mini+) 1
[08:59:28.248510] DeleteCastDevice:512 [0xfb3ff0]: Cast device stopped
[10:36:49.739628] AddCastDevice:664 [0xfb3ff0]: adding renderer (Black Nest Mini)
[10:36:49.739837] AddCastDevice:670 [0xfb3ff0]: creating MAC fb3ffa
[10:36:49.740093] mDNSsearchCallback:535 [0xfb3ff0]: removing renderer (Black Nest Mini+) 1
[10:36:49.740700] DeleteCastDevice:512 [0xfb3ff0]: Cast device stopped
[11:03:52.810809] AddCastDevice:664 [0xfb3ff0]: adding renderer (Black Nest Mini)
[11:03:52.810912] AddCastDevice:670 [0xfb3ff0]: creating MAC fb3ffa
[11:03:52.811050] mDNSsearchCallback:535 [0xfb3ff0]: removing renderer (Black Nest Mini+) 1
[11:03:52.811314] DeleteCastDevice:512 [0xfb3ff0]: Cast device stopped
[11:03:55.673754] AddCastDevice:664 [0xfb3ff0]: adding renderer (Black Nest Mini)
[11:03:55.673836] AddCastDevice:670 [0xfb3ff0]: creating MAC fb3ffa
[11:03:55.673968] mDNSsearchCallback:535 [0xfb3ff0]: removing renderer (Black Nest Mini+) 1
[11:03:55.674626] DeleteCastDevice:512 [0xfb3ff0]: Cast device stopped
[12:32:42.733069] CheckAndLock:259 device is NULL
[12:32:42.733176] CheckAndLock:259 device is NULL
[12:32:42.733292] CheckAndLock:259 device is NULL
[12:32:42.733435] CheckAndLock:259 device is NULL
Hardware (Device on which you are running AirConnect-Synology):
- Synology NAS DS918+, Asus RT-AC86U
- DSM 6.2.3-25426 Update 3
Package (which package from the releases page have you downloaded):
- package name: AirConnect-x86-64-0.2.43.1-20210119.spk
Additional context
I have two devices, one Nest Mini and one Chromecast Audio. I found if I do not use both of them, all will be disappeared on the next day. If I keep using Nest Mini, I find it is still there on the next day, but Chromecast Audio is disappeared.
I have to stop the spa in NAS and start it again, and both will work for around one day.
I tried enable multicast routing in Asus router, it won't help at all. These are the settings:
Use DHCP routes: Microsoft (there is RFC3442 option to choose)
Enable multicast routing: Enable
Default IGMP version: IGMP v3 (have v1 and v2 to choose)
Enable Fast Leave: Disable
UDP Proxy (Udpxy): [empty]
I tried to restart Chromecast Audio, but I still can't see its Airplay counterpart.