Cannot share HomeKit home to other users from certain iCloud account [HomeKit, IDS]

Originator:matthias.hochgatterer
Number:rdar://19511020 Date Originated:2015-01-18
Status:Duplicate of 17904827 Resolved:
Product:iOS Product Version:
Classification: Reproducible:Always
 
Summary:
When I try to share a home with another user using `HMHome.addUserWithCompletionHandler()`, I get a successful response. But the home never appears on the other user's device when shared from the iCloud account "***".

Sharing does work from other iCloud accounts though - so it seems to be an iCloud issue with the above mentioned account.

I see the following error logs on the device which tries to share the home.

homed[96] <Warning>: Failed to send message with identifier 52727205-CBFB-4A6C-9573-C833CC28E4FF from account: IDSAccount: 0x14e24050 [Service: com.apple.private.alloy.willow  User: ***  ID: EE58EE47-57DC-48F7-8DD5-BE55505420E5  Type: Apple ID  Active: YES  Registration Status: Registered] with error: Error Domain=com.apple.identityservices.error Code=15 "Encryption failed" UserInfo=0x14e1e7a0

Steps to Reproduce:
1. Create a HomeKit home
2. Share the home with another user using `HMHome.addUserWithCompletionHandler()`
3. Accept the invitation on the other user's device
4. Check if the home appears on the other user's device

Expected Results:
The home appears on the other user's device.

Actual Results:
The home does not appear when it is shared from the iCloud account "***".

Version:
8.1.2 (12B440)

Notes:
I have already tried to logout/login from iCloud, change the iCloud security code, restore HomeKit configuration and restart the device with no luck.

The iCloud account "***" is a production account from my father. Please don't wipe or reset the account - he wouldn't be amused. ;)

Configuration:
iPhone 5

Comments

Duplicate of 17904827

By matthias.hochgatterer at March 10, 2015, 7:40 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!