# iCloud Binding Communication Error

**URL:** <https://community.openhab.org/t/icloud-binding-communication-error/122131>\
**Category:** Bindings\
**Tags:** icloud, oh3\
**Created:** [May 9, 2021, 10:56pm UTC](https://community.openhab.org/t/icloud-binding-communication-error/122131 "2021-05-09T22:56:29Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![Trinitus01](https://community.openhab.org/user_avatar/community.openhab.org/trinitus01/32/55944_2.png) [@Trinitus01](https://community.openhab.org/u/Trinitus01)\
**Post date:** [May 19, 2021, 6:57pm UTC](https://community.openhab.org/t/icloud-binding-communication-error/122131/82 "2021-05-19T18:57:50Z")

</div>

M5 or RC1? They already merged the fix, so for sure in the “next” version.

br

---

<div class="post-metadata">

**Author:** ![vossivossi](https://community.openhab.org/user_avatar/community.openhab.org/vossivossi/32/33808_2.png) [@vossivossi](https://community.openhab.org/u/vossivossi)\
**Post date:** [May 19, 2021, 8:53pm UTC](https://community.openhab.org/t/icloud-binding-communication-error/122131/83 "2021-05-19T20:53:35Z")

</div>

> [@Trinitus01](#):
>
> M5 or RC1? They already merged the fix, so for sure in the “next” version.

ok, if it is already merged, then it should be inlcuded in tommorow’s snapshot I guess. Thank you for clarification!

---

<div class="post-metadata">

**Author:** ![e36Alex](https://community.openhab.org/letter_avatar_proxy/v4/letter/e/b77776/32.png) [@e36Alex](https://community.openhab.org/u/e36Alex)\
**Post date:** [May 20, 2021, 5:39pm UTC](https://community.openhab.org/t/icloud-binding-communication-error/122131/84 "2021-05-20T17:39:59Z")

</div>

Does someone know, when the fix will be avaible for latest stable version?

---

<div class="post-metadata">

**Author:** ![hmerk](https://community.openhab.org/user_avatar/community.openhab.org/hmerk/32/56432_2.png) [@hmerk](https://community.openhab.org/u/hmerk)\
**Post date:** [May 20, 2021, 5:44pm UTC](https://community.openhab.org/t/icloud-binding-communication-error/122131/85 "2021-05-20T17:44:28Z")

</div>

It is already there, you just have to deinstall the binding and put the jar into addons folder…

> [@iCloud Binding Communication Error](https://community.openhab.org/t/icloud-binding-communication-error/122131/52):
>
> Hi, i provided a version with a fix for the communication error. Please test the fix and give a feedback, thanks. [https://github.com/openhab/openhab-addons/pull/10710](https://github.com/openhab/openhab-addons/pull/10710) “\<= 3.1.0 M3” → (removed) “\>= 3.1.0 M4” → (removed) “\<= 2.5.?” → (removed) br, Trinitus01

---

<div class="post-metadata">

**Author:** ![e36Alex](https://community.openhab.org/letter_avatar_proxy/v4/letter/e/b77776/32.png) [@e36Alex](https://community.openhab.org/u/e36Alex)\
**Post date:** [May 20, 2021, 5:47pm UTC](https://community.openhab.org/t/icloud-binding-communication-error/122131/86 "2021-05-20T17:47:27Z")

</div>

Thank you! Usually i update openhab and the addons through the apt repo. Do i have do remove the.jar before the next update through apt?

---

<div class="post-metadata">

**Author:** ![hmerk](https://community.openhab.org/user_avatar/community.openhab.org/hmerk/32/56432_2.png) [@hmerk](https://community.openhab.org/u/hmerk)\
**Post date:** [May 20, 2021, 6:31pm UTC](https://community.openhab.org/t/icloud-binding-communication-error/122131/87 "2021-05-20T18:31:28Z")

</div>

The next stable release will be 3.1, probably end of June. Best would be to remove jar from addons folder before update and do regular install afterwards.

---

<div class="post-metadata">

**Author:** ![Meminc](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/ac8455/32.png) [@Meminc](https://community.openhab.org/u/Meminc)\
**Post date:** [May 20, 2021, 8:09pm UTC](https://community.openhab.org/t/icloud-binding-communication-error/122131/88 "2021-05-20T20:09:18Z")

</div>

Is it me, I cant download the jar files anymore?

---

<div class="post-metadata">

**Author:** ![Trinitus01](https://community.openhab.org/user_avatar/community.openhab.org/trinitus01/32/55944_2.png) [@Trinitus01](https://community.openhab.org/u/Trinitus01)\
**Post date:** [May 20, 2021, 9:07pm UTC](https://community.openhab.org/t/icloud-binding-communication-error/122131/89 "2021-05-20T21:07:25Z")

</div>

Still available, so you should be able to download.

br

---

<div class="post-metadata">

**Author:** ![Alahdal](https://community.openhab.org/user_avatar/community.openhab.org/alahdal/32/78040_2.png) [@Alahdal](https://community.openhab.org/u/Alahdal)\
**Post date:** [May 21, 2021, 8:48am UTC](https://community.openhab.org/t/icloud-binding-communication-error/122131/91 "2021-05-21T08:48:48Z")

</div>

I think the easy way to update without going through uninstall or losing data is to use the console.

Inside the console run the following command:

```php
bundle:list | grep iCloud

```

You will get the bundle id, in my case it is 217.

```php
217 │ Active │ 80 │ 3.0.2 │ openHAB Add-ons :: Bundles :: iCloud Binding

```

Then you run the following command to update the id with the appropriate jar.

```php
update 217 http://readme1st.de/tom/downloads/org.openhab.binding.icloud-3.0.3-SNAPSHOT.jar

```

---

<div class="post-metadata">

**Author:** ![Gordon\_Geist](https://community.openhab.org/user_avatar/community.openhab.org/gordon_geist/32/29439_2.png) [@Gordon\_Geist](https://community.openhab.org/u/Gordon_Geist)\
**Post date:** [May 23, 2021, 1:04pm UTC](https://community.openhab.org/t/icloud-binding-communication-error/122131/93 "2021-05-23T13:04:21Z")

</div>

U rock  
 ![image](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/3/c/3c807038a6f124b0a524762b819e7f5772bd731b.png)

---

<div class="post-metadata">

**Author:** ![Meminc](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/ac8455/32.png) [@Meminc](https://community.openhab.org/u/Meminc)\
**Post date:** [May 24, 2021, 10:04am UTC](https://community.openhab.org/t/icloud-binding-communication-error/122131/95 "2021-05-24T10:04:33Z")

</div>

Of course I meant “thanks for the great work! However, I am not able to download”

And, after some thoughts, I turned off my add blocker for a moment to be able to let this download through 😉 Thank, online again.

---

<div class="post-metadata">

**Author:** ![Xento](https://community.openhab.org/user_avatar/community.openhab.org/xento/32/18148_2.png) [@Xento](https://community.openhab.org/u/Xento)\
**Post date:** [May 27, 2021, 12:04pm UTC](https://community.openhab.org/t/icloud-binding-communication-error/122131/96 "2021-05-27T12:04:22Z")

</div>

> [@Alahdal](#):
>
> I think the easy way to update without going through uninstall or losing data is to use the console.
> 
> Inside the console run the following command:
> 
> ```auto
> bundle:list | grep iCloud
> 
> ```
> 
> You will get the bundle id, in my case it is 217.
> 
> ```auto
> 217 │ Active │ 80 │ 3.0.2 │ openHAB Add-ons :: Bundles :: iCloud Binding
> 
> ```
> 
> Then you run the following command to update the id with the appropriate jar.
> 
> `update 217 http://readme1st.de/tom/downloads/org.openhab.binding.icloud-3.0.3-SNAPSHOT`

I used this command to update the binding, but it still doesn’t connects.

```yaml
bundle:list | grep -i cloud
233 x Active x 80 x 3.0.3.202105171114 x openHAB Add-ons :: Bundles :: iCloud Binding
266 x Active x 80 x 3.0.2 x openHAB Add-ons :: Bundles :: IO :: openHAB Cloud Connector

```

I still get this error:

```yaml
14:00:48.417 [WARN] [al.handler.ICloudAccountBridgeHandler] - Unable to refresh device data
java.io.IOException: java.util.concurrent.ExecutionException: org.eclipse.jetty.client.HttpResponseException: HTTP protocol violation: Authentication challenge without WWW-Authenticate header

```

Did I miss something?

---

<div class="post-metadata">

**Author:** ![Alahdal](https://community.openhab.org/user_avatar/community.openhab.org/alahdal/32/78040_2.png) [@Alahdal](https://community.openhab.org/u/Alahdal)\
**Post date:** [May 27, 2021, 12:17pm UTC](https://community.openhab.org/t/icloud-binding-communication-error/122131/97 "2021-05-27T12:17:46Z")

</div>

What is your openHAB version?

---

<div class="post-metadata">

**Author:** ![Xento](https://community.openhab.org/user_avatar/community.openhab.org/xento/32/18148_2.png) [@Xento](https://community.openhab.org/u/Xento)\
**Post date:** [May 27, 2021, 12:28pm UTC](https://community.openhab.org/t/icloud-binding-communication-error/122131/98 "2021-05-27T12:28:47Z")

</div>

3.0.2 as you can see at the openhab cloud binding.

---

<div class="post-metadata">

**Author:** ![HarryS1](https://community.openhab.org/letter_avatar_proxy/v4/letter/h/c4cdca/32.png) [@HarryS1](https://community.openhab.org/u/HarryS1)\
**Post date:** [May 27, 2021, 12:35pm UTC](https://community.openhab.org/t/icloud-binding-communication-error/122131/99 "2021-05-27T12:35:54Z")

</div>

Thanks for maintaining a 2.5.x version! The SNAPSHOT fixed that problem for my 2.5.12 OH installation. Copied jar to add-ons and restarted iCloud bundle. All good.

---

<div class="post-metadata">

**Author:** ![Alahdal](https://community.openhab.org/user_avatar/community.openhab.org/alahdal/32/78040_2.png) [@Alahdal](https://community.openhab.org/u/Alahdal)\
**Post date:** [May 27, 2021, 5:50pm UTC](https://community.openhab.org/t/icloud-binding-communication-error/122131/100 "2021-05-27T17:50:03Z")

</div>

Sorry. Did you try to restart openHAB.

For me it works fine without issue. Maybe the binding developer/maintainer would help in this.

---

<div class="post-metadata">

**Author:** ![SteveBuckell](https://community.openhab.org/user_avatar/community.openhab.org/stevebuckell/32/37842_2.png) [@SteveBuckell](https://community.openhab.org/u/SteveBuckell)\
**Post date:** [May 28, 2021, 10:59am UTC](https://community.openhab.org/t/icloud-binding-communication-error/122131/101 "2021-05-28T10:59:52Z")

</div>

3.0.3 jar works perfectly (so far!) on 3.0.2 release build - Thanks very much.

---

<div class="post-metadata">

**Author:** ![chasemixon](https://community.openhab.org/letter_avatar_proxy/v4/letter/c/b3f665/32.png) [@chasemixon](https://community.openhab.org/u/chasemixon)\
**Post date:** [May 31, 2021, 1:20pm UTC](https://community.openhab.org/t/icloud-binding-communication-error/122131/102 "2021-05-31T13:20:28Z")

</div>

Feedback, things are now online, and it updated my location once, but it doesn’t update after that initial time. I have to remove my icloud account and add it back before it updates again? just updated to OpenHAB 3.0.2 and I used your link for 3.1.0 M3. maybe I did something wrong, I’m not the sharpest knife in the drawer when it comes to OpenHAB. if you need any logs or something please let me know how and where to do so.

---

<div class="post-metadata">

**Author:** ![hmerk](https://community.openhab.org/user_avatar/community.openhab.org/hmerk/32/56432_2.png) [@hmerk](https://community.openhab.org/u/hmerk)\
**Post date:** [May 31, 2021, 1:24pm UTC](https://community.openhab.org/t/icloud-binding-communication-error/122131/103 "2021-05-31T13:24:09Z")

</div>

Not my link, so cannot be of more help here.

---

<div class="post-metadata">

**Author:** ![chasemixon](https://community.openhab.org/letter_avatar_proxy/v4/letter/c/b3f665/32.png) [@chasemixon](https://community.openhab.org/u/chasemixon)\
**Post date:** [May 31, 2021, 3:08pm UTC](https://community.openhab.org/t/icloud-binding-communication-error/122131/104 "2021-05-31T15:08:37Z")

</div>

sorry…

[Previous page](https://community.openhab.org/t/icloud-binding-communication-error/122131.md?page=4)

[Next page](https://community.openhab.org/t/icloud-binding-communication-error/122131.md?page=6)
