home-assistant / iOS

:iphone: Home Assistant for Apple platforms
https://companion.home-assistant.io
Other
1.6k stars 309 forks source link

shared.webhookerror 2 When trying to set up app #2835

Open DJOma opened 5 months ago

DJOma commented 5 months ago

iOS device model, version and app version

Model Name: iPhone 13 (I think) Software Version: 17.5.1 App version: 2024.6 Build: 2024.696

Home Assistant Core Version 2024.7.0

Describe the bug When trying to set up the iOS App for my wife for the very first time it allways results in an error. She is prompted to log in, which seems to work. She can access the dashboard using safari.

The result is: unacceptableStatusCode(code: 404)) shared.webhookerror 2

It doesn't matter if I use my nabu casa URL or the autodiscovered local IP. There is no trailing slash in any of these addresses.

Additional context

The log downloaded from the error screen:

2024-07-04 18:52:42.124 [Info] > Home Assistant Version: 2024.6 Build: 2024.696 PID: 51708 2024-07-04 18:52:42.124 [Info] > XCGLogger Version: 7.0.1 - Level: Debug 2024-07-04 18:52:42.126 [Info] > XCGLogger writing log to: file:///private/var/mobile/Containers/Shared/AppGroup/487E0C65-9598-41F2-AC6C-6AFEED2C2E5C/logs/Home%20Assistant.txt 2024-07-04 18:52:42.127 [Info] [webhookmanager-data] [WebhookManager.swift:763] init(identifier:delegate:delegateQueue:background:) > webhook-io.robbie.HomeAssistant initial tasks: [] 2024-07-04 18:52:42.127 [Info] [webhookmanager-data] [WebhookManager.swift:763] init(identifier:delegate:delegateQueue:background:) > non-background initial tasks: [] 2024-07-04 18:52:42.128 [Info] [main] [ServerManager.swift:390] migrateIfNeeded() > no historic server found to import 2024-07-04 18:52:42.191 [Info] [main] [NotificationManagerLocalPushInterfaceExtension.swift:78] updateManagers() > 2024-07-04 18:52:42.205 [Verbose] [main] [NotificationManager.swift:55] setupFirebase() > Calling UIApplication.shared.registerForRemoteNotifications() 2024-07-04 18:52:43.064 [Info] [main] [ClientEventStore.swift:8] ClientEventStore > unknown: Application Starting [:] 2024-07-04 18:52:43.084 [Info] [main] [ZoneManager.swift:87] log(state:) > initialize 2024-07-04 18:52:43.085 [Info] [main] [ZoneManager.swift:64] updateLocationManager(isInitial:) > started monitoring siglog changes 2024-07-04 18:52:43.090 [Info] [com.apple.root.user-initiated-qos] [RealmScene.swift:71] willDelete(objects:server:realm:) > deleting actions [] 2024-07-04 18:52:43.093 [Info] [main] [ZoneManager.swift:191] sync(zones:) > available 0, enabled true, monitoring 0 ((beacon: 0, circular: 0, zone: 0)), started 0, ended 0 2024-07-04 18:52:43.109 [Info] [main] [WebViewWindowController.swift:64] setup() > showing onboarding required(HomeAssistant.OnboardingNavigationViewController.OnboardingStyle.RequiredType.full) 2024-07-04 18:52:43.189 [Verbose] [main] [AppDelegate.swift:356] setupWatchCommunicator() > Activation state changed: activated 2024-07-04 18:52:43.189 [Warning] [main] [WatchHelpers.swift:46] SyncWatchContext() > Tried to sync HAAPI config to watch but watch not paired or app not installed 2024-07-04 18:52:43.189 [Verbose] [main] [AppDelegate.swift:366] setupWatchCommunicator() > Reachability changed: notReachable 2024-07-04 18:52:43.190 [Verbose] [main] [NotificationManagerLocalPushInterfaceExtension.swift:141] configure(managers:) > computed managers: [:] 2024-07-04 18:52:43.190 [Verbose] [main] [NotificationManager.swift:68] didRegisterForRemoteNotifications(deviceToken:) > Successfully registered for push notifications! APNS token: d4bb6885a3bfd9a967973a1989fb657e30437d5f36a3e889f6ea7bf714207f5b 2024-07-04 18:52:43.194 [Info] [main] [PeriodicUpdateManager.swift:57] connectAPI(reason:) > Connect finished for reason cold 2024-07-04 18:52:43.455 [Error] [main] [AppDelegate.swift:303] checkForAlerts() > check error: The first or last element was requested for an empty sequence 2024-07-04 18:52:44.468 [Info] [main] [Bonjour.swift:25] start() > 2024-07-04 18:52:45.582 [Info] [main] [NotificationManager.swift:340] messaging(_:didReceiveRegistrationToken:) > Firebase registration token refreshed, new token: eF-Q84aymU91u7gfbD49Di:APA91bF9eae-3QXIKHoYEfuRs69XckzYgxEE2aR_vwoPGBIw9OVu5Jo95HIe6fnNd1buhhdCCwA_Jq4xor9QC3NMPWFw-cZMeuulp9EEyuzpqBFPPmMVHUdOKLLhkkvTmGeAjwhINtVo 2024-07-04 18:52:45.582 [Warning] [main] [NotificationManager.swift:343] messaging(_:didReceiveRegistrationToken:) > FCM token has changed from (null) to eF-Q84aymU91u7gfbD49Di:APA91bF9eae-3QXIKHoYEfuRs69XckzYgxEE2aR_vwoPGBIw9OVu5Jo95HIe6fnNd1buhhdCCwA_Jq4xor9QC3NMPWFw-cZMeuulp9EEyuzpqBFPPmMVHUdOKLLhkkvTmGeAjwhINtVo 2024-07-04 18:52:46.615 [Verbose] [main] [Bonjour.swift:47] netServiceBrowser(_:didFind:moreComing:) > 2024-07-04 18:52:46.665 [Verbose] [main] [Bonjour.swift:54] netServiceDidResolveAddress(_:) > 2024-07-04 18:52:59.740 [Verbose] [main] [OnboardingScanningViewController.swift:229] tableView(_:didSelectRowAt:) > Selected row at 0 DiscoveredHomeAssistant(uuid: Optional("6c436ef720df4d1c849fcaf22c0919fa"), version: 2024.7.0, internalOrExternalURL: http://192.168.1.2:8123, externalURL: nil, internalURL: Optional(http://192.168.1.2:8123), locationName: "Home", bonjourName: Optional("Home")) 2024-07-04 18:52:59.747 [Info] [main] [OnboardingAuth.swift:80] performPreSteps(checkPoint:authDetails:sender:) > beforeAuth 2024-07-04 18:52:59.748 [Verbose] [main] [OnboardingAuthStepConnectivity.swift:25] perform(point:) > 2024-07-04 18:52:59.764 [Info] [main] [OnboardingAuth.swift:70] perform(checkPoint:checks:) > OnboardingAuthStepConnectivity: fulfilled() 2024-07-04 18:52:59.764 [Verbose] [main] [OnboardingAuthLogin.swift:18] open(authDetails:sender:) > http://192.168.1.2:8123/auth/authorize?response_type=code&client_id=https://home-assistant.io/iOS&redirect_uri=homeassistant://auth-callback 2024-07-04 18:53:26.628 [Info] [main] [OnboardingAuth.swift:154] configuredAPI(authDetails:instance:code:) > 2024-07-04 18:53:26.656 [Verbose] [main] [OnboardingAuth.swift:162] configuredAPI(authDetails:instance:code:) > 2024-07-04 18:53:26.659 [Info] [main] [OnboardingAuth.swift:95] performPostSteps(checkPoint:api:sender:) > beforeRegister 2024-07-04 18:53:26.664 [Info] [main] [Environment.swift:71] init() > WebSocket: connecting using HAConnectionInfo(url: http://192.168.1.2:8123, userAgent: Optional("Home Assistant/2024.6 (io.robbie.HomeAssistant; build:2024.696; iOS 17.5.1)"), engine: nil, evaluateCertificate: Optional((Function))) 2024-07-04 18:53:26.668 [Info] [main] [Environment.swift:71] init() > WebSocket: Viability changed: true 2024-07-04 18:53:26.672 [Info] [main] [Environment.swift:71] init() > WebSocket: connected with headers: ["Server": "Python/3.12 aiohttp/3.9.5", "Sec-WebSocket-Accept": "wjHbKHMetpC5UwdW3lSYKNyJM7I=", "Connection": "upgrade", "Date": "Thu, 04 Jul 2024 16:53:26 GMT", "Sec-WebSocket-Extensions": "permessage-deflate", "Upgrade": "websocket"] 2024-07-04 18:53:26.673 [Info] [main] [Environment.swift:71] init() > WebSocket: phase transition to auth 2024-07-04 18:53:26.673 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: auth: required 2024-07-04 18:53:26.673 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Sending: (auth) 2024-07-04 18:53:26.676 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: auth: ok(version: "2024.7.0") 2024-07-04 18:53:26.676 [Info] [main] [Environment.swift:71] init() > WebSocket: phase transition to command(version: "2024.7.0") 2024-07-04 18:53:26.676 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Sending: {"event_type":"core_config_updated","id":1,"type":"subscribe_events"} 2024-07-04 18:53:26.676 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Sending: {"event_type":"component_loaded","id":2,"type":"subscribe_events"} 2024-07-04 18:53:26.677 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Sending: {"id":3,"type":"config\/device_registry\/list"} 2024-07-04 18:53:26.681 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: result success HARequestIdentifier(rawValue: 1) 2024-07-04 18:53:26.684 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: result success HARequestIdentifier(rawValue: 2) 2024-07-04 18:53:26.686 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: result success HARequestIdentifier(rawValue: 3) 2024-07-04 18:53:26.688 [Info] [main] [OnboardingAuth.swift:70] perform(checkPoint:checks:) > OnboardingAuthStepDuplicate: fulfilled() 2024-07-04 18:53:26.688 [Info] [main] [OnboardingAuth.swift:95] performPostSteps(checkPoint:api:sender:) > register 2024-07-04 18:53:27.327 [Verbose] [main] [HAAPI.swift:386] register() > Registration response Shared.MobileAppRegistrationResponse 2024-07-04 18:53:27.328 [Info] [main] [OnboardingAuth.swift:70] perform(checkPoint:checks:) > OnboardingAuthStepRegister: fulfilled() 2024-07-04 18:53:27.328 [Info] [main] [OnboardingAuth.swift:95] performPostSteps(checkPoint:api:sender:) > afterRegister 2024-07-04 18:53:27.374 [Info] [main] [WebhookManager.swift:223] sendEphemeral(server:request:) > sending to 6c436ef720df4d1c849fcaf22c0919fa: WebhookRequest(type: "get_config", data: [:], localMetadata: nil) 2024-07-04 18:53:27.490 [Verbose] [main] [HAAPI.swift:767] registerSensors() > Registering sensors [Optional("battery_level"), Optional("battery_state"), Optional("storage"), Optional("connectivity_ssid"), Optional("connectivity_bssid"), Optional("connectivity_connection_type"), Optional("connectivity_sim_2"), Optional("connectivity_sim_1"), Optional("geocoded_location"), Optional("last_update_trigger")] 2024-07-04 18:53:27.506 [Info] [webhookmanager-data] [WebhookManager.swift:402] send(on:server:identifier:request:waitForResponse:) > starting request: taskKey(session: webhook-io.robbie.HomeAssistant, task: 1), server(6c436ef720df4d1c849fcaf22c0919fa), type(WebhookResponseUnhandled), request(WebhookRequest(type: "register_sensor", data: ["unique_id": "battery_level", "type": "sensor", "name": "Battery Level", "attributes": [:], "unit_of_measurement": "%", "icon": "mdi:battery-20", "device_class": "battery", "state": 20], localMetadata: nil)) 2024-07-04 18:53:27.511 [Info] [webhookmanager-data] [WebhookManager.swift:402] send(on:server:identifier:request:waitForResponse:) > starting request: taskKey(session: webhook-io.robbie.HomeAssistant, task: 2), server(6c436ef720df4d1c849fcaf22c0919fa), type(WebhookResponseUnhandled), request(WebhookRequest(type: "register_sensor", data: ["unique_id": "battery_state", "icon": "mdi:battery-20", "type": "sensor", "attributes": ["Low Power Mode": false], "state": "Not Charging", "name": "Battery State"], localMetadata: nil)) 2024-07-04 18:53:27.513 [Info] [webhookmanager-data] [WebhookManager.swift:402] send(on:server:identifier:request:waitForResponse:) > starting request: taskKey(session: webhook-io.robbie.HomeAssistant, task: 3), server(6c436ef720df4d1c849fcaf22c0919fa), type(WebhookResponseUnhandled), request(WebhookRequest(type: "register_sensor", data: ["name": "Storage", "type": "sensor", "state": "10.54", "unit_of_measurement": "% available", "icon": "mdi:database", "attributes": ["Available": "11,14 GB", "Total": "127,87 GB", "Available (Important)": "20,54 GB", "Available (Opportunistic)": "13,47 GB"], "unique_id": "storage"], localMetadata: nil)) 2024-07-04 18:53:27.518 [Info] [webhookmanager-data] [WebhookManager.swift:402] send(on:server:identifier:request:waitForResponse:) > starting request: taskKey(session: webhook-io.robbie.HomeAssistant, task: 4), server(6c436ef720df4d1c849fcaf22c0919fa), type(WebhookResponseUnhandled), request(WebhookRequest(type: "register_sensor", data: ["icon": "mdi:wifi-off", "state": "Not Connected", "type": "sensor", "name": "SSID", "unique_id": "connectivity_ssid"], localMetadata: nil)) 2024-07-04 18:53:27.536 [Info] [webhookmanager-data] [WebhookManager.swift:402] send(on:server:identifier:request:waitForResponse:) > starting request: taskKey(session: webhook-io.robbie.HomeAssistant, task: 5), server(6c436ef720df4d1c849fcaf22c0919fa), type(WebhookResponseUnhandled), request(WebhookRequest(type: "register_sensor", data: ["icon": "mdi:wifi-off", "type": "sensor", "state": "Not Connected", "name": "BSSID", "unique_id": "connectivity_bssid"], localMetadata: nil)) 2024-07-04 18:53:27.538 [Info] [webhookmanager-data] [WebhookManager.swift:402] send(on:server:identifier:request:waitForResponse:) > starting request: taskKey(session: webhook-io.robbie.HomeAssistant, task: 6), server(6c436ef720df4d1c849fcaf22c0919fa), type(WebhookResponseUnhandled), request(WebhookRequest(type: "register_sensor", data: ["type": "sensor", "unique_id": "connectivity_connection_type", "attributes": [:], "icon": "mdi:wifi", "state": "Wi-Fi", "name": "Connection Type"], localMetadata: nil)) 2024-07-04 18:53:27.542 [Info] [webhookmanager-data] [WebhookManager.swift:402] send(on:server:identifier:request:waitForResponse:) > starting request: taskKey(session: webhook-io.robbie.HomeAssistant, task: 7), server(6c436ef720df4d1c849fcaf22c0919fa), type(WebhookResponseUnhandled), request(WebhookRequest(type: "register_sensor", data: ["unique_id": "connectivity_sim_2", "attributes": ["Allows VoIP": true, "Carrier Name": "--", "Mobile Country Code": "65535", "Mobile Network Code": "65535", "Carrier ID": "0000000100000002", "ISO Country Code": "--"], "type": "sensor", "name": "SIM 2", "icon": "mdi:sim", "state": "--"], localMetadata: nil)) 2024-07-04 18:53:27.545 [Info] [webhookmanager-data] [WebhookManager.swift:402] send(on:server:identifier:request:waitForResponse:) > starting request: taskKey(session: webhook-io.robbie.HomeAssistant, task: 8), server(6c436ef720df4d1c849fcaf22c0919fa), type(WebhookResponseUnhandled), request(WebhookRequest(type: "register_sensor", data: ["attributes": ["Carrier Name": "--", "Carrier ID": "0000000100000001", "Mobile Country Code": "65535", "ISO Country Code": "--", "Current Radio Technology": "Long-Term Evolution (LTE)", "Mobile Network Code": "65535", "Allows VoIP": true], "type": "sensor", "icon": "mdi:sim", "name": "SIM 1", "state": "--", "unique_id": "connectivity_sim_1"], localMetadata: nil)) 2024-07-04 18:53:27.547 [Info] [webhookmanager-data] [WebhookManager.swift:402] send(on:server:identifier:request:waitForResponse:) > starting request: taskKey(session: webhook-io.robbie.HomeAssistant, task: 9), server(6c436ef720df4d1c849fcaf22c0919fa), type(WebhookResponseUnhandled), request(WebhookRequest(type: "register_sensor", data: ["icon": "mdi:map", "state": "Unknown", "name": "Geocoded Location", "unique_id": "geocoded_location", "type": "sensor"], localMetadata: nil)) 2024-07-04 18:53:27.549 [Info] [webhookmanager-data] [WebhookManager.swift:402] send(on:server:identifier:request:waitForResponse:) > starting request: taskKey(session: webhook-io.robbie.HomeAssistant, task: 10), server(6c436ef720df4d1c849fcaf22c0919fa), type(WebhookResponseUnhandled), request(WebhookRequest(type: "register_sensor", data: ["name": "Last Update Trigger", "icon": "mdi:cellphone-wireless", "type": "sensor", "state": "registration", "unique_id": "last_update_trigger"], localMetadata: nil)) 2024-07-04 18:53:27.549 [Error] [webhookmanager-data] [WebhookManager.swift:540] responseInfo(from:) > no persisted info for LocalUploadTask <C83F950F-3D8F-4967-8D38-31D1C5D07CAD>.<1> (nil) 2024-07-04 18:53:27.550 [Error] [webhookmanager-data] [WebhookManager.swift:540] responseInfo(from:) > no persisted info for LocalUploadTask <C83F950F-3D8F-4967-8D38-31D1C5D07CAD>.<1> (nil) 2024-07-04 18:53:27.550 [Error] [webhookmanager-data] [WebhookManager.swift:540] responseInfo(from:) > no persisted info for LocalUploadTask <C83F950F-3D8F-4967-8D38-31D1C5D07CAD>.<1> (nil) 2024-07-04 18:53:27.550 [Error] [webhookmanager-data] [WebhookManager.swift:540] responseInfo(from:) > no persisted info for LocalUploadTask <C83F950F-3D8F-4967-8D38-31D1C5D07CAD>.<1> (nil) 2024-07-04 18:53:27.550 [Error] [webhookmanager-data] [WebhookManager.swift:540] responseInfo(from:) > no persisted info for LocalUploadTask <C83F950F-3D8F-4967-8D38-31D1C5D07CAD>.<1> (nil) 2024-07-04 18:53:27.551 [Error] [webhookmanager-data] [WebhookManager.swift:540] responseInfo(from:) > no persisted info for LocalUploadTask <C83F950F-3D8F-4967-8D38-31D1C5D07CAD>.<1> (nil) 2024-07-04 18:53:27.551 [Error] [webhookmanager-data] [WebhookManager.swift:540] responseInfo(from:) > no persisted info for LocalUploadTask <C83F950F-3D8F-4967-8D38-31D1C5D07CAD>.<1> (nil) 2024-07-04 18:53:27.551 [Error] [webhookmanager-data] [WebhookManager.swift:540] responseInfo(from:) > no persisted info for LocalUploadTask <C83F950F-3D8F-4967-8D38-31D1C5D07CAD>.<1> (nil) 2024-07-04 18:53:27.551 [Error] [webhookmanager-data] [WebhookManager.swift:540] responseInfo(from:) > no persisted info for LocalUploadTask <C83F950F-3D8F-4967-8D38-31D1C5D07CAD>.<1> (nil) 2024-07-04 18:53:27.552 [Error] [webhookmanager-data] [WebhookManager.swift:540] responseInfo(from:) > no persisted info for LocalUploadTask <C83F950F-3D8F-4967-8D38-31D1C5D07CAD>.<1> (nil) 2024-07-04 18:53:27.601 [Error] [webhookmanager-data] [WebhookManager.swift:540] responseInfo(from:) > no persisted info for LocalUploadTask <C83F950F-3D8F-4967-8D38-31D1C5D07CAD>.<1> (nil) 2024-07-04 18:53:27.758 [Info] [main] [ClientEventStore.swift:8] ClientEventStore > networkRequest: Webhook failed with status code 404 [:] 2024-07-04 18:53:27.763 [Error] [main] [WebhookManager.swift:265] sendEphemeral(server:request:) > got failure from 6c436ef720df4d1c849fcaf22c0919fa for get_config: unacceptableStatusCode(404) 2024-07-04 18:53:27.763 [Info] [main] [OnboardingAuth.swift:70] perform(checkPoint:checks:) > OnboardingAuthStepConfig: rejected(Shared.WebhookError.unacceptableStatusCode(404)) 2024-07-04 18:53:27.763 [Info] [main] [OnboardingAuth.swift:183] undoConfigure(api:) > 2024-07-04 18:53:27.827 [Error] [main] [HAAPI+RequestHelpers.swift:15] handleResponse(response:seal:callingFunctionName:) > Error on GetMobileAppConfig() request: responseValidationFailed(reason: Alamofire.AFError.ResponseValidationFailureReason.unacceptableStatusCode(code: 404)) 2024-07-04 18:53:27.828 [Info] [main] [HAAPI.swift:420] GetMobileAppConfig() > ios component is not loaded; pretending there's no push config 2024-07-04 18:53:27.832 [Verbose] [com.apple.root.user-initiated-qos] [ModelManager.swift:316] store(type:from:sourceModels:) > updating NotificationCategory server(6c436ef720df4d1c849fcaf22c0919fa) from(0) eligible(0) deleted(0) ignored(0) new(0) 2024-07-04 18:53:27.846 [Verbose] [com.apple.root.user-initiated-qos] [ModelManager.swift:316] store(type:from:sourceModels:) > updating Action server(6c436ef720df4d1c849fcaf22c0919fa) from(0) eligible(0) deleted(0) ignored(0) new(0) 2024-07-04 18:53:27.850 [Info] [main] [OnboardingAuth.swift:70] perform(checkPoint:checks:) > OnboardingAuthStepModels: fulfilled() 2024-07-04 18:53:28.159 [Info] [main] [ClientEventStore.swift:8] ClientEventStore > networkRequest: Webhook failed with status code 404 [:] 2024-07-04 18:53:28.168 [Error] [main] [WebhookManager.swift:633] urlSession(_:task:didCompleteWithError:) > failed request to 6c436ef720df4d1c849fcaf22c0919fa for WebhookResponseUnhandled: unacceptableStatusCode(404) 2024-07-04 18:53:28.169 [Info] [main] [HAAPI.swift:771] registerSensors() > finished registering sensors: rejected(Shared.WebhookError.unacceptableStatusCode(404)) 2024-07-04 18:53:28.169 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: unacceptableStatusCode(404) 2024-07-04 18:53:28.169 [Info] [main] [OnboardingAuth.swift:70] perform(checkPoint:checks:) > OnboardingAuthStepSensors: rejected(Shared.WebhookError.unacceptableStatusCode(404)) 2024-07-04 18:53:28.169 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: unacceptableStatusCode(404) 2024-07-04 18:53:28.175 [Info] [main] [Environment.swift:71] init() > WebSocket: disconnecting; permanently: true, error: nil 2024-07-04 18:53:28.175 [Info] [main] [Environment.swift:71] init() > WebSocket: phase transition to disconnected(error: nil, forReset: true) 2024-07-04 18:53:28.179 [Warning] [main] [WatchHelpers.swift:46] SyncWatchContext() > Tried to sync HAAPI config to watch but watch not paired or app not installed 2024-07-04 18:53:28.180 [Info] [main] [NotificationManagerLocalPushInterfaceExtension.swift:78] updateManagers() > 2024-07-04 18:53:28.182 [Verbose] [main] [NotificationManagerLocalPushInterfaceExtension.swift:141] configure(managers:) > computed managers: [:] 2024-07-04 18:53:28.206 [Info] [com.apple.root.user-initiated-qos] [RealmScene.swift:71] willDelete(objects:server:realm:) > deleting actions [] 2024-07-04 18:53:28.239 [Info] [main] [ClientEventStore.swift:8] ClientEventStore > networkRequest: Webhook failed with status code 404 [:] 2024-07-04 18:53:28.242 [Info] [main] [ClientEventStore.swift:8] ClientEventStore > networkRequest: Webhook failed with status code 404 [:] 2024-07-04 18:53:28.244 [Info] [main] [ClientEventStore.swift:8] ClientEventStore > networkRequest: Webhook failed with status code 404 [:] 2024-07-04 18:53:28.247 [Info] [main] [ClientEventStore.swift:8] ClientEventStore > networkRequest: Webhook failed with status code 404 [:] 2024-07-04 18:53:28.248 [Info] [main] [ClientEventStore.swift:8] ClientEventStore > networkRequest: Webhook failed with status code 404 [:] 2024-07-04 18:53:28.249 [Info] [main] [ClientEventStore.swift:8] ClientEventStore > networkRequest: Webhook failed with status code 404 [:] 2024-07-04 18:53:28.251 [Error] [main] [WebhookManager.swift:633] urlSession(_:task:didCompleteWithError:) > failed request to 6c436ef720df4d1c849fcaf22c0919fa for WebhookResponseUnhandled: unacceptableStatusCode(404) 2024-07-04 18:53:28.251 [Info] [main] [ClientEventStore.swift:8] ClientEventStore > networkRequest: Webhook failed with status code 404 [:] 2024-07-04 18:53:28.252 [Error] [main] [WebhookManager.swift:633] urlSession(_:task:didCompleteWithError:) > failed request to 6c436ef720df4d1c849fcaf22c0919fa for WebhookResponseUnhandled: unacceptableStatusCode(404) 2024-07-04 18:53:28.252 [Error] [main] [WebhookManager.swift:633] urlSession(_:task:didCompleteWithError:) > failed request to 6c436ef720df4d1c849fcaf22c0919fa for WebhookResponseUnhandled: unacceptableStatusCode(404) 2024-07-04 18:53:28.252 [Error] [main] [WebhookManager.swift:633] urlSession(_:task:didCompleteWithError:) > failed request to 6c436ef720df4d1c849fcaf22c0919fa for WebhookResponseUnhandled: unacceptableStatusCode(404) 2024-07-04 18:53:28.252 [Error] [main] [WebhookManager.swift:633] urlSession(_:task:didCompleteWithError:) > failed request to 6c436ef720df4d1c849fcaf22c0919fa for WebhookResponseUnhandled: unacceptableStatusCode(404) 2024-07-04 18:53:28.252 [Error] [main] [WebhookManager.swift:633] urlSession(_:task:didCompleteWithError:) > failed request to 6c436ef720df4d1c849fcaf22c0919fa for WebhookResponseUnhandled: unacceptableStatusCode(404) 2024-07-04 18:53:28.252 [Error] [main] [WebhookManager.swift:633] urlSession(_:task:didCompleteWithError:) > failed request to 6c436ef720df4d1c849fcaf22c0919fa for WebhookResponseUnhandled: unacceptableStatusCode(404) 2024-07-04 18:53:28.253 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: unacceptableStatusCode(404) 2024-07-04 18:53:28.253 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: unacceptableStatusCode(404) 2024-07-04 18:53:28.253 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: unacceptableStatusCode(404) 2024-07-04 18:53:28.253 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: unacceptableStatusCode(404) 2024-07-04 18:53:28.253 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: unacceptableStatusCode(404) 2024-07-04 18:53:28.253 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: unacceptableStatusCode(404) 2024-07-04 18:53:28.253 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: unacceptableStatusCode(404) 2024-07-04 18:53:28.253 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: unacceptableStatusCode(404) 2024-07-04 18:53:28.253 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: unacceptableStatusCode(404) 2024-07-04 18:53:28.253 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: unacceptableStatusCode(404) 2024-07-04 18:53:28.253 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: unacceptableStatusCode(404) 2024-07-04 18:53:28.253 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: unacceptableStatusCode(404) 2024-07-04 18:53:28.253 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: unacceptableStatusCode(404) 2024-07-04 18:53:28.253 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: unacceptableStatusCode(404) 2024-07-04 18:53:28.268 [Info] [main] [ClientEventStore.swift:8] ClientEventStore > networkRequest: Webhook failed with status code 404 [:] 2024-07-04 18:53:28.270 [Error] [main] [WebhookManager.swift:633] urlSession(_:task:didCompleteWithError:) > failed request to 6c436ef720df4d1c849fcaf22c0919fa for WebhookResponseUnhandled: unacceptableStatusCode(404) 2024-07-04 18:53:28.270 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: unacceptableStatusCode(404) 2024-07-04 18:53:28.270 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: unacceptableStatusCode(404) 2024-07-04 18:53:28.743 [Info] [main] [Bonjour.swift:34] stop() > 2024-07-04 18:53:29.142 [Info] [main] [ClientEventStore.swift:8] ClientEventStore > networkRequest: Webhook failed with status code 404 [:] 2024-07-04 18:53:29.148 [Error] [main] [WebhookManager.swift:633] urlSession(_:task:didCompleteWithError:) > failed request to 6c436ef720df4d1c849fcaf22c0919fa for WebhookResponseUnhandled: unacceptableStatusCode(404) 2024-07-04 18:53:29.149 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: unacceptableStatusCode(404) 2024-07-04 18:53:29.149 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: unacceptableStatusCode(404)

bgoncal commented 5 months ago

Check in HA for the mobile app integration, remove any device that you dont recognize or that could be your wife's phone. Delete the app, reboot and install it again.

scottresnik commented 2 days ago

I'm having the same error, although mine is on an iPad with iOS 18.1.1. I've had this same issue even when the iPad had iOS 17.x.

I cleared out all my unknown devices, restarted HA, uninstalled the companion app, restarted the iPad, and the problem still persists.

I don't really see anything related to this error in the HA server logs. Is there any other diagnostic information I can offer to help track this down?

bgoncal commented 7 hours ago

@scottresnik export your logs and send to me https://forms.gle/Uoqz127Phx4mMTpS6