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

Cannot stream from macOS Big Sur / iOS 14.7 #51

Open
Bouke opened this issue Sep 2, 2021 · 3 comments
Open

Cannot stream from macOS Big Sur / iOS 14.7 #51

Bouke opened this issue Sep 2, 2021 · 3 comments

Comments

@Bouke
Copy link

Bouke commented Sep 2, 2021

I'm running the program on macOS 10.15 (iMac). I'm trying to stream from my MacBook Pro running 11.4 (Big Sur). It fails to connect. Firewall is off on the receiving end. Scanning over the Console.app output, it seems there's a pairing issue at fault.

default 08:22:37.916774+0200    AirPlayXPCHelper    [0x0407] httpConnection_setupHTTPClient: HTTPClient connected to [fe80::1872:10fc:5680:45cc%en0]:7000 (from [fe80::c19:bc68:b62e:f9b8%en0]:58147)
default 08:22:37.916882+0200    mDNSResponder   [R224386] DNSServiceQueryRecord(400000, 6, <mask.hash: 'r3qep7Q7hNXNbqvcgWk21g=='>, SRV) STOP PID[128](AirPlayXPCHelpe)
default 08:22:37.917201+0200    AirPlayXPCHelper    Connect success: CID 0xFD2B0000, Peer NULL
default 08:22:37.917242+0200    mDNSResponder   [R224387] DNSServiceGetAddrInfo(<mask.hash: 'E3HhpjVsWybBrdpHSCEKyQ=='>) STOP PID[128](AirPlayXPCHelpe)
default 08:22:37.917243+0200    AirPlayXPCHelper    Request start: CID 0xFD2B0001, Peer NULL, TimeoutSecs 60
default 08:22:37.917310+0200    AirPlayXPCHelper    Request written: CID 0xFD2B0001, Header 209 bytes, Body 70 bytes
default 08:22:37.926878+0200    AirPlayXPCHelper    Response received: CID 0xFD2B0001, Header 123 bytes, Body 1088 bytes, Status 200
error   08:22:37.927030+0200    AirPlayXPCHelper    airPlayDescription_updateAdvertiserInfoWithEndpointInfo:3544: false condition
default 08:22:37.927073+0200    AirPlayXPCHelper    [AirPlayVolume] [0x97A1] No Initial Volume from receiver
default 08:22:37.927258+0200    AirPlayXPCHelper    [0x52A1] APPairingClientCoreUtils created.
default 08:22:37.927297+0200    AirPlayXPCHelper    [0x97A1] Created pairing client [0x52A1]
error   08:22:37.968051+0200    AirPlayXPCHelper    coreUtilsPairing_XPCFindPeer:1271: got error -6727/0xFFFFE5B9 kNotFoundErr
default 08:22:37.968096+0200    AirPlayXPCHelper    [0x97A1] Pair-setup over Infra with "myap2"
default 08:22:37.968270+0200    AirPlayXPCHelper    [0x07AD] APPairingClientCoreUtils created.
default 08:22:37.968303+0200    AirPlayXPCHelper    [0x97A1] Created pairing client [0x07AD]
default 08:22:37.968327+0200    AirPlayXPCHelper    [0x07AD] Control pair-setup CU, type 4
default 08:22:37.968348+0200    AirPlayXPCHelper    [0x07AD] PairingFlags 16
default 08:22:37.968368+0200    AirPlayXPCHelper    [0x07AD] Created Pair-setup session [0x6AFD]
default 08:22:37.968388+0200    AirPlayXPCHelper    PairStart, PairSetupClient, 0x10 < Transient >
default 08:22:37.968410+0200    AirPlayXPCHelper    Pair-setup client M1 -- start request
    0x00 (Method), 1 bytes, 00 |^|
    0x06 (State),  1 bytes, 01 |^|
    0x13 (Flags),  1 bytes, 10 |^|
error   08:22:37.968668+0200    kernel  Sandbox: AirPlayXPCHelper(128) deny(1) mach-lookup com.apple.timed.xpc
default 08:22:37.968739+0200    AirPlayXPCHelper    Error: Daemon connection invalidated
default 08:22:37.968925+0200    AirPlayXPCHelper    Request start: CID 0xFD2B0002, Peer NULL, TimeoutSecs 60
default 08:22:37.969001+0200    AirPlayXPCHelper    Request written: CID 0xFD2B0002, Header 250 bytes, Body 9 bytes
default 08:22:37.975825+0200    AirPlayXPCHelper    Response received: CID 0xFD2B0002, Header 113 bytes, Body 32 bytes, Status 200
default 08:22:37.975933+0200    AirPlayXPCHelper    ### [0x07AD] Control pair-setup CU failed: 200401/0x30ED1 Unauthorized
error   08:22:37.975971+0200    AirPlayXPCHelper    coreUtilsPairing_PerformSetup:536: got error 200403/0x30ED3 Forbidden
error   08:22:37.975994+0200    AirPlayXPCHelper    apsession_performPairSetup:5423: got error 200403/0x30ED3 Forbidden
error   08:22:37.976012+0200    AirPlayXPCHelper    apsession_ensurePaired:5792: got error 200403/0x30ED3 Forbidden
error   08:22:37.976030+0200    AirPlayXPCHelper    apsession_ensureConnectedInternal:1820: got error 200403/0x30ED3 Forbidden
default 08:22:37.976088+0200    AirPlayXPCHelper    APTransportTrafficRegistrar: MAC 00:00:00:00:00:00 has 0 connections, 1 require infrastructure
error   08:22:37.976138+0200    AirPlayXPCHelper    apsession_ensureStartedInternalStage1StartTransaction:2035: got error 200403/0x30ED3 Forbidden
default 08:22:37.976192+0200    AirPlayXPCHelper    [0x97A1] Disconnecting from 'myap2-AP'
error   08:22:37.976231+0200    AirPlayXPCHelper    ### [0xD774] Received sender session failed notification.
error   08:22:37.976283+0200    AirPlayXPCHelper    apsession_ensureStartedInternal:1982: got error 200403/0x30ED3 Forbidden
error   08:22:37.976309+0200    AirPlayXPCHelper    endpoint_activateInternal:3011: got error 200403/0x30ED3 Forbidden
error   08:22:37.976329+0200    AirPlayXPCHelper    [0xD774] Endpoint activation (seed 7) failed with error 200403/0x30ED3 Forbidden.
default 08:22:37.976402+0200    AirPlayXPCHelper    [0xD774] Deactivating endpoint 'myap2' with reason 'FailedActivation'...

Output from the program:

Got connection with 192.168.1.16:57980
GET: /info?txtAirPlay&txtRAOP


192.168.1.16 - - [02/Sep/2021 08:22:48] code 404, message : Method GET Path /info?txtAirPlay&txtRAOP endpoint not implemented
@systemcrash
Copy link
Member

Oh, curious. So just connecting? Or is there something in a play queue in the background somewhere?

Please pull the latest master - I attempted a fix there.

systemcrash added a commit that referenced this issue Oct 18, 2021
Apparently, some clients try to send parameters in the URI. Let's see
whether we can disregard them (they're normally passed as headers with
values later).
@Neustradamus
Copy link
Contributor

@Bouke: Have you tested with the last commit from @systemcrash?

@Neustradamus
Copy link
Contributor

@Bouke: What is the situation of this issue?
Have you looked my previous comment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants