Hi Community – I’m having an issue connecting an old iPad through HomeAssistant app to my Home Assistant Instance. It connects fine through Safari but NOT through the app. It throws the following error:
2-04-21 10:06:13.532 [Info] [main] [Environment.swift:71] init() > WebSocket: connecting using HAConnectionInfo(url: https://hass.xxxxxxxxxxx.xxx, userAgent: Optional("Home Assistant/2022.3 (io.robbie.HomeAssistant; build:2022.358; iOS 12.5.5)"), engine: nil)
2022-04-21 10:06:13.556 [Verbose] [main] [Bonjour.swift:54] netServiceDidResolveAddress(_:) >
2022-04-21 10:06:13.668 [Info] [main] [Environment.swift:71] init() > WebSocket: Viability changed: true
2022-04-21 10:06:13.736 [Info] [main] [Environment.swift:71] init() > WebSocket: connected with headers: ["Strict-Transport-Security": "max-age=63072000; includeSubDomains; preload", "Upgrade": "websocket", "Content-Type": "application/octet-stream", "sec-websocket-extensions": "permessage-deflate", "Connection": "upgrade", "sec-websocket-accept": "7FCvAeovASSX1SQhwvv+e/GHzaM=", "Date": "Thu, 21 Apr 2022 09:06:13 GMT", "Server": "Python/3.9 aiohttp/3.8.1"]
2022-04-21 10:06:13.736 [Info] [main] [Environment.swift:71] init() > WebSocket: phase transition to auth
2022-04-21 10:06:13.748 [Error] [main] [Environment.swift:72] init() > WebSocket: Error: Optional(Starscream.WSError(type: Starscream.ErrorType.protocolError, message: "not valid UTF-8 data", code: 1002))
2022-04-21 10:06:13.749 [Info] [main] [Environment.swift:71] init() > WebSocket: phase transition to disconnected(error: Optional(Starscream.WSError(type: Starscream.ErrorType.protocolError, message: "not valid UTF-8 data", code: 1002)), forReset: false)
2022-04-21 10:06:13.749 [Info] [main] [Environment.swift:71] init() > WebSocket: disconnecting; permanently: false, error: Optional(Starscream.WSError(type: Starscream.ErrorType.protocolError, message: "not valid UTF-8 data", code: 1002))
2022-04-21 10:06:13.750 [Info] [main] [Environment.swift:71] init() > WebSocket: phase transition to disconnected(error: nil, forReset: true)
Any idea how to resolve this?