FD- / RPiPlay

An open-source AirPlay mirroring server for the Raspberry Pi. Supports iOS 9 and up.
GNU General Public License v3.0
4.9k stars 354 forks source link

"Unable to connect to RPiPlay" #319

Closed Man-with-Arrow closed 2 years ago

Man-with-Arrow commented 2 years ago

RPiPlay compiles fine, runs fine, but does not detect an attempted connection. Output of ./rpiplay and ./rpiplay -d is identical:

Initialized server socket(s)

*** WARNING *** The program 'rpiplay' uses the Apple Bonjour compatibility layer of Avahi.

*** WARNING *** Please fix your application to use the native API of Avahi!

*** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>

RPiPlay shows up on iPad (running the latest OS 15.2), but connection silently times out. No indication of anything on PC, notification on iPad shows "Unable to connect to RPiPlay"

Running fully-updated Fedora 35, no firewall.

Running RPiPlay on a laptop connected via WiFi, also on Fedora 35, works perfectly fine.

Is this a known issue? Any pointers on further debugging?

fduncanh commented 2 years ago

next thing you should see is

Accepted IPv4 client on socket XX

Since your dont see it, rpiplay has not heard your iOS client's connection request.

This is either because of a firewall (are you really sure there isnt one active?) or a network problem. Either way, its not an rpiplay problem.

Man-with-Arrow commented 2 years ago

Unless the default Fedora install has a firewall, I don't have one... Sorry for the novice question, but how could I verify?

Edit: I'm a moron, running sudo systemctl stop firewalld and sudo systemctl disable firewalld fixed the issue...

I don't recall enabling it, but this one's definitely on me. Issue closed.

fduncanh commented 2 years ago

@Man-with-Arrow If you want to keep using a firewall, see http://github.com/FDH2/UxPlay (RPiPlay derivative aimed at desktop computers, but should be OK with a RPi 4.)

Man-with-Arrow commented 2 years ago

That's what I ended up using :-)

Major props on maintaining both projects, by the way. I was surprised at how seamlessly they work.