philippe44 / AirConnect

Use AirPlay to stream to UPnP/Sonos & Chromecast devices
Other
3.5k stars 216 forks source link

No audio! SSL Error #279

Closed ghost closed 3 years ago

ghost commented 3 years ago

Hi

This is possible related to https://github.com/philippe44/AirConnect/issues/276.

I have two JBL Music Link speakers paired to stereo using the google home app and using your program it worked flawlessly! Playing stereo using Airplay. Which was great! So after two weeks of testing, I decided to get two extra speakers for another room. Updated the google home app. Setup the speakers. But it will not play any audio although I can see it sending. It does not work anymore, not on the original pair nor on the new pair. I already reset the devices (many times) en reconfigure them. No luck. I did not change or update anything to my tablet or notebook (like os update). I used the same binary as before aircast-osx-multi from your repo. Did maybe google change something?

Looking at the output below there is a SSL error:

[19:45:39.303596] flac_init:218 [0x7ffa39821400]: Using FLAC-0 (0x7ffa39701cf0) [19:45:39.304661] buffer_put_packet:620 [0x7ffa39821400]: fill [level:1] [W:35671 R:35671] [19:45:39.731766] search_remote_cb:629 [0x7ffa39701b30]: found ActiveRemote for 5E483ECC943F1854 at 10.0.0.2:60000

[19:45:40.281844] CastConnect:365 [0x1002d2650]: SSL connection opened [0x7ffa39701830] [19:45:40.283551] CastLoad:174 [0x1002d2650]: Queuing LOAD [19:45:40.283564] read_bytes:181 [s-0x7ffa39701830]: SSL error code 5 (err:336036069) [19:45:40.283604] CastSocketThread:710 [0x7ffa39701690]: SSL connection closed [19:45:40.283660] CastSimple:211 [0x1002d2650]: Queuing PLAY [19:45:40.283770] CastSetDeviceVolume:333 [0x1002d2650]: Queuing SET_VOLUME [19:45:43.401665] buffer_put_packet:620 [0x7ffa39821400]: fill [level:513] [W:36183 R:35671] [19:45:47.462645] buffer_put_packet:620 [0x7ffa39821400]: fill [level:1025] [W:36695 R:35671] [19:45:51.543165] buffer_put_packet:620 [0x7ffa39821400]: fill [level:1537] [W:37207 R:35671] ...

Kinda at a loss here...

philippe44 commented 3 years ago

Looks like SSL crypto is failing although negotiation works well. It's probably linked to the update you made to the app that updated the devices as well, or maybe there was a JBL update coincidentally, Just a guess but no solution

philippe44 commented 3 years ago

Closed for inactivity