iCloud Binding Communication Error

It seems there was a connection problem because it timed out.
I don’t think this depends on the binding but maybe a network problem?

br

It seemed to retry by itself a few mins later and then it’s now online again. I will keep an eye on it for a bit. Thanks for the fix - seems like it’s working now.

Same for me, fix not work with 3.1.0.M3

 2021-05-17 21:14:00.465 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/openhab/addons/org.openhab.binding.icloud-3.1.0-SNAPSHOT.jar
 org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.icloud [208]
 Unresolved requirement: Import-Package: org.osgi.framework; version=[1.9.0,2.0.0)

at org.eclipse.osgi.container.Module.start(Module.java:444) ~[org.eclipse.osgi-3.12.100.jar:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[org.eclipse.osgi-3.12.100.jar:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.4]

2021-05-17 21:14:10.102 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/openhab/addons/org.openhab.binding.icloud-3.1.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.icloud [208]
 Unresolved requirement: Import-Package: org.osgi.framework; version=[1.9.0,2.0.0)

at org.eclipse.osgi.container.Module.start(Module.java:444) ~[org.eclipse.osgi-3.12.100.jar:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[org.eclipse.osgi-3.12.100.jar:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1221) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:515) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.4]"

Hi,

for me, this is the exception which appears if 3.1.x is used on an openHAB 3.0.x
So i think they changed something in 3.1.0 M4 compared to 3.1.0 M3.
You should be fine using the 3.0.x jar file.

I will change this in the description of my post for the fix.

br,

Trinitus01

Great, works for me with 3.0.x jar on 3.1.0.M3

Thanks for the quick fix. 3.0.3 jar works on 3.0.1-Release build.

(For others who like me are not sure of the steps, here is what I did:

  1. using the UI deleted the iCloud binding
  2. copied the downloaded .jar file to the addons folder (/usr/share/openhab/add-ons on my Pi set up with Openhabian)
  3. restarted Openhab (systemctl restart openhab).

This approach may be easier: iCloud Binding Communication Error - #91 by Alahdal

@Trinitus01
Thanks for the fixed version(s).
I’m on 3.1.0.M4 and the fixed binding is working without any issues (now 14 hours active).

Thanks a lot!
Works like a charm (3.0.2 stable) :slight_smile:
Awesome job!

@Trinitus01 Thanks for your effort Tom! Any chance to get the fix backported for 2.5.12? I know, I am behind time but due to Covid, my wife didn’t leave for vacation and so I didn’t had the chance to migrate to OH3 :slight_smile:

Another successful test here with M4.
Cheers

Thanks a lot! Working perfectly on 2.5.12!

:+1: Thanks a lot. Works for me, too. I’m on 3.0.1

Works fine on 3.0.2-1.
:+1:

Thanks for the fix…all working again

Oddly enough, mine still isn’t working. I’m running:
OH: 3.1.0-SNAPSHOT - Build #2392
iCloud Binding: 3.1.0.202105171128
I’m getting the same Communication Error. Keep in mind that mine stopped working a few weeks before the masses, and I have no idea why. I’m in the United States, which I doubt matters, but you never know. Any thoughts?

Jeez, turns out my account was locked. Now it’s working fine.

Thank you very much for the great fix! Do you know when the fix will be included in the snapshots?

3.1.0m4 and :ok_hand:t3:!!! :folded_hands:!!!

It works for me too; thanks a lot. I also use 3.1.0m4.