Closed Shaquu closed 2 years ago
Not sure whether you figured it out, but your chosen interface wlan0
has no IPv4 or 6, at least nothing available to docker.
Please try current master - it should 'fix' this, by preventing startup without an IP. Should also show you what interfaces and which IPs are on them.
Could you also try https://github.com/openairplay/airplay2-receiver/issues/43#issuecomment-886277837 please?
Should be 'resolved' with c75efa449173c72573b29cd852913b2a03d06292
Thanks!
I did:
docker build -f docker/Dockerfile -t invano/ap2-receiver .
docker run -it --rm --device /dev/snd --net host -v /home/pi/data/airplay/pairings:/pairings invano/ap2-receiver
mDNS service registered Starting RTSP server, press Ctrl-C to exit... Shutting down mDNS... Unregistering... Traceback (most recent call last): File "ap2-receiver.py", line 1157, in
with AP2Server((IPV4, PORT), AP2Handler) as httpd:
File "ap2-receiver.py", line 1002, in init
super().init(addr_port, handler)
File "/usr/lib/python3.7/socketserver.py", line 452, in init
self.server_bind()
File "/usr/lib/python3.7/socketserver.py", line 466, in server_bind
self.socket.bind(self.server_address)
TypeError: str, bytes or bytearray expected, not NoneType