-
Notifications
You must be signed in to change notification settings - Fork 44
Description
Hi,
I'm trying to get HomePod Mini to work, but there is an authentication error, refer to the log below.
Command lines tried:
./cliraop-linux-aarch64 -debug 10 -volume 50 -alac 192.168.2.147 t.wav
./cliraop-linux-aarch64 -debug 10 -volume 50 192.168.2.147 t.wav
raop_play also fails with .mp3 and .wav files, see 2nd log
`
[15:40:13.923] main:447 Binding to 192.168.2.140 [eth0] with mask 0xffffff00
[15:40:13.923] main:483 Listening for commands on named pipe /tmp/raop-ap5918800d
[15:40:13.923] raopcl_create:715 [0x55681cf050]: using PCM coding
[15:40:13.924] main:529 Connecting to player: 192.168.2.147 (192.168.2.147:5000)
[15:40:14.159] raopcl_connect:1003 [0x55681cf050]: local interface 192.168.2.140
[15:40:14.160] exec_request:645 [0x55681d3430]: ----> : write POST /auth-setup RTSP/1.0
Content-Type: application/octet-stream
Content-Length: 33
CSeq: 1
User-Agent: iTunes/7.6.2 (Windows; N;)
Client-Instance: 22c408aaa774ffc1
DACP-ID: 1A2B3D4EA1B2C3D4
Active-Remote: ap5918800d
ZK▒▒]hH▒6▒
▒g▒▒▒T▒AsO▒▒6E▒▒▒w
[15:40:14.166] exec_request:663 [0x55681d3430]: <------ : request failed, error RTSP/1.0
[15:40:14.166] rtspcl_auth_setup:523 [0x55681d3430]: auth-setup failed
[15:40:14.166] exec_request:645 [0x55681d3430]: ----> : write ANNOUNCE rtsp://192.168.2.147/1197283352 RTSP/1.0
Content-Type: application/sdp
Content-Length: 184
CSeq: 2
User-Agent: iTunes/7.6.2 (Windows; N;)
Client-Instance: 22c408aaa774ffc1
DACP-ID: 1A2B3D4EA1B2C3D4
Active-Remote: ap5918800d
v=0
o=iTunes 1197283352 0 IN IP4 192.168.2.140
s=iTunes
c=IN IP4 192.168.2.147
t=0 0
m=audio 0 RTP/AVP 96
a=rtpmap:96 AppleLossless
a=fmtp:96 352 0 16 40 10 14 2 255 0 0 44100
[15:40:14.166] exec_request:663 [0x55681d3430]: <------ : request failed, error Content-Length:
[15:40:15.167] exec_request:645 [0x55681d3430]: ----> : write FLUSH rtsp://192.168.2.147/1197283352 RTSP/1.0
RTP-Info: seq=17768;rtptime=1
CSeq: 3
User-Agent: iTunes/7.6.2 (Windows; N;)
Client-Instance: 22c408aaa774ffc1
DACP-ID: 1A2B3D4EA1B2C3D4
Active-Remote: ap5918800d
[15:40:15.168] exec_request:663 [0x55681d3430]: <------ : request failed, error Server:
[15:40:15.168] exec_request:645 [0x55681d3430]: ----> : write TEARDOWN rtsp://192.168.2.147/1197283352 RTSP/1.0
CSeq: 4
User-Agent: iTunes/7.6.2 (Windows; N;)
Client-Instance: 22c408aaa774ffc1
DACP-ID: 1A2B3D4EA1B2C3D4
Active-Remote: ap5918800d
[15:40:15.168] exec_request:663 [0x55681d3430]: <------ : request failed, error CSeq:
[15:40:15.168] main:532 Cannot connect to AirPlay device 192.168.2.147:5000, check firewall & port
[15:40:15.168] main:613 exiting...
`
`
./raop_play -v 50 192.168.2.147 test.mp3
DBG: ----> exec_request : write OPTIONS * RTSP/1.0
CSeq: 1
User-Agent: iTunes/4.6 (Macintosh; U; PPC Mac OS X 10.3)
Client-Instance: 335d94134a6e8695
DBG: <------ : exec_request: request ok (200)
DBG: <------ : Date: Mon, 06 Jan 2025 14:44:25 GMT
DBG: <------ : Content-Length: 0
DBG: <------ : Public: ANNOUNCE, SETUP, RECORD, PAUSE, FLUSH, TEARDOWN, OPTIONS, GET_PARAMETER, SET_PARAMETER, POST, GET, PUT
DBG: <------ : Server: AirTunes/835.19.2
DBG: <------ : CSeq: 1
DBG: <------ : X-Apple-ProcessingTime: 2
DBG: <------ : X-Apple-RequestReceivedTimestamp: 72212902
DBG: ----> exec_request : write ANNOUNCE rtsp://192.168.2.140/342016454 RTSP/1.0
Content-Type: application/sdp
Content-Length: 571
CSeq: 2
User-Agent: iTunes/4.6 (Macintosh; U; PPC Mac OS X 10.3)
Client-Instance: 335d94134a6e8695
Apple-Challenge: Qmh/6jlTceWeOUJgFksSzQ
v=0
o=iTunes 342016454 0 IN IP4 192.168.2.140
s=iTunes
c=IN IP4 192.168.2.147
t=0 0
m=audio 0 RTP/AVP 96
a=rtpmap:96 AppleLossless
a=fmtp:96 352 0 16 40 10 14 2 255 0 0 44100
a=rsaaeskey:VxRrEmA5kAVuM3G6hcNNCVgdMeptrszakfMswG2J6a41lIzVbVAmNlPfEeCWiq7tbVZwrmB61KFfx2esZ/JQnxPJHp7xm/s3ReFcasHuu+gBB5fKQj4bQfAwdDS87QJAcqhneHBySMCf4UcRz17GM/FBGN1QF95dRPH5z2pt55LHRE1NWdh5hzmyKrkt2OPL816EVVD4BbRuSOMemAXnnQdLztyy2T3AZ6O9yhzhN3anSQZZY1O6Vs4nHp0tk6jOpLvgnB5z84aTwZ6AhfuTf55pkn7BZW7S7O/jb4iMakK6kc7pmgG5JyIR4bnkZqFqaVPkUIX/FWhKgcsiUhXPtA
a=aesiv:SROeAU1TN2f2Yp7A+G6XmA
ERR: <------ : exec_request: request failed, error RTSP/1.0
`