Cloud OFFLINE

2020-04-15 13:02:20.788 [WARN ] [okhttp3.OkHttpClient ] - A connection to https://myopenhab.org/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);

@Branden_Smale I gotta few things to take care of so I’ll check back later.

One other thing to try is use the openhabian-config tool and select option 10 and run numbers 11, 13 and 14…Think those last two are correct? The wording is svr mount, add needed packages, fix permissions.

1 Like

That’s a good sign. :+1:

The warning is known and nothing to worry about but it does look like something with the clould is happening. :clap:

I would expect you to see the connection go online soon.

Made the changes in config tool. opehHAB restarted and the connector was uninstalled again…

2020-04-15 13:17:25.725 [thome.event.ExtensionEvent] - Extension ‘misc-openhabcloud’ has been uninstalled.

2020-04-15 13:20:08.291 [ERROR] [io.openhabcloud.internal.CloudClient] - Error connecting to the openHAB Cloud instance: {}

io.socket.engineio.client.EngineIOException: xhr poll error

at io.socket.engineio.client.Transport.onError(Transport.java:63) [bundleFile:?]

at io.socket.engineio.client.transports.PollingXHR.access$100(PollingXHR.java:26) [bundleFile:?]

at io.socket.engineio.client.transports.PollingXHR$6$1.run(PollingXHR.java:140) [bundleFile:?]

at io.socket.thread.EventThread$2.run(EventThread.java:80) [bundleFile:?]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222]

at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]

Caused by: java.net.SocketTimeoutException: timeout

at okio.Okio$4.newTimeoutException(Okio.java:230) ~[?:?]

at okio.AsyncTimeout.exit(AsyncTimeout.java:285) ~[?:?]

at okio.AsyncTimeout$2.read(AsyncTimeout.java:241) ~[?:?]

at okio.RealBufferedSource.indexOf(RealBufferedSource.java:345) ~[?:?]

at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:217) ~[?:?]

at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:211) ~[?:?]

at okhttp3.internal.http1.Http1Codec.readResponseHeaders(Http1Codec.java:189) ~[?:?]

at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:75) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) ~[?:?]

at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) ~[?:?]

at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) ~[?:?]

at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) ~[?:?]

at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) ~[?:?]

at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:185) ~[?:?]

at okhttp3.RealCall$AsyncCall.execute(RealCall.java:135) ~[?:?]

at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) ~[?:?]

... 3 more

Caused by: java.net.SocketException: Socket closed

at java.net.SocketInputStream.read(SocketInputStream.java:204) ~[?:1.8.0_222]

at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[?:1.8.0_222]

at sun.security.ssl.InputRecord.readFully(InputRecord.java:465) ~[?:1.8.0_222]

at sun.security.ssl.InputRecord.read(InputRecord.java:503) ~[?:1.8.0_222]

at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975) ~[?:1.8.0_222]

at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:933) ~[?:1.8.0_222]

at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) ~[?:1.8.0_222]

at okio.Okio$2.read(Okio.java:139) ~[?:?]

at okio.AsyncTimeout$2.read(AsyncTimeout.java:237) ~[?:?]

at okio.RealBufferedSource.indexOf(RealBufferedSource.java:345) ~[?:?]

at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:217) ~[?:?]

at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:211) ~[?:?]

at okhttp3.internal.http1.Http1Codec.readResponseHeaders(Http1Codec.java:189) ~[?:?]

at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:75) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) ~[?:?]

at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) ~[?:?]

at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) ~[?:?]

at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) ~[?:?]

at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) ~[?:?]

at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:185) ~[?:?]

at okhttp3.RealCall$AsyncCall.execute(RealCall.java:135) ~[?:?]

at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) ~[?:?]

... 3 more

2020-04-15 13:20:08.369 [DEBUG] [io.openhabcloud.internal.CloudClient] - Socket.IO disconnected

2020-04-15 13:20:08.376 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = de09fc53-b654-40a8-8497-b99c36337c36, base URL = http://localhost:8080)

2020-04-15 13:20:09.901 [ERROR] [io.openhabcloud.internal.CloudClient] - Error connecting to the openHAB Cloud instance: {}

io.socket.engineio.client.EngineIOException: xhr poll error

at io.socket.engineio.client.Transport.onError(Transport.java:63) [bundleFile:?]

at io.socket.engineio.client.transports.PollingXHR.access$100(PollingXHR.java:26) [bundleFile:?]

at io.socket.engineio.client.transports.PollingXHR$6$1.run(PollingXHR.java:140) [bundleFile:?]

at io.socket.thread.EventThread$2.run(EventThread.java:80) [bundleFile:?]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222]

at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]

Caused by: java.io.IOException: 502

at io.socket.engineio.client.transports.PollingXHR$Request$1.onResponse(PollingXHR.java:234) ~[?:?]

at okhttp3.RealCall$AsyncCall.execute(RealCall.java:141) ~[?:?]

at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) ~[?:?]

... 3 more

2020-04-15 13:20:09.934 [DEBUG] [io.openhabcloud.internal.CloudClient] - Socket.IO disconnected

2020-04-15 13:20:09.935 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = de09fc53-b654-40a8-8497-b99c36337c36, base URL = http://localhost:8080)

Blockquote

:exploding_head:

The binding getting uninstalled I’m not sure about but the warning you got in the logs looked promising. I would reinstall the binding via the addons file and give it a few hours.

Gotta run, best of luck and will check back later.

Thanks for the help

All those warning are b/c OH needs to be restarted a few times. :wink:

1 Like

Everytime I do, have to re-install anything under the Misc. tab. I’m just going to go the new install route with the backup I just made. OH has come so far since my 1.x times…I just haven’t stayed up to date…I like where 3 is going…can’t wait.

The fact that add-ons are being installed and uninstalled again points to addons.cfg. Just to make sure you are starting clean, stop openHAB, open addons.cfg and comment out everything. Then open /var/lib/openhab2/config/org/openhab/addons.config and make sure it lists everything you want installed and nothing else, then restart openHAB.

Then only install new bindings through PaperUI or the REST API or Karaf Console and do not edit addons.cfg.

Also note that the REST API has moved from the Misc category to the UIs category. Bindings that keep restarting over and over is a sign that you have a binding to be installed that doesn’t exist. This caught a lot of users.

Rich,

This is the addons.cfg:

# The base installation package of this openHAB instance (default is "standard")
# Valid options:
#   - minimal  : Installation only with dashboard, but no UIs or other addons
#   - standard : Typical installation with all standards UIs
#   - demo     : A demo setup which includes UIs, a few bindings, config files etc.
#
package = standard

# Access Remote Add-on Repositories
# Defines whether the remote openHAB add-on repository should be used for browsing and installing add-ons.
# This not only makes latest snapshots of add-ons available, it is also required for the installation of
# any legacy 1.x add-on and all experimental features. (default is false for offline distro, true for online distro)
#
remote = true

# Include legacy 1.x bindings. If set to true, it also allows the installation of 1.x bindings for which there is 
# already a 2.x version available (requires remote repo access, see above). (default is false)
#
#legacy = true

# Include experimental add-ons. If set to true, it also allows the installation of extensions that are not (yet) part
# of the official distribution and need further testing (requires remote repo access, see above). (default is false)
#
experimental = true


# A comma-separated list of bindings to install (e.g. "sonos,knx,zwave")
#binding=

# A comma-separated list of UIs to install (e.g. "basic,paper")
ui = basic,paper,habmin

# A comma-separated list of persistence services to install (e.g. "rrd4j,jpa")
#persistence = mapdb

# A comma-separated list of actions to install (e.g. "mail,pushover")
action = 

# A comma-separated list of transformation services to install (e.g. "map,jsonpath")
transformation = 

# A comma-separated list of voice services to install (e.g. "marytts,freetts")
voice = 

# A comma-separated list of miscellaneous services to install (e.g. "myopenhab")
misc =

'''

and this is addons.config:


:org.apache.felix.configadmin.revision:=L"33"
action=""
binding=",astro,expire1,ntp,zwave,wifiled"
experimental="true"
misc=",ruleengine"
package="standard"
persistence="mapdb"
remote="true"
service.pid="org.openhab.addons"
transformation=""
ui="basic,paper,habmin"
voice=

sorry for the formatting issues…thought block quote was correct, apparently its not.

At least I could read it without glasses :smiley:

Assuming I’m reading it correctly given the munged up formatting, you need to comment out the ui, action, transformation, misc, and voice lines. The binding lines.

Your addons.config line look like it has at least one error, that comma before ruleengine shouldn’t be there. Looks like there is an errant comma on binding too.

Just to be really sure and really clean, I’d stop OH, comment out all the lines in addons.cfg. Delete addons.config entirely. Then reinstall all the addons again through PaperUI.

1 Like

Yes sir, I will try it first today, before I start over…

I know, right! :crazy_face: FIXED NOW!! :grinning:

Ok all…I’m in business. I did what Rich suggested, restarted a few times, updated myopenhab with correct info, twice on the secret…and now I’m online!!!

:star_struck:

Y’all are AWESOME!!!

Now, one last issue I’m trying to track down.

‘’’
2020-04-16 08:17:31.726 [ERROR] [ng.xml.internal.ThingTypeXmlProvider] - Could not register ThingType: zwave:aeotec_zw141_03_000

java.lang.IllegalArgumentException: ID segment ’ switch_dimmer’ contains invalid characters. Each segment of the ID must match the pattern [A-Za-z0-9_-]*.

at org.eclipse.smarthome.core.common.AbstractUID.validateSegment(AbstractUID.java:97) ~[bundleFile:?]

at org.eclipse.smarthome.core.common.AbstractUID.<init>(AbstractUID.java:75) ~[bundleFile:?]

at org.eclipse.smarthome.core.common.AbstractUID.<init>(AbstractUID.java:49) ~[bundleFile:?]

at org.eclipse.smarthome.core.thing.UID.<init>(UID.java:48) ~[bundleFile:?]

at org.eclipse.smarthome.core.thing.type.ChannelTypeUID.<init>(ChannelTypeUID.java:40) ~[bundleFile:?]

at org.eclipse.smarthome.core.thing.xml.internal.ChannelXmlResult.toChannelDefinition(ChannelXmlResult.java:135) ~[bundleFile:?]

at org.eclipse.smarthome.core.thing.xml.internal.ThingTypeXmlResult.toChannelDefinitions(ThingTypeXmlResult.java:98) ~[bundleFile:?]

at org.eclipse.smarthome.core.thing.xml.internal.ThingTypeXmlResult.getBuilder(ThingTypeXmlResult.java:148) ~[bundleFile:?]

at org.eclipse.smarthome.core.thing.xml.internal.ThingTypeXmlResult.toThingType(ThingTypeXmlResult.java:156) ~[bundleFile:?]

at org.eclipse.smarthome.core.thing.xml.internal.ThingTypeXmlProvider.addingFinished(ThingTypeXmlProvider.java:148) [bundleFile:?]

at org.eclipse.smarthome.config.xml.osgi.XmlDocumentBundleTracker.addingFinished(XmlDocumentBundleTracker.java:265) [bundleFile:?]

at org.eclipse.smarthome.config.xml.osgi.XmlDocumentBundleTracker.parseDocuments(XmlDocumentBundleTracker.java:424) [bundleFile:?]

at org.eclipse.smarthome.config.xml.osgi.XmlDocumentBundleTracker.processBundle(XmlDocumentBundleTracker.java:398) [bundleFile:?]

at org.eclipse.smarthome.config.xml.osgi.XmlDocumentBundleTracker.access$6(XmlDocumentBundleTracker.java:393) [bundleFile:?]

at org.eclipse.smarthome.config.xml.osgi.XmlDocumentBundleTracker$2.run(XmlDocumentBundleTracker.java:363) [bundleFile:?]

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_222]

at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_222]

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_222]

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.8.0_222]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222]

at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]

‘’’

I looked in the JasonDB folder under Things and did a search for the above, but couldn’t find anything. Where esle might I look? This is an old zwave stick that no longer exists, but I cannot find it anywhere to delete it.

Do you have any .things files? Look there. Alos look in the Links json file. In fact, grep for that in all of the json files.

As a Thing ID it doesn’t make sense, it has too few fields.

I have no things files. Am checking the links file now…

Nothing in the links file except open and closed brackets.