Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Failing "AirPlay receiver is off" #69

Closed
jone opened this issue Nov 7, 2021 · 6 comments
Closed

[Bug]: Failing "AirPlay receiver is off" #69

jone opened this issue Nov 7, 2021 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@jone
Copy link

jone commented Nov 7, 2021

What happened?

The AirPlay receiver is off check fails on my machine.
But in the sharing control panel I have nothing activated. I'm not sure what I have to do now.
Bildschirmfoto 2021-11-07 um 13 02 38

Version

HW: MacBookPro14,1
macOS: 11.6.0
App Version: 1.4.1
Build: 2736

Relevant log output

No response

@jone jone added the bug Something isn't working label Nov 7, 2021
@dz0ny
Copy link
Member

dz0ny commented Nov 7, 2021

Could you run in Terminal sudo lsof -i -P | grep LISTEN this will list the apps that are running on the same port as Airplay.

For example, this output is when native AirplayServer is enabled:

ControlCe   433          dz0ny   36u  IPv4 0x7ab8ea6f8fee427b      0t0    TCP *:7000 (LISTEN)
ControlCe   433          dz0ny   37u  IPv6 0x7ab8ea6f8d1e95e3      0t0    TCP *:7000 (LISTEN)
ControlCe   433          dz0ny   38u  IPv4 0x7ab8ea6f8d1e57bb      0t0    TCP *:5000 (LISTEN)
ControlCe   433          dz0ny   39u  IPv6 0x7ab8ea6f988ee5c3      0t0    TCP *:5000 (LISTEN)

@jone
Copy link
Author

jone commented Nov 8, 2021

Found the relevant service:

python    22030           jone    3u  IPv4 0x1e516b700e73fc9f      0t0    TCP localhost:5000 (LISTEN)
python    22034           jone    3u  IPv4 0x1e516b700e73fc9f      0t0    TCP localhost:5000 (LISTEN)
python    22034           jone    5u  IPv4 0x1e516b700e73fc9f      0t0    TCP localhost:5000 (LISTEN)

That's when I'm running a local flask application at port 5000 (with FLASK_ENV=development). Seems to be a false positive.

@dz0ny
Copy link
Member

dz0ny commented Nov 8, 2021

Yes false positive, we also check for other ports that are related to AirPlay but that's not sufficient enough. The next release will also check if the underlying process is not active.

dz0ny added a commit that referenced this issue Nov 8, 2021
@dz0ny
Copy link
Member

dz0ny commented Nov 12, 2021

@zupo
Copy link
Member

zupo commented Nov 12, 2021

Just a bit more context: Pareto Security app now also checks for process name (ControlCenter) along with the port.

@dz0ny
Copy link
Member

dz0ny commented Nov 15, 2021

@dz0ny dz0ny closed this as completed Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants