Skip to content

Timeout POST /pair-pin-start (HAP transient) with AirTunes/960.13.1 tvOS 26.6 / audioOS 26.6 -> Failed to set up remote control channel #2908

Description

@Jogomla

Describe the bug

HA 2026.8.3 (HAOS VM 103) + pyatv 0.18.0, Apple TV 4K 192.168.1.150 tvOS 26.6 + HomePod Mini Azul 192.168.1.152 audioOS 26.6 (FW 26.6, AirTunes/960.13.1). Home > Speakers & TV > Allow = Everyone.

Error log

TimeoutError: no response to SETUP rtsp://192.168.1.103/1343027657 (RTSP/1.0)
pyatv/support/http.py:474
pyatv.exceptions.ProtocolError: Failed to set up remote control channel
...
File "pyatv/protocols/airplay/auth/hap_transient.py", line 49, in verify_credentials
await self.http.post("/pair-pin-start", headers=_AIRPLAY_HEADERS)
File "pyatv/support/http.py", line 474, in send_and_receive
raise TimeoutError(f"no response to {method} {uri} ({protocol})") from ex
TimeoutError: no response to POST /pair-pin-start (HTTP/1.1)
File "homeassistant/components/apple_tv/init.py", line 340, in _connect
self.atv = await connect(conf, self.hass.loop, session=session)
WARNING pyatv.support.http Got response without having a request: HttpResponse(200 OK, AirTunes/960.13.1, X-Apple-RequestReceivedTimestamp: 1057008670)
WARNING homeassistant.components.apple_tv Connection was re-established to device "Sala (L) HomePod"

How to reproduce the bug?

Remove Apple TV integration > Restart HA > Add Integration > Apple TV via mDNS discovery (PIN OK) -> tts.speak Success no audio, media_player.play_media Timeout. Network OK: ping 0% loss, curl 7000/info 200 OK, 103.fw allows LAN.

Traceback:
TimeoutError: no response to POST /pair-pin-start (HTTP/1.1)
pyatv/support/http.py:474 send_and_receive
pyatv/protocols/airplay/auth/hap_transient.py:49 verify_credentials
pyatv/protocols/airplay/ap2_session.py:71 verify_connection
-> pyatv.exceptions.ProtocolError: Failed to set up remote control channel (apple_tv/init.py:340)

Followed by late response:
WARNING Got response without having a request: HttpResponse(200 OK, AirTunes/960.13.1)
WARNING Connection was re-established to device "Sala (L) HomePod"

What is expected behavior?

AirPlay remote control channel should establish via POST /pair-pin-start (HAP transient) and RTSP SETUP should succeed, then tts.speak / play_media should stream audio to Apple TV 4K / HomePod Mini with normal AirPlay buffering (~1-2s), as it did before tvOS 26.6. Currently it times out but late 200 OK arrives after timeout.

Operating System

Linux (Home Assistant OS 2026.8.3, HAOS VM 103 on Proxmox VE)

Python

3.14

pyatv

0.18.0

Device

Apple TV 4K 192.168.1.150 tvOS 26.6 + HomePod Mini Azul 192.168.1.152 audioOS 26.6 (FW 26.6, MAC 4E:5A:CE:05:0A:8E) + Sala HomePod 192.168.1.153 — all AirTunes/960.13.1

Additional context

Network OK (ping 0% loss, curl 7000/info 200 OK, 103.fw allows LAN), Home Allow=Everyone, late 200 OK arrives after Timeout (Got response without having a request). Fresh Remove/Restart/Add via mDNS discovery (PIN OK) still fails. Full logs in description.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions