Icloud Error Message

Hello,

I’m getting an error message from my iCloud account after entering the 2FA code in the log file, see here:

2025-09-21 13:14:10.614 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
org.openhab.binding.icloud.internal.RetryException: Retry finally failed.
at org.openhab.binding.icloud.internal.handler.ICloudAccountBridgeHandler.callApiWithRetryAndExceptionHandling(ICloudAccountandler.java:213) ~[?:?]
at org.openhab.binding.icloud.internal.handler.ICloudAccountBridgeHandler.lambda$0(ICloudAccountBridgeHandler.java:116) ~[?:
at org.openhab.core.cache.ExpiringCache.refreshValue(ExpiringCache.java:103) ~[?:?]
at org.openhab.core.cache.ExpiringCache.getValue(ExpiringCache.java:73) ~[?:?]
at org.openhab.binding.icloud.internal.handler.ICloudAccountBridgeHandler.refreshData(ICloudAccountBridgeHandler.java:386) ~
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) ~[?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:358) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: org.openhab.binding.icloud.internal.ICloudApiResponseException: Request https://p168-fmipweb.icloud.com:443/fmipservice/ceb/refreshClient failed with 450.
at org.openhab.binding.icloud.internal.ICloudSession.request(ICloudSession.java:148) ~[?:?]
at org.openhab.binding.icloud.internal.ICloudSession.post(ICloudSession.java:98) ~[?:?]
at org.openhab.binding.icloud.internal.FindMyIPhoneServiceManager.refreshClient(FindMyIPhoneServiceManager.java:64) ~[?:?]
at org.openhab.binding.icloud.internal.handler.ICloudAccountBridgeHandler.lambda$1(ICloudAccountBridgeHandler.java:121) ~[?:
at org.openhab.binding.icloud.internal.handler.ICloudAccountBridgeHandler.callApiWithRetryAndExceptionHandling(ICloudAccountandler.java:182) ~[?:?]
… 10 more

This is a freshly installed OH 5.0.1 on Debian 12.12. It’s running as a VM.

I’ve been having the same problem for a few days on my OH, which actively controls the house.

The iCloud account appears online itself, but a device search doesn’t yield any results.

Does anyone have any idea what the cause is?

1 Like

I am having similar issues on a couple of OH systems. I believe Apple made some changes to iCloud and dropped iCloud support for a number of legacy devices. I suspect the code that OH uses, and py iCloud as well, needs to be updated.

I logged in to iCloud from the browser, accepted terms and conditions, and restarted the binding. It works now

1 Like

Aha, I’ll make sure to try this :slight_smile:

I looked over this topic when I created a duplicate: iCloud binding error. But I’ve got the additional problem that I don’t know how to get the “Device ID” of devices…

Does anyone have some insight there? How does such an ID look like?

I think it should be visible in the inbox after you successfully configure iCloud account thing. I did it long time ago, but the docs say it should be available somewhere in openhab interface:

Thank you very much for the tip. It’s working again for me now, too! :slight_smile:

A bit strange, I think Apple also made some changes and then reversed them. Probably only Apple knows the truth…

This worked for me as well! I guess it’s useful to have this in the documentation as well, so:

https://github.com/openhab/openhab-addons/pull/19395

Thanks Erik! I logged into iCloud, accepted the new terms and conditions and now all devices are online.

1 Like