I checked for any firewall rules before I posted here and even flushed iptables just incase the Docker rules were causing problems (they weren’t). No problem ping’ing the AppleTV from my Unbuntu box it seems:
$ host 172.16.1.157
157.1.16.172.in-addr.arpa domain name pointer Home-Theater.int.synfin.net.
$ ping 172.16.1.157
PING 172.16.1.157 (172.16.1.157) 56(84) bytes of data.
64 bytes from 172.16.1.157: icmp_seq=1 ttl=64 time=1.31 ms
64 bytes from 172.16.1.157: icmp_seq=2 ttl=64 time=1.66 ms
64 bytes from 172.16.1.157: icmp_seq=3 ttl=64 time=1.86 ms
64 bytes from 172.16.1.157: icmp_seq=4 ttl=64 time=1.72 ms
^C
— 172.16.1.157 ping statistics —
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 1.317/1.642/1.865/0.201 ms
Honestly, I’m not interested in running Roon on another box other than perhaps my Synology, but according to the Roon docs it’s under-spec. My Mac’s are all laptops so they make poor servers and I haven’t owned/used a Windows PC since the mid 1990’s.
I dug through the logs from when it was failing and RoonServer is doing something really weird it seems:
— BEGIN —
01/14 19:30:45 Info: [Theater AppleTV] [zoneplayer] Starting playback
01/14 19:30:45 Debug: [identification] <77615> status: CouldNotIdentify
01/14 19:30:45 Trace: [library] finished with 1 dirty tracks 1 dirty albums 1 dirty performers 0 clumping tracks, 0 clumping auxfiles 0 compute tracks, 0 deleted tracks, 1 tracks to (re)load, 0 tracks to retain, 0 auxfiles to (
re)load, 0 auxfiles to retain, and 3 changed objects
01/14 19:30:45 Trace: [dbperf] flush 5469 bytes, 4 ops in 0 ms (cumulative 9938953 bytes, 6583 ops in 2500 ms)
01/14 19:30:45 Debug: [identification] <106799> status: CouldNotIdentify
01/14 19:30:45 Trace: [library] finished with 1 dirty tracks 1 dirty albums 1 dirty performers 0 clumping tracks, 0 clumping auxfiles 0 compute tracks, 0 deleted tracks, 1 tracks to (re)load, 0 tracks to retain, 0 auxfiles to (
re)load, 0 auxfiles to retain, and 3 changed objects
01/14 19:30:45 Trace: [dbperf] flush 5118 bytes, 4 ops in 1 ms (cumulative 9944071 bytes, 6587 ops in 2501 ms)
01/14 19:30:45 Debug: [identification] <25135> status: CouldNotIdentify
01/14 19:30:45 Trace: [library] finished with 6 dirty tracks 1 dirty albums 2 dirty performers 3 dirty works 6 dirty performances 0 clumping tracks, 0 clumping auxfiles 0 compute tracks, 0 deleted tracks, 6 tracks to (re)load,
0 tracks to retain, 0 auxfiles to (re)load, 0 auxfiles to retain, and 18 changed objects
01/14 19:30:45 Trace: [dbperf] flush 32535 bytes, 14 ops in 1 ms (cumulative 9976606 bytes, 6601 ops in 2502 ms)
01/14 19:30:45 Trace: [airplay/client] Connecting to airplay server
01/14 19:30:45 Warn: [airplay/rtsp] SocketException while connecting to RTSP server: Connection refused
01/14 19:30:45 Warn: [airplay/client] Failed to connect: Result[Status=NetworkError]
01/14 19:30:45 Info: [airplay] AirPlay device connection failed to: AirPlayDevice[DeviceId=086698F3AFC1@Home Theater._raop._tcp.local, Name=Home-Theater.local, Model=AppleTV5,3, IPEndPoint=172.16.2.1:7000]
01/14 19:30:45 Trace: [prebuffer] ready 149940/441000 (34%) @ 30/213 sec
01/14 19:30:45 Debug: [identification] <26415> status: CouldNotIdentify
01/14 19:30:45 Info: [zone Theater AppleTV] OnPlayFeedback Playing
01/14 19:30:45 Trace: [Theater AppleTV] [LowQuality, 24/44 AAC => 16/44] [PLAYING @ 0:30/3:33] Syndrome - Gemini Syndrome
01/14 19:30:45 Trace: [musicpowerstate] music is playing, preventing idle sleep
01/14 19:30:45 Trace: [airplay] disconnected
01/14 19:30:45 Trace: [zone] Theater AppleTV received transport control from endpoint integration: suspend
01/14 19:30:45 Trace: [library] finished with 5 dirty tracks 1 dirty albums 2 dirty performers 1 dirty works 5 dirty performances 0 clumping tracks, 0 clumping auxfiles 0 compute tracks, 0 deleted tracks, 5 tracks to (re)load, 0 tracks to retain, 0 auxfiles to (re)load, 0 auxfiles to retain, and 14 changed objects
01/14 19:30:45 Trace: [zone Theater AppleTV] Theater AppleTV received transport control from Home Theater: suspend
01/14 19:30:45 Trace: [zone Theater AppleTV] Suspend
01/14 19:30:45 Trace: [dbperf] flush 26225 bytes, 12 ops in 2 ms (cumulative 10002831 bytes, 6613 ops in 2504 ms)
01/14 19:30:45 Info: [zone Theater AppleTV] OnPlayFeedback Stopped
01/14 19:30:45 Trace: [Theater AppleTV] [LowQuality, 24/44 AAC => 16/44] [PAUSED @ 0:30/3:33] Syndrome - Gemini Syndrome
01/14 19:30:45 Info: [audio/env] [zoneplayer] All streams were disposed
01/14 19:30:45 Info: [audio/env] [zoneplayer -> stream] All streams were disposed
— END —
This line in particular:
01/14 19:30:45 Info: [airplay] AirPlay device connection failed to: AirPlayDevice[DeviceId=086698F3AFC1@Home Theater._raop._tcp.local, Name=Home-Theater.local, Model=AppleTV5,3, IPEndPoint=172.16.2.1:7000]
172.16.2.1 is uh, “interesting”. That’s the firewall/router to the internet; well sorta. I mean, it’s technically the firewall/router, but it’s also the wrong IP/interface. Perhaps my routing table will explain best:
$ ip route
default via 172.16.1.1 dev p3p1 onlink
172.16.1.0/24 dev p3p1 proto kernel scope link src 172.16.1.100
172.16.2.0/24 dev p3p1.100 proto kernel scope link src 172.16.2.100
As you can see, the default route to the internet is via 172.16.1.1 which is the same firewall/router. The Ubuntu box is on both VLAN 100 and the native un-tagged interface. The AppleTV isn’t even on that network (again, it’s 172.16.1.157) so why is it talking RTSP over there?
Anyways, my free 14 day evaluation is almost over and I don’t have time to debug further before it expires so I just cancelled so I don’t get a big bill.