HA on iPhone doesn’t start - breaks

Hello, I’ve made changes to external url (app settings) and now, when I start HA, it crashes. No error, just closes. Uninstalling doesn’t help, iPhone reinstall doesn’t help too. Have no idea how to solve this issue. Please help

Did you try resetting the app? Or does it crash before that? Deleting app and data should get you back in for on boarding again. Have you tried the latest beta?

App doesn’t start. It rises welcome screen and closes. I’ve tried beta also. I can’t find the way how to clean app completely.

So you tried deleting it? That should clear it. Maybe look for the app in settings

Did, does not help. Looks like some configuration files are still on the device and they are not deleted on uninstall. How can I remove them?

Any clues in the docs for companion? Otherwise maybe try discord as some of the devs help over there.

Take a look at video

Same issue here. I changed the URL (internal and external) to a wrong URL as it seems. Since then, I’m not able to open the app anymore (it shows the app and directly closes). Deleting the integration, deleting the app, restarting the app etc all doesn’t work. Is there another way to force it to delete the cache of the IOS app without being able to access it from the app?

The only way:

Install TestFlight;
Install latest test HA;
Correct url;
Uninstall test HA;
Install current version of HA.

Also this doesn’t work in my situation. There is no way for me to open the app and change the URL.

Grab the latest TestFlight app if you are experiencing a crash. If it doesn’t resolve it, please grab and attach here the crash log from the iOS settings app > Privacy > Analytics > Analytics Data > look for Home Assistant.

@zacwest thanks for your input and the help, really appreciate it.
I’ve added 1 log, hope you can hel me out here.

{"app_name":"Home Assistant","timestamp":"2021-02-22 16:11:16.00 +0100","app_version":"2021.2.2","slice_uuid":"868e3ef2-2ef7-39c9-9422-cc62e0efb298","adam_id":1099568401,"build_version":"2021.55","platform":2,"bundleID":"io.robbie.HomeAssistant","share_with_app_devs":0,"is_first_party":0,"bug_type":"109","os_version":"iPhone OS 14.1 (18A8395)","incident_id":"59D8ABF0-41A5-4CFE-A917-A11F3D0C6506","name":"Home Assistant"}
Incident Identifier: 59D8ABF0-41A5-4CFE-A917-A11F3D0C6506
CrashReporter Key:   4edff3936153151f128076ca4d6b5603eef65549
Hardware Model:      iPhone12,3
Process:             Home Assistant [86682]
Path:                /private/var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Home Assistant
Identifier:          io.robbie.HomeAssistant
Version:             2021.55 (2021.2.2)
AppStoreTools:       12D4d
AppVariant:          1:iPhone12,3:13
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           io.robbie.HomeAssistant [9198]


Date/Time:           2021-02-22 16:11:15.6134 +0100
Launch Time:         2021-02-22 16:11:15.1419 +0100
OS Version:          iPhone OS 14.1 (18A8395)
Release Type:        User
Baseband Version:    2.01.05
Report Version:      104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Triggered by Thread:  12

Application Specific Information:
abort() called

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0:
0   libsystem_kernel.dylib        	0x00000001c990075c 0x1c98d9000 + 161628
1   libsystem_pthread.dylib       	0x00000001e5691550 0x1e568c000 + 21840
2   libc++.1.dylib                	0x00000001b192ac8c 0x1b191e000 + 52364
3   Realm                         	0x0000000101698e80 0x10126c000 + 4378240
4   Realm                         	0x00000001016a4808 0x10126c000 + 4425736
5   Realm                         	0x00000001016f3754 0x10126c000 + 4749140
6   Realm                         	0x000000010130a4cc 0x10126c000 + 648396
7   RealmSwift                    	0x00000001019b9ecc 0x10197c000 + 253644
8   Home Assistant                	0x000000010098123c 0x1008d0000 + 725564
9   Home Assistant                	0x0000000100978038 0x1008d0000 + 688184
10  Home Assistant                	0x0000000100978248 0x1008d0000 + 688712
11  UIKitCore                     	0x00000001a00bd408 0x19f542000 + 12039176
12  UIKitCore                     	0x00000001a00bf4f4 0x19f542000 + 12047604
13  UIKitCore                     	0x00000001a00c4ea8 0x19f542000 + 12070568
14  UIKitCore                     	0x000000019f755710 0x19f542000 + 2176784
15  UIKitCore                     	0x00000001a00c0d20 0x19f542000 + 12053792
16  UIKitCore                     	0x00000001a00c1140 0x19f542000 + 12054848
17  UIKitCore                     	0x00000001a00c6840 0x19f542000 + 12077120
18  Home Assistant                	0x00000001008da4a4 0x1008d0000 + 42148
19  libdyld.dylib                 	0x000000019d3dbe40 0x19d3db000 + 3648

Thread 1:
0   libsystem_pthread.dylib       	0x00000001e5696774 0x1e568c000 + 42868

Thread 2:
0   libsystem_pthread.dylib       	0x00000001e5696774 0x1e568c000 + 42868

Thread 3 name:  Dispatch queue: sentry-dispatch
Thread 3:
0   libobjc.A.dylib               	0x00000001b1887a18 0x1b1882000 + 23064
1   libobjc.A.dylib               	0x00000001b1887238 0x1b1882000 + 21048
2   Sentry                        	0x0000000101a3551c 0x101a1c000 + 103708
3   Sentry                        	0x0000000101a35b94 0x101a1c000 + 105364
4   Sentry                        	0x0000000101a35b94 0x101a1c000 + 105364
5   Sentry                        	0x0000000101a353c0 0x101a1c000 + 103360
6   Sentry                        	0x0000000101a29da4 0x101a1c000 + 56740
7   Sentry                        	0x0000000101a32ed8 0x101a1c000 + 93912
8   Sentry                        	0x0000000101a4a6bc 0x101a1c000 + 190140
9   libdispatch.dylib             	0x000000019d39afd0 0x19d399000 + 8144
10  libdispatch.dylib             	0x000000019d39cac8 0x19d399000 + 15048
11  libdispatch.dylib             	0x000000019d3a3c08 0x19d399000 + 44040
12  libdispatch.dylib             	0x000000019d3a4734 0x19d399000 + 46900
13  libdispatch.dylib             	0x000000019d3ae528 0x19d399000 + 87336
14  libsystem_pthread.dylib       	0x00000001e568f908 0x1e568c000 + 14600
15  libsystem_pthread.dylib       	0x00000001e569677c 0x1e568c000 + 42876

Thread 4:
0   libsystem_pthread.dylib       	0x00000001e5696774 0x1e568c000 + 42868

Thread 5 name:  com.apple.uikit.eventfetch-thread
Thread 5:
0   libsystem_kernel.dylib        	0x00000001c98dcdd0 0x1c98d9000 + 15824
1   libsystem_kernel.dylib        	0x00000001c98dc184 0x1c98d9000 + 12676
2   CoreFoundation                	0x000000019d71acf8 0x19d67d000 + 646392
3   CoreFoundation                	0x000000019d714ea8 0x19d67d000 + 622248
4   CoreFoundation                	0x000000019d7144bc 0x19d67d000 + 619708
5   Foundation                    	0x000000019e995e30 0x19e98e000 + 32304
6   Foundation                    	0x000000019e995d08 0x19e98e000 + 32008
7   UIKitCore                     	0x00000001a0171a4c 0x19f542000 + 12778060
8   Foundation                    	0x000000019eb000f0 0x19e98e000 + 1515760
9   libsystem_pthread.dylib       	0x00000001e568dca8 0x1e568c000 + 7336
10  libsystem_pthread.dylib       	0x00000001e5696788 0x1e568c000 + 42888

Thread 6 name:  Dispatch queue: com.apple.root.utility-qos
Thread 6:
0   libsystem_kernel.dylib        	0x00000001c9900278 0x1c98d9000 + 160376
1   Realm                         	0x000000010155cd34 0x10126c000 + 3083572
2   Realm                         	0x00000001013ed878 0x10126c000 + 1579128
3   Realm                         	0x00000001013d3580 0x10126c000 + 1471872
4   Realm                         	0x00000001013d332c 0x10126c000 + 1471276
5   Realm                         	0x00000001013d38f4 0x10126c000 + 1472756
6   Realm                         	0x00000001016a2338 0x10126c000 + 4416312
7   Realm                         	0x00000001016f545c 0x10126c000 + 4756572
8   Realm                         	0x0000000101309f74 0x10126c000 + 647028
9   RealmSwift                    	0x00000001019b87f0 0x10197c000 + 247792
10  Shared                        	0x0000000101ca6cdc 0x101c54000 + 339164
11  Shared                        	0x0000000101cacabc 0x101c54000 + 363196
12  Shared                        	0x0000000101cedf84 0x101c54000 + 630660
13  Shared                        	0x0000000101cabd30 0x101c54000 + 359728
14  Shared                        	0x0000000101cacf4c 0x101c54000 + 364364
15  libswiftObjectiveC.dylib      	0x00000001c2106f54 0x1c2105000 + 8020
16  Shared                        	0x0000000101ca6a88 0x101c54000 + 338568
17  Shared                        	0x0000000101ca5d78 0x101c54000 + 335224
18  libdispatch.dylib             	0x000000019d39afd0 0x19d399000 + 8144
19  libdispatch.dylib             	0x000000019d39cac8 0x19d399000 + 15048
20  libdispatch.dylib             	0x000000019d3ad230 0x19d399000 + 82480
21  libdispatch.dylib             	0x000000019d3ad8e8 0x19d399000 + 84200
22  libsystem_pthread.dylib       	0x00000001e568f8cc 0x1e568c000 + 14540
23  libsystem_pthread.dylib       	0x00000001e569677c 0x1e568c000 + 42876

Thread 7:
0   libsystem_pthread.dylib       	0x00000001e5696774 0x1e568c000 + 42868

Thread 8:
0   libsystem_pthread.dylib       	0x00000001e5696774 0x1e568c000 + 42868

Thread 9:
0   libsystem_kernel.dylib        	0x00000001c9900d30 0x1c98d9000 + 163120
1   libsystem_c.dylib             	0x00000001a68d37bc 0x1a6860000 + 473020
2   libsystem_c.dylib             	0x00000001a68d35ac 0x1a6860000 + 472492
3   Sentry                        	0x0000000101a2c1b4 0x101a1c000 + 65972
4   libsystem_pthread.dylib       	0x00000001e568dca8 0x1e568c000 + 7336
5   libsystem_pthread.dylib       	0x00000001e5696788 0x1e568c000 + 42888

Thread 10 name:  SentryCrash Exception Handler (Secondary)
Thread 10:
0   libsystem_kernel.dylib        	0x00000001c98dcdd0 0x1c98d9000 + 15824
1   libsystem_kernel.dylib        	0x00000001c98dc184 0x1c98d9000 + 12676
2   libsystem_kernel.dylib        	0x00000001c98fa584 0x1c98d9000 + 136580
3   Sentry                        	0x0000000101a38c10 0x101a1c000 + 117776
4   libsystem_pthread.dylib       	0x00000001e568dca8 0x1e568c000 + 7336
5   libsystem_pthread.dylib       	0x00000001e5696788 0x1e568c000 + 42888

Thread 11 name:  SentryCrash Exception Handler (Primary)
Thread 11:
0   libsystem_kernel.dylib        	0x00000001c98dcdd0 0x1c98d9000 + 15824
1   libsystem_kernel.dylib        	0x00000001c98dc1fc 0x1c98d9000 + 12796
2   Sentry                        	0x0000000101a38c3c 0x101a1c000 + 117820
3   libsystem_pthread.dylib       	0x00000001e568dca8 0x1e568c000 + 7336
4   libsystem_pthread.dylib       	0x00000001e5696788 0x1e568c000 + 42888

Thread 12 name:  Realm notification listener
Thread 12 Crashed:
0   libsystem_kernel.dylib        	0x00000001c990098c 0x1c98d9000 + 162188
1   libsystem_pthread.dylib       	0x00000001e568ec74 0x1e568c000 + 11380
2   libsystem_c.dylib             	0x00000001a68d6bb4 0x1a6860000 + 486324
3   libc++abi.dylib               	0x00000001b198be24 0x1b197c000 + 65060
4   libc++abi.dylib               	0x00000001b197d41c 0x1b197c000 + 5148
5   libobjc.A.dylib               	0x00000001b188c720 0x1b1882000 + 42784
6   Sentry                        	0x0000000101a37f68 0x101a1c000 + 114536
7   libc++abi.dylib               	0x00000001b198b2a8 0x1b197c000 + 62120
8   libc++abi.dylib               	0x00000001b198e174 0x1b197c000 + 74100
9   Realm                         	0x000000010168c5d4 0x10126c000 + 4326868
10  libsystem_pthread.dylib       	0x00000001e568dca8 0x1e568c000 + 7336
11  libsystem_pthread.dylib       	0x00000001e5696788 0x1e568c000 + 42888

Thread 12 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000000000
    x4: 0x000000016fbba0d0   x5: 0x0000000000000001   x6: 0x0000000000000020   x7: 0x0000000000000b20
    x8: 0x00000000000005b9   x9: 0xd6b71e0b18638ebf  x10: 0x00000000000007fb  x11: 0x0000000000000004
   x12: 0x0000000000000001  x13: 0x000000008383affb  x14: 0x0000000083a3b000  x15: 0x0000000000000076
   x16: 0x0000000000000148  x17: 0x000000016fbbb000  x18: 0x0000000000000000  x19: 0x0000000000000006
   x20: 0x0000000000006b07  x21: 0x000000016fbbb0e0  x22: 0x000000016fbba630  x23: 0x000000016fbbab00
   x24: 0x000000016fbbab00  x25: 0x0000000000000000  x26: 0x0000000000000000  x27: 0x0000000000000000
   x28: 0x0000000000000000   fp: 0x000000016fbba5e0   lr: 0x00000001e568ec74
    sp: 0x000000016fbba5c0   pc: 0x00000001c990098c cpsr: 0x40000000
   esr: 0x56000080  Address size fault

Binary Images:
0x1008d0000 - 0x1009fbfff Home Assistant arm64  <868e3ef22ef739c99422cc62e0efb298> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Home Assistant
0x100b04000 - 0x100bf7fff Alamofire arm64  <186f342632da39af942fbf0d5401ed53> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/Alamofire.framework/Alamofire
0x100c44000 - 0x100c4ffff CPDAcknowledgements arm64  <c5074a19a51f3651a84daf3af1c807cd> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/CPDAcknowledgements.framework/CPDAcknowledgements
0x100c60000 - 0x100c67fff FirebaseCoreDiagnostics arm64  <ff144970a5a837a0bfffa92a607a54c9> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/FirebaseCoreDiagnostics.framework/FirebaseCoreDiagnostics
0x100c74000 - 0x100ce3fff dyld arm64e  <093daa5efce23b8f874bd71b24ddd40d> /usr/lib/dyld
0x100d64000 - 0x100d77fff CallbackURLKit arm64  <62ddbee7ae9f3c5f8ddb5311fed3de05> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/CallbackURLKit.framework/CallbackURLKit
0x100d88000 - 0x100d9bfff ColorPickerRow arm64  <311555de8f98322eb40093b9f0f91436> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/ColorPickerRow.framework/ColorPickerRow
0x100db4000 - 0x100dcbfff Communicator arm64  <23d37b8d318a364e8fdead259b807743> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/Communicator.framework/Communicator
0x100ddc000 - 0x100ea3fff Eureka arm64  <66498c399a5733c099d90ef5c82132f5> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/Eureka.framework/Eureka
0x100f14000 - 0x100f23fff FBLPromises arm64  <da85888adede367f82c4f76b8325faad> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/FBLPromises.framework/FBLPromises
0x100f30000 - 0x100f3ffff FirebaseCore arm64  <ae8cfc4b2830345f8895c5268c961860> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/FirebaseCore.framework/FirebaseCore
0x100f58000 - 0x100f6ffff FirebaseInstallations arm64  <b8e26177fee136979d2ea0b028e66e91> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/FirebaseInstallations.framework/FirebaseInstallations
0x100f88000 - 0x100fa7fff FirebaseInstanceID arm64  <69204b1169623f188a8b80135e754098> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/FirebaseInstanceID.framework/FirebaseInstanceID
0x100fc0000 - 0x100fdffff FirebaseMessaging arm64  <e46ff2c2bc583aff958c898ca4074325> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/FirebaseMessaging.framework/FirebaseMessaging
0x100ff8000 - 0x101013fff GoogleDataTransport arm64  <c8225c3626723a2ba20851930f13e113> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/GoogleDataTransport.framework/GoogleDataTransport
0x10102c000 - 0x101047fff GoogleUtilities arm64  <2e72138f66f73ad7b2dc8ac8aa54d026> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/GoogleUtilities.framework/GoogleUtilities
0x10105c000 - 0x101087fff KeychainAccess arm64  <42ce5bac64ec3d09bebaeb234f9db23a> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/KeychainAccess.framework/KeychainAccess
0x10109c000 - 0x101137fff Lottie arm64  <527441b0e4243dc3b180c4105f9e05cd> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/Lottie.framework/Lottie
0x101180000 - 0x10118ffff MBProgressHUD arm64  <c11a44bceb0e3723b33fd4df888d79fd> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/MBProgressHUD.framework/MBProgressHUD
0x10119c000 - 0x1011a3fff ObjcExceptionBridging arm64  <24663a9c8b4332668fe896d50c41d49f> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/ObjcExceptionBridging.framework/ObjcExceptionBridging
0x1011b0000 - 0x1011d7fff ObjectMapper arm64  <8544d6d9d224326ba73990d370f1e140> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/ObjectMapper.framework/ObjectMapper
0x1011ec000 - 0x10122ffff PromiseKit arm64  <0bf4d43e3f663cae9ee99a01f9a819ca> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/PromiseKit.framework/PromiseKit
0x101250000 - 0x10125bfff Reachability arm64  <6047dfc6f59f347b8927c6c4943eb74a> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/Reachability.framework/Reachability
0x10126c000 - 0x101847fff Realm arm64  <23314ce05dc13491afcbe8a7285e9c7a> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/Realm.framework/Realm
0x10197c000 - 0x1019e3fff RealmSwift arm64  <bce49f9a798930f6bcd1bc8c077dde53> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/RealmSwift.framework/RealmSwift
0x101a1c000 - 0x101a73fff Sentry arm64  <9f5343d6d254391b92ba08c9705f0bca> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/Sentry.framework/Sentry
0x101ab0000 - 0x101af3fff Sodium arm64  <4f97ba664157364ab2fe8c3d0196921e> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/Sodium.framework/Sodium
0x101b0c000 - 0x101b47fff SwiftMessages arm64  <e0ec6debfc7e308fa01ebf244ccb5dda> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/SwiftMessages.framework/SwiftMessages
0x101b6c000 - 0x101b73fff UIColor_Hex_Swift arm64  <bc571cb0c5cc3022836bccaa4b9f00c6> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/UIColor_Hex_Swift.framework/UIColor_Hex_Swift
0x101b80000 - 0x101b8ffff Version arm64  <80e01639f7aa3ee1976e443849988fcc> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/Version.framework/Version
0x101ba0000 - 0x101babfff ViewRow arm64  <1461d6f335633cefb38b6a2ca1556304> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/ViewRow.framework/ViewRow
0x101bb8000 - 0x101be7fff XCGLogger arm64  <61c62df05365343bb2d0be65c5e21493> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/XCGLogger.framework/XCGLogger
0x101c08000 - 0x101c2ffff ZIPFoundation arm64  <f3ef248ac7b73617b39bdd88e38e4cce> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/ZIPFoundation.framework/ZIPFoundation
0x101c40000 - 0x101c47fff nanopb arm64  <0fc566feb4b232fd8ddfc93f2913f3fc> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/nanopb.framework/nanopb
0x101c54000 - 0x101ef3fff Shared arm64  <b08b3ea9a1283133a96467681b2e0e13> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/Shared.framework/Shared
0x102004000 - 0x102017fff Lokalise arm64  <5541b0cae82239e182e6af1825287bf8> /var/containers/Bundle/Application/C80A3E3B-DD7D-4F01-960E-1A47E16375AE/Home Assistant.app/Frameworks/Lokalise.framework/Lokalise
0x10698c000 - 0x106997fff libobjc-trampolines.dylib arm64e  <311584f0aefa3b9680f8bda9456b03c4> /usr/lib/libobjc-trampolines.dylib
0x19d399000 - 0x19d3dafff libdispatch.dylib arm64e  <ff4366728aac30879699e502b3787ef2> /usr/lib/system/libdispatch.dylib
0x19d3db000 - 0x19d414fff libdyld.dylib arm64e  <9b2d02a4c9c03cafbbd2c1bcee117e8e> /usr/lib/system/libdyld.dylib
0x19d415000 - 0x19d67cfff libicucore.A.dylib arm64e  <6c6790bf921d3a808530b5e03e5647f2> /usr/lib/libicucore.A.dylib
0x19d67d000 - 0x19da30fff CoreFoundation arm64e  <52963dbafa8936c2826228b9776f8c12> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x19da31000 - 0x19dbd5fff CoreServices arm64e  <105b178f853937a8afed78a4019c167f> /System/Library/Frameworks/CoreServices.framework/CoreServices
0x19dbd6000 - 0x19dc1dfff WirelessDiagnostics arm64e  <9ad81682ddb7398486b79eca2118f90f> /System/Library/PrivateFrameworks/WirelessDiagnostics.framework/WirelessDiagnostics
0x19dc1e000 - 0x19dc97fff SystemConfiguration arm64e  <b3fe87d4779937e4ba528b3546fdd351> /System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
0x19dc98000 - 0x19dd8cfff CoreTelephony arm64e  <83c383d8757c38ff8fb97d21fe310a53> /System/Library/Frameworks/CoreTelephony.framework/CoreTelephony
0x19dd8d000 - 0x19e21afff CFNetwork arm64e  <89f0f3290648327eb82d22ab5bbb3298> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x19e21b000 - 0x19e917fff libnetwork.dylib arm64e  <a0eb78471e6a3dd390c4d1d123a5145e> /usr/lib/libnetwork.dylib
0x19e918000 - 0x19e98dfff Accounts arm64e  <5fb6ab7dd6a13856be9e7d3aaf3dd797> /System/Library/Frameworks/Accounts.framework/Accounts
0x19e98e000 - 0x19ec3cfff Foundation arm64e  <e39926acf2d931cd9585deba71b6dc97> /System/Library/Frameworks/Foundation.framework/Foundation
0x19ec3d000 - 0x19ef98fff ImageIO arm64e  <2e2f2cfc93e43de387533aabb095dada> /System/Library/Frameworks/ImageIO.framework/ImageIO
0x19efb2000 - 0x19f541fff CoreGraphics arm64e  <de5df9a9b7c3365384f4bc5e23799e46> /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
0x19f542000 - 0x1a0982fff UIKitCore arm64e  <432c7d5453153ec7a3bea48e873736a7> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x1a0983000 - 0x1a09a1fff libAccessibility.dylib arm64e  <3bf1d1ea6bd23225a74b867b7a435572> /usr/lib/libAccessibility.dylib
0x1a09a2000 - 0x1a0c20fff QuartzCore arm64e  <f95fdedf763b3dc387998915598136da> /System/Library/Frameworks/QuartzCore.framework/QuartzCore
0x1a0c21000 - 0x1a0c89fff BackBoardServices arm64e  <7113ed609bf3353bb93db7504bd9be06> /System/Library/PrivateFrameworks/BackBoardServices.framework/BackBoardServices
0x1a0c8a000 - 0x1a0d14fff TextInput arm64e  <2b7bc64436263814a6d7a864ae2f821f> /System/Library/PrivateFrameworks/TextInput.framework/TextInput
0x1a0d15000 - 0x1a0d7cfff libusrtcp.dylib arm64e  <8cd7b52510c236a38fd8fb2cce95b389> /usr/lib/libusrtcp.dylib
0x1a0d7d000 - 0x1a111ffff AppleMediaServices arm64e  <e52e3c9f54ff31f39621ff8e9837065d> /System/Library/PrivateFrameworks/AppleMediaServices.framework/AppleMediaServices
0x1a1120000 - 0x1a1299fff libswiftFoundation.dylib arm64e  <3fa556099c333edbbe555f90ba66d4df> /usr/lib/swift/libswiftFoundation.dylib
0x1a129a000 - 0x1a16c5fff libswiftCore.dylib arm64e  <6f9c0686532a3db0aee180a78645aed1> /usr/lib/swift/libswiftCore.dylib
0x1a16c6000 - 0x1a16dbfff UIKitServices arm64e  <b4648eca32db3bab87cc487251145941> /System/Library/PrivateFrameworks/UIKitServices.framework/UIKitServices
0x1a16dc000 - 0x1a182dfff Preferences arm64e  <d4829a7944cb3351992ef5de311e33fe> /System/Library/PrivateFrameworks/Preferences.framework/Preferences
0x1a182e000 - 0x1a1a4afff ContactsUI arm64e  <2fca970cca6a3a8c923fbf975547e6af> /System/Library/Frameworks/ContactsUI.framework/ContactsUI
0x1a1a4b000 - 0x1a1bfffff CoreText arm64e  <f9c631ccc65e3252bb5324d815e05dad> /System/Library/Frameworks/CoreText.framework/CoreText
0x1a1c00000 - 0x1a1c19fff ExtensionKit arm64e  <232873b6980537ccaf0fda79c7444ee7> /System/Library/PrivateFrameworks/ExtensionKit.framework/ExtensionKit
0x1a1c1a000 - 0x1a1c2efff ChronoServices arm64e  <89d2f26f48c233de80702913d88ed57f> /System/Library/PrivateFrameworks/ChronoServices.framework/ChronoServices
0x1a1c2f000 - 0x1a1cb0fff BaseBoard arm64e  <276803444f563589a600895ba8fae6d3> /System/Library/PrivateFrameworks/BaseBoard.framework/BaseBoard
0x1a1cb1000 - 0x1a1ed5fff CoreDuet arm64e  <e2625311eda630e2ad346e94a4054563> /System/Library/PrivateFrameworks/CoreDuet.framework/CoreDuet
0x1a1ed6000 - 0x1a202bfff Contacts arm64e  <c6ea7be613f03e1385a911408fca0d5c> /System/Library/Frameworks/Contacts.framework/Contacts
0x1a202c000 - 0x1a3504fff GeoServices arm64e  <db387babefa032a19eeb6c7db21cd672> /System/Library/PrivateFrameworks/GeoServices.framework/GeoServices
0x1a3505000 - 0x1a358cfff CoreLocation arm64e  <8a400179a93c36c29710f38250899d24> /System/Library/Frameworks/CoreLocation.framework/CoreLocation
0x1a358d000 - 0x1a3735fff CloudKit arm64e  <a88e6e8b5cb33a1dbbfee8d0130b49df> /System/Library/Frameworks/CloudKit.framework/CloudKit
0x1a3736000 - 0x1a3aa7fff CoreData arm64e  <3b96831960ce3e7eaa877fef535d7236> /System/Library/Frameworks/CoreData.framework/CoreData
0x1a3aa8000 - 0x1a3b39fff WidgetKit arm64e  <0b95188179783cddaaf66d610871eea8> /System/Library/Frameworks/WidgetKit.framework/WidgetKit
0x1a3b3a000 - 0x1a477efff SwiftUI arm64e  <4a4535d86edf31009906ba9a67c43414> /System/Library/Frameworks/SwiftUI.framework/SwiftUI
0x1a477f000 - 0x1a4789fff libswiftCoreGraphics.dylib arm64e  <72e276daf719390eb87ed0c948d2c415> /usr/lib/swift/libswiftCoreGraphics.dylib
0x1a478a000 - 0x1a47c9fff AppSupport arm64e  <58333054b1f93b9797639cc6dabda141> /System/Library/PrivateFrameworks/AppSupport.framework/AppSupport
0x1a47ca000 - 0x1a48edfff ManagedConfiguration arm64e  <d4e6f84f5fbb38868cc15eafbf359d67> /System/Library/PrivateFrameworks/ManagedConfiguration.framework/ManagedConfiguration
0x1a48ee000 - 0x1a495dfff IMFoundation arm64e  <c3ed7a6d0ab33199a987e3d853e47d7b> /System/Library/PrivateFrameworks/IMFoundation.framework/IMFoundation
0x1a495e000 - 0x1a4a6afff IDS arm64e  <413ed9fec40f3d67ab23b9c3723363ea> /System/Library/PrivateFrameworks/IDS.framework/IDS
0x1a4a6b000 - 0x1a4bb2fff Security arm64e  <0a4e383374753ac3b647c3a53dd1c18d> /System/Library/Frameworks/Security.framework/Security
0x1a4bb3000 - 0x1a4fb6fff MediaPlayer arm64e  <31a8cad0a42c349495b0ecb8038c44fd> /System/Library/Frameworks/MediaPlayer.framework/MediaPlayer
0x1a4fb7000 - 0x1a4fcffff AudioSession arm64e  <02b7e528c515343bae4fc128dd8abba1> /System/Library/PrivateFrameworks/AudioSession.framework/AudioSession

- deleted a part here, because of the restriction of amount of characters.

EOF


The crash you are experiencing in the logs above (one from February, one recently) are fixed in the TestFlight build linked above. If that doesn’t work, please report back with any crashes that happen on the 2021.7 beta.

You’re right, tested it with the TestFlight, still the same problem. Log:
Home Assistant-2021-06-24-231819.ips.beta
http://gofile.me/6CE3s/2fzLpqwfg
http://gofile.me/6CE3s/z8IvAXtzF

Thanks, that was helpful. Do you recall if you entered a port number that was very large? I’m trying to work backwards from the crash log (since I do not know the input URL) to see what needs to be sanitized for this crash.

For my own sanity for the future, this is part of the symbolicated backtrace:

0   Starscream                    	0x00000001019e58f0 Swift runtime failure: Not enough bits to represent the passed value + 0 (TCPTransport.swift:0)
1   Starscream                    	0x00000001019e58f0 init + 4 (TCPTransport.swift:80)
2   Starscream                    	0x00000001019e58f0 TCPTransport.connect(url:timeout:certificatePinning:) + 1080
3   Starscream                    	0x00000001019e5804 TCPTransport.connect(url:timeout:certificatePinning:) + 844 (TCPTransport.swift:80)
4   Starscream                    	0x00000001019eea7c WSEngine.start(request:) + 656 (WSEngine.swift:67)
5   Starscream                    	0x00000001019f03d0 protocol witness for Engine.start(request:) in conformance WSEngine + 20 (<compiler-generated>:0)
6   Starscream                    	0x00000001019e8170 WebSocket.connect() + 216 (WebSocket.swift:135)
7   HAKit                         	0x0000000100f4d148 HAConnectionImpl.connection.didset + 264 (HAConnectionImpl.swift:49)
<snip>

This should be fixed in the TestFlight beta I just pushed out (2021.196)

1 Like

Yes, the port number is too long, that went wrong

This is the solution!! It works again, thank you very much :grin: