iOS icon indicating copy to clipboard operation
iOS copied to clipboard

Websocket disconnects in HA log every ~60s with latest Testflight app version

Open rccoleman opened this issue 1 month ago • 3 comments

iOS device model, version and app version

Model Name: Software Version: App version:

Home Assistant Core Version 2026.10.0

Describe the bug Starting with the Testflight beta version of the iOS app (2026.10.0/2026.3136), I'm seeing messages in the HA log like this every minute or so:

2026-10-07 10:40:33.320 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection] [2762925127312] Rob from 192.168.1.26 (Home Assistant/2026.10.0 (io.robbie.HomeAssistant; build:2026.3136; iOS 27.2.0)): Disconnected: Received error message during command phase: Received frame with non-zero reserved bits
2026-10-07 10:41:29.298 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection] [2761209875760] Rob from 192.168.1.26 (Home Assistant/2026.10.0 (io.robbie.HomeAssistant; build:2026.3136; iOS 27.2.0)): Disconnected: Received error message during command phase: Received frame with non-zero reserved bits
2026-10-07 10:42:25.297 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection] [2763714390480] Rob from 192.168.1.26 (Home Assistant/2026.10.0 (io.robbie.HomeAssistant; build:2026.3136; iOS 27.2.0)): Disconnected: Received error message during command phase: Received frame with non-zero reserved bits
2026-10-07 10:43:21.562 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection] [2761949083024] Rob from 192.168.1.26 (Home Assistant/2026.10.0 (io.robbie.HomeAssistant; build:2026.3136; iOS 27.2.0)): Disconnected: Received error message during command phase: Received frame with non-zero reserved bits
2026-10-07 10:44:17.297 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection] [2763030040688] Rob from 192.168.1.26 (Home Assistant/2026.10.0 (io.robbie.HomeAssistant; build:2026.3136; iOS 27.2.0)): Disconnected: Received error message during command phase: Received frame with non-zero reserved bits

I see this even on a local connection where my iPhone is going straight to the unencrypted HA endpoint (http://192.168.1.159:8123). If I revert back to the app store version of the iOS app, I don't see these messages in the HA log. I can switch back and forth between app versions and see the behavior change.

It might have started with the HA 2026.10 beta, but I can't be sure. They're currently filling my HA logs. Only seems to happen when the app is open on the phone?

I note that Local Push is showing as Disabled for some reason.

Full disclosure, I'm using an internal iOS build on my iPhone 18 Pro Max, so it could also be related to that. I don't have a phone handy with a customer release to test, though.

To Reproduce

Use the Testflight version of the iOS app to connect to an unencrypted HA instance running 2026.10 and observe websocket errors/disconnects in the HA log. They don't see to cause bad behavior in the app, from what I can tell.

Expected behavior

No unexpected websocket disconnections or associated logs in the HA log.

Screenshots

Additional context

Logs:

2026-10-07_11.38.00-0700.logs.zip

rccoleman avatar Oct 07 '26 17:10 rccoleman

I‘m seeing the same Warning messages since updating to HA 2026.10 for my iPhone and iPad (both on OS 27.0.1) / HA Companion App 2026.9.3 (2026.3126).

oPixelHero avatar Oct 07 '26 19:10 oPixelHero

The more I look into this, the more it seems like it may be an HA frontend thing. If I open the URL for my dashboard in a new desktop browser tab (Chrome on Mac, if that matters), I see one of the lines appear in the log.

rccoleman avatar Oct 08 '26 00:10 rccoleman

same issue tracked here: https://github.com/home-assistant/core/issues/184799

dierochade avatar Oct 08 '26 14:10 dierochade