iCloud binding stopped working

Im using the iCloud Binding on 2.2 Release. Up until yesterday the iPhone Location worked perfectly and today it just stopped updating. I havnt changed any settings related to the Binding or changed my iCloud details either. I have only played with a .rules file and there are no related errors. I have also tried logging into www.icloud.com/find in incognito mode usng the same details as in Openhab and im able to see updated positions for my devices (green dots) This is the output in DEBUG mode after restarting Openhab2:

2018-01-11 21:00:00.620 [hingStatusInfoChangedEvent] - 'icloud:account:********' changed from INITIALIZING to UNINITIALIZED
2018-01-11 21:00:00.627 [hingStatusInfoChangedEvent] - 'icloud:account:********' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
2018-01-11 21:00:01.162 [temChannelLinkRemovedEvent] - Link 'PatrycjasiPhone_BatteryStatus => icloud:device:********:********:batteryStatus' has been removed.
2018-01-11 21:00:01.162 [temChannelLinkRemovedEvent] - Link 'PatrycjasLocation => icloud:device:********:********:location' has been removed.
2018-01-11 21:00:01.168 [temChannelLinkRemovedEvent] - Link 'MaciejsiPhone_BatteryLevel => icloud:device:********:********:batteryLevel' has been removed.
2018-01-11 21:00:01.168 [temChannelLinkRemovedEvent] - Link 'PatrycjasiPhone_BatteryLevel => icloud:device:********:********:batteryLevel' has been removed.
2018-01-11 21:00:01.175 [temChannelLinkRemovedEvent] - Link 'MaciejsiPhone_BatteryStatus => icloud:device:********:********:batteryStatus' has been removed.
2018-01-11 21:00:01.175 [temChannelLinkRemovedEvent] - Link 'PatrycjasiPhone_LocationAccuracy => icloud:device:********:********:locationAccuracy' has been removed.
2018-01-11 21:00:01.175 [temChannelLinkRemovedEvent] - Link 'PatrycjasiPhone_LocationLastUpdate => icloud:device:********:********:locationLastUpdate' has been removed.
2018-01-11 21:00:01.175 [temChannelLinkRemovedEvent] - Link 'MaciejsLocation => icloud:device:********:********:location' has been removed.
2018-01-11 21:00:01.176 [temChannelLinkRemovedEvent] - Link 'MaciejsiPhone_LocationLastUpdate => icloud:device:********:********:locationLastUpdate' has been removed.
2018-01-11 21:00:01.176 [temChannelLinkRemovedEvent] - Link 'MaciejsiPhone_LocationAccuracy => icloud:device:********:********:locationAccuracy' has been removed.
2018-01-11 21:00:01.176 [temChannelLinkRemovedEvent] - Link 'MaciejsiPhone_FindMyPhone => icloud:device:********:********:findMyPhone' has been removed.
2018-01-11 21:00:01.176 [temChannelLinkRemovedEvent] - Link 'PatrycjasiPhone_FindMyPhone => icloud:device:********:********:findMyPhone' has been removed.
2018-01-11 21:00:13.541 [.ItemChannelLinkAddedEvent] - Link 'PatrycjasiPhone_BatteryStatus-icloud:device:********:********:batteryStatus' has been added.
2018-01-11 21:00:13.542 [.ItemChannelLinkAddedEvent] - Link 'PatrycjasLocation-icloud:device:********:********:location' has been added.
2018-01-11 21:00:13.542 [.ItemChannelLinkAddedEvent] - Link 'MaciejsiPhone_BatteryLevel-icloud:device:********:********:batteryLevel' has been added.
2018-01-11 21:00:13.543 [.ItemChannelLinkAddedEvent] - Link 'PatrycjasiPhone_BatteryLevel-icloud:device:********:********:batteryLevel' has been added.
2018-01-11 21:00:13.544 [.ItemChannelLinkAddedEvent] - Link 'MaciejsiPhone_BatteryStatus-icloud:device:********:********:batteryStatus' has been added.
2018-01-11 21:00:13.545 [.ItemChannelLinkAddedEvent] - Link 'PatrycjasiPhone_LocationAccuracy-icloud:device:********:********:locationAccuracy' has been added.
2018-01-11 21:00:13.546 [.ItemChannelLinkAddedEvent] - Link 'PatrycjasiPhone_LocationLastUpdate-icloud:device:********:********:locationLastUpdate' has been added.
2018-01-11 21:00:13.549 [.ItemChannelLinkAddedEvent] - Link 'MaciejsLocation-icloud:device:********:********:location' has been added.
2018-01-11 21:00:13.551 [.ItemChannelLinkAddedEvent] - Link 'MaciejsiPhone_LocationLastUpdate-icloud:device:********:********:locationLastUpdate' has been added.
2018-01-11 21:00:13.552 [.ItemChannelLinkAddedEvent] - Link 'MaciejsiPhone_LocationAccuracy-icloud:device:********:********:locationAccuracy' has been added.
2018-01-11 21:00:13.554 [.ItemChannelLinkAddedEvent] - Link 'MaciejsiPhone_FindMyPhone-icloud:device:********:********:findMyPhone' has been added.
2018-01-11 21:00:13.555 [.ItemChannelLinkAddedEvent] - Link 'PatrycjasiPhone_FindMyPhone-icloud:device:********:********:findMyPhone' has been added.
2018-01-11 21:00:13.701 [hingStatusInfoChangedEvent] - 'icloud:device:********:********' changed from UNINITIALIZED to UNINITIALIZED (BRIDGE_UNINITIALIZED)
2018-01-11 21:00:13.798 [hingStatusInfoChangedEvent] - 'icloud:device:********:********' changed from UNINITIALIZED to UNINITIALIZED (BRIDGE_UNINITIALIZED)
2018-01-11 21:00:14.055 [hingStatusInfoChangedEvent] - 'icloud:device:********:********' changed from UNINITIALIZED to UNINITIALIZED (BRIDGE_UNINITIALIZED)
2018-01-11 21:00:14.066 [hingStatusInfoChangedEvent] - 'icloud:account:********' changed from UNINITIALIZED to INITIALIZING

REST interface says for the iCloud Binding Thing:

"statusInfo": {
  "status": "INITIALIZING",
  "statusDetail": "NONE"
},

I’m having the same problem.BatteryStatus and BatteryLevel are updating, but location is not.
The version of the icloud binding is 2.3.0.201801092213

Hi, same here.
After restart (bundle:restart ) it works for approx. one or two days. Then it´s not updating anything. DEBUG log shows nothing.

Funny, I had it fail for the first time around 5pm yesterday, after running smoothly for weeks. Restarted the binding today and it’s working fine for now.

Hi all,

if the binding keeps failing, please set loglevel to DEBUG for the binding and provide me the logs; I´ll then have a look what might be the issue. I´ve a PR pending for merge with a few improvements in http communication and date/time parsing … but I´m not sure if the issues you see are related without the DEBUG, or even TRACE .logs.

with kind regards,
Patrik

Hi, how do i change the log level for the binding? I have only changed the
openhab log level.

Hi,

thats quit simple. You can use the Karaf console and enter this command

log:set DEBUG org.openhab.binding.icloud

Hi,

I have exactly the same problem. Binding works for a couple of days, and then data stops refreshing - funnily enough Find My iPhone still triggers ok from the binding. All starts working again after an OpenHAB restart.

I have enabled debugging during the down period and also after an OpenHAB restart - output is below:

During the down period:

2018-01-19 08:01:39.197 [DEBUG] [d.handler.ICloudAccountBridgeHandler] - iCloud bridge refreshing data ...
2018-01-19 08:01:40.089 [DEBUG] [d.handler.ICloudAccountBridgeHandler] - iCloud bridge refreshing data ...
2018-01-19 08:01:40.541 [DEBUG] [d.internal.discovery.DeviceDiscovery] - iCloud device discovery for [iPhone 7]
2018-01-19 08:01:40.542 [DEBUG] [d.internal.discovery.DeviceDiscovery] - Device [2f43dde8, ZYnpFD3Y+VxX1rEi1thYsdzhd0+hrgNt2LiGq71Jyt5vVnc0SlgwgeHYVNSUzmWV] found.
2018-01-19 08:01:40.543 [DEBUG] [d.internal.discovery.DeviceDiscovery] - iCloud device discovery for [iPad mini 4]
2018-01-19 08:01:40.544 [DEBUG] [d.internal.discovery.DeviceDiscovery] - Device [65658912, 6XHExlquTHUskmQqO71K+zEO2x8k6uGOFoGDalV2TbjqJQzwwFQuU+HYVNSUzmWV] found.
2018-01-19 08:01:40.546 [DEBUG] [d.internal.discovery.DeviceDiscovery] - iCloud device discovery for [iPhone 7]
2018-01-19 08:01:40.547 [DEBUG] [d.internal.discovery.DeviceDiscovery] - Device [a8d525aa, oGcIXKHGussn4MYkbxJa/Z3Neu029yg+2wN0w4hjFc3CxRD+KzdgC1wnWb/OBuFAlo3AWEFSgxndY6Nb4ELBSmDcuxGoj9/LKt5xneTINYBcF3vkWr7QjdvHlvWbtYGt] found.
2018-01-19 08:01:40.553 [DEBUG] [d.internal.discovery.DeviceDiscovery] - iCloud device discovery for [iPad mini 3]
2018-01-19 08:01:40.554 [DEBUG] [d.internal.discovery.DeviceDiscovery] - Device [3f0f6f73, rcQxmq1XJDldsdpLiaVNpua7A6Gi8FOjkXh8d0GI6Otm2cZ2KCrFDeMPVG0WPniD+KJdqznAKdjdY6Nb4ELBSmDcuxGoj9/LKt5xneTINYBcF3vkWr7QjdvHlvWbtYGt] found.
2018-01-19 08:01:40.696 [DEBUG] [d.internal.discovery.DeviceDiscovery] - iCloud device discovery for [Apple Watch]
2018-01-19 08:01:40.697 [DEBUG] [d.internal.discovery.DeviceDiscovery] - Device [11730292, dX/hV3uAU3Nc8znsQDggQ0ltPYsSCJITydkO4kW7oDew3RyAwY4WwWHYTsAMKTF9J6a3wsY2ShfdY6Nb4ELBSmDcuxGoj9/LKt5xneTINYBcF3vkWr7QjdvHlvWbtYGt] found.
2018-01-19 08:01:40.699 [DEBUG] [d.handler.ICloudAccountBridgeHandler] - iCloud bridge data refresh complete.
2018-01-19 08:01:41.458 [DEBUG] [d.internal.discovery.DeviceDiscovery] - iCloud device discovery for [iPad mini 3]
2018-01-19 08:01:41.459 [DEBUG] [d.internal.discovery.DeviceDiscovery] - Device [f5e09b9a, nfjtxSwJIzItLz2c5qaC3tJ2mJw1Qn0Pqeiwg3w+NxDvchImgs59OOHYVNSUzmWV] found.
2018-01-19 08:01:41.460 [DEBUG] [d.internal.discovery.DeviceDiscovery] - iCloud device discovery for [Apple Watch]
2018-01-19 08:01:41.460 [DEBUG] [d.internal.discovery.DeviceDiscovery] - Device [f3f49a06, cbOihqeVXkvx9NaE98V0eGOk82w1jBgyYAwmjMRcE9zCZ9eMdv70SeHYVNSUzmWV] found.
2018-01-19 08:01:41.461 [DEBUG] [d.internal.discovery.DeviceDiscovery] - iCloud device discovery for [iPhone 7]
2018-01-19 08:01:41.462 [DEBUG] [d.internal.discovery.DeviceDiscovery] - Device [56df75b4, bBYR70IVgAFaJjdVVNcKMtvuEheUvtaqULMDa7N8YR/2Oi0JozCHo+HYVNSUzmWV] found.
2018-01-19 08:01:41.464 [DEBUG] [d.internal.discovery.DeviceDiscovery] - iCloud device discovery for [iPad mini 4]
2018-01-19 08:01:41.464 [DEBUG] [d.internal.discovery.DeviceDiscovery] - Device [ad6571e4, O91BK4ULVWKqeSVLM1pgrVe26UClWolB0HlSg1ahJ1enuQS8gqdQAyy5xQgbArDOUGsJSay5tU/dY6Nb4ELBSoGWwM+UzqsIxS8PHZfih65Zqts9/tD8T5JhusCbFgaM] found.
2018-01-19 08:01:41.468 [DEBUG] [d.internal.discovery.DeviceDiscovery] - iCloud device discovery for [iPhone 7]
2018-01-19 08:01:41.469 [DEBUG] [d.internal.discovery.DeviceDiscovery] - Device [e72c8671, LSS2WjQ05dEtYV1et4hfGKz0o2Txp5eHSGE/7uFpQAcchBlj1S586KFFQeKFlE4fDQcHxGrAqOHdY6Nb4ELBSoGWwM+UzqsIxS8PHZfih65Zqts9/tD8T5JhusCbFgaM] found.
2018-01-19 08:01:41.472 [DEBUG] [d.handler.ICloudAccountBridgeHandler] - iCloud bridge data refresh complete.

After a restart:

2018-01-19 08:41:59.817 [DEBUG] [d.handler.ICloudAccountBridgeHandler] - iCloud bridge refreshing data ...
2018-01-19 08:41:59.904 [DEBUG] [d.handler.ICloudAccountBridgeHandler] - iCloud bridge refreshing data ...
2018-01-19 08:42:01.212 [DEBUG] [d.internal.discovery.DeviceDiscovery] - iCloud device discovery for [iPad mini 3]
2018-01-19 08:42:01.213 [DEBUG] [d.internal.discovery.DeviceDiscovery] - Device [f5e09b9a, nfjtxSwJIzItLz2c5qaC3tJ2mJw1Qn0Pqeiwg3w+NxDvchImgs59OOHYVNSUzmWV] found.
2018-01-19 08:42:01.213 [DEBUG] [d.internal.discovery.DeviceDiscovery] - iCloud device discovery for [Apple Watch]
2018-01-19 08:42:01.214 [DEBUG] [d.internal.discovery.DeviceDiscovery] - Device [f3f49a06, cbOihqeVXkvx9NaE98V0eGOk82w1jBgyYAwmjMRcE9zCZ9eMdv70SeHYVNSUzmWV] found.
2018-01-19 08:42:01.215 [DEBUG] [d.internal.discovery.DeviceDiscovery] - iCloud device discovery for [iPhone 7]
2018-01-19 08:42:01.215 [DEBUG] [d.internal.discovery.DeviceDiscovery] - Device [56df75b4, bBYR70IVgAFaJjdVVNcKMtvuEheUvtaqULMDa7N8YR/2Oi0JozCHo+HYVNSUzmWV] found.
2018-01-19 08:42:01.286 [DEBUG] [d.internal.discovery.DeviceDiscovery] - iCloud device discovery for [iPhone 7]
2018-01-19 08:42:01.287 [DEBUG] [d.internal.discovery.DeviceDiscovery] - Device [2f43dde8, ZYnpFD3Y+VxX1rEi1thYsdzhd0+hrgNt2LiGq71Jyt5vVnc0SlgwgeHYVNSUzmWV] found.
2018-01-19 08:42:01.362 [DEBUG] [d.internal.discovery.DeviceDiscovery] - iCloud device discovery for [iPad mini 4]
2018-01-19 08:42:01.363 [DEBUG] [d.internal.discovery.DeviceDiscovery] - Device [ad6571e4, O91BK4ULVWKqeSVLM1pgrVe26UClWolB0HlSg1ahJ1enuQS8gqdQAyy5xQgbArDOUGsJSay5tU/dY6Nb4ELBSoGWwM+UzqsIxS8PHZfih65Zqts9/tD8T5JhusCbFgaM] found.
2018-01-19 08:42:02.446 [DEBUG] [d.internal.discovery.DeviceDiscovery] - iCloud device discovery for [iPad mini 4]
2018-01-19 08:42:02.447 [DEBUG] [d.internal.discovery.DeviceDiscovery] - Device [65658912, 6XHExlquTHUskmQqO71K+zEO2x8k6uGOFoGDalV2TbjqJQzwwFQuU+HYVNSUzmWV] found.
2018-01-19 08:42:04.572 [DEBUG] [d.internal.discovery.DeviceDiscovery] - iCloud device discovery for [iPhone 7]
2018-01-19 08:42:04.572 [DEBUG] [d.internal.discovery.DeviceDiscovery] - Device [e72c8671, LSS2WjQ05dEtYV1et4hfGKz0o2Txp5eHSGE/7uFpQAcchBlj1S586KFFQeKFlE4fDQcHxGrAqOHdY6Nb4ELBSoGWwM+UzqsIxS8PHZfih65Zqts9/tD8T5JhusCbFgaM] found.
2018-01-19 08:42:06.726 [DEBUG] [d.internal.discovery.DeviceDiscovery] - iCloud device discovery for [iPhone 7]
2018-01-19 08:42:06.727 [DEBUG] [d.internal.discovery.DeviceDiscovery] - Device [a8d525aa, oGcIXKHGussn4MYkbxJa/Z3Neu029yg+2wN0w4hjFc3CxRD+KzdgC1wnWb/OBuFAlo3AWEFSgxndY6Nb4ELBSmDcuxGoj9/LKt5xneTINYBcF3vkWr7QjdvHlvWbtYGt] found.
2018-01-19 08:42:07.058 [DEBUG] [g.icloud.handler.ICloudDeviceHandler] - Device: [bBYR70IVgAFaJjdVVNcKMtvuEheUvtaqULMDa7N8YR/2Oi0JozCHo+HYVNSUzmWV]
2018-01-19 08:42:07.058 [DEBUG] [g.icloud.handler.ICloudDeviceHandler] - Current data element: [nfjtxSwJIzItLz2c5qaC3tJ2mJw1Qn0Pqeiwg3w+NxDvchImgs59OOHYVNSUzmWV]
2018-01-19 08:42:07.059 [DEBUG] [g.icloud.handler.ICloudDeviceHandler] - Current data element: [cbOihqeVXkvx9NaE98V0eGOk82w1jBgyYAwmjMRcE9zCZ9eMdv70SeHYVNSUzmWV]
2018-01-19 08:42:07.059 [DEBUG] [g.icloud.handler.ICloudDeviceHandler] - Current data element: [bBYR70IVgAFaJjdVVNcKMtvuEheUvtaqULMDa7N8YR/2Oi0JozCHo+HYVNSUzmWV]
2018-01-19 08:42:07.060 [DEBUG] [d.handler.ICloudAccountBridgeHandler] - iCloud bridge data refresh complete.
2018-01-19 08:42:08.135 [DEBUG] [d.internal.discovery.DeviceDiscovery] - iCloud device discovery for [iPad mini 3]
2018-01-19 08:42:08.135 [DEBUG] [d.internal.discovery.DeviceDiscovery] - Device [3f0f6f73, rcQxmq1XJDldsdpLiaVNpua7A6Gi8FOjkXh8d0GI6Otm2cZ2KCrFDeMPVG0WPniD+KJdqznAKdjdY6Nb4ELBSmDcuxGoj9/LKt5xneTINYBcF3vkWr7QjdvHlvWbtYGt] found.
2018-01-19 08:42:08.571 [DEBUG] [d.internal.discovery.DeviceDiscovery] - iCloud device discovery for [Apple Watch]
2018-01-19 08:42:08.572 [DEBUG] [d.internal.discovery.DeviceDiscovery] - Device [11730292, dX/hV3uAU3Nc8znsQDggQ0ltPYsSCJITydkO4kW7oDew3RyAwY4WwWHYTsAMKTF9J6a3wsY2ShfdY6Nb4ELBSmDcuxGoj9/LKt5xneTINYBcF3vkWr7QjdvHlvWbtYGt] found.
2018-01-19 08:42:08.579 [DEBUG] [g.icloud.handler.ICloudDeviceHandler] - Device: [ZYnpFD3Y+VxX1rEi1thYsdzhd0+hrgNt2LiGq71Jyt5vVnc0SlgwgeHYVNSUzmWV]
2018-01-19 08:42:08.580 [DEBUG] [g.icloud.handler.ICloudDeviceHandler] - Current data element: [ZYnpFD3Y+VxX1rEi1thYsdzhd0+hrgNt2LiGq71Jyt5vVnc0SlgwgeHYVNSUzmWV]
2018-01-19 08:42:08.581 [DEBUG] [d.handler.ICloudAccountBridgeHandler] - iCloud bridge data refresh complete.

Not sure if that helps - let me know if I can provide more logs.

Thanks

Hi @yetkin,

thank you for the logs. Unfortunatley I can not determine what causes the problem. Do you see any warnings or errors when the update stops working; either from the binding or from OH itself?

with kind regards,
Patrik

Went through the logs and found this at the point of failure - the warning was generated at every refresh interval (1 min in my case) until my manual reboot:

2018-01-16 19:43:24.425 [WARN ] [d.handler.ICloudAccountBridgeHandler] - Unable to refresh device data
java.net.UnknownHostException: fmipmobile.icloud.com
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) ~[?:?]
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:?]
	at java.net.Socket.connect(Socket.java:589) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673) ~[?:?]
	at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173) ~[?:?]
	at sun.net.NetworkClient.doConnect(NetworkClient.java:180) ~[?:?]
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) ~[?:?]
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) ~[?:?]
	at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264) ~[?:?]
	at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367) ~[?:?]
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050) ~[?:?]
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1334) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1309) ~[?:?]
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:259) ~[?:?]
	at org.openhab.binding.icloud.internal.Connection.postRequest(Connection.java:95) ~[?:?]
	at org.openhab.binding.icloud.internal.Connection.requestDeviceStatusJSON(Connection.java:55) ~[?:?]
	at org.openhab.binding.icloud.handler.ICloudAccountBridgeHandler.lambda$0(ICloudAccountBridgeHandler.java:81) ~[?:?]
	at org.eclipse.smarthome.core.cache.ExpiringCache.refreshValue(ExpiringCache.java:81) ~[?:?]
	at org.eclipse.smarthome.core.cache.ExpiringCache.getValue(ExpiringCache.java:61) ~[?:?]
	at org.openhab.binding.icloud.handler.ICloudAccountBridgeHandler.refreshData(ICloudAccountBridgeHandler.java:132) ~[?:?]
	at org.openhab.binding.icloud.handler.ICloudAccountBridgeHandler.lambda$1(ICloudAccountBridgeHandler.java:123) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]

Hi Patrik,

Have you had a chance to take a look? The binding still stops working after 2-3 days of uptime.

Thanks!

Hi there. I have the same issue.

I’ve been able to diagnose it a bit more. It odd.

  1. I’m running on openhabian on a rpi3B+
  2. Its wifi only no ethernet
  3. I can ssh into the device
  4. I can not ping www.google.com or fmipmobile.icloud.com

It appears that all non local network traffic is dead.

My replica of this setup works fine. So some how the OS has got into a state where is lost the internet.

urg. so annoying…

[08:38:26] jeremy@openhab1:~$ sudo /etc/init.d/networking restart
[ ok ] Restarting networking (via systemctl): networking.service.
[08:46:22] jeremy@openhab1:~$ ping fmipmobile.icloud.com
PING fmipmobile.fe.apple-dns.net (17.248.155.138) 56(84) bytes of data.

I think that the root cause of this is the dns resolution using /etc/resolv.conf is using my local router which i do not trust. I’ve thrown in some google nameservers to see if that fixes the issues I’ve been seeing.

Hmmm interesting. I have the same issue and I also use my router as an internal DNS server.

I always had 4.2.2.2 and 8.8.8.8 in there so that cannot be the root cause. Are we the only ones having this issue?

I think I have almost the same issue.
For me (very rarely) stops working entirely. The Things in PaperUI shows that it is online, I can’t see any errors or warns in the log (I haven’t changed the logging level though), but it stops updating all info. I can see it from the Last Location Update timestamp, but the battery levels also stay the same

Bundle:refresh solves the problem though. I don’t think that there is a dns resolve or internet connection problem, because I have multiple other bindings which communicate through internet, not locally and these doesn’t stop updating…

I also have the same issue about once a week all info stops updating. All the Things are still “Online” but no updates are occuring and there is no response to forcing and update.

I can confirm Bundle:refresh solves the problem. Is there any way to get this fixed or shall I just cron up a bundle:refresh every couple of days.

1 Like

I’m having this issue still with 2.5.0M2, but have experienced this in prior versions too. Did anyone come up with a resolution other than setting up a cron job to refresh the bundle?