31-05-2015, 00:18:44
Nabend zusammen,
ich verzweifle hier gerade.
Bisher hab ich OH 1.6x mit dem SH binding v8 gefahren. OH lief dazu zusammen mit raspbmc auf einen PI.
Hab mich entschlossen das ganze komplett neu zu installieren, ohne RASPBMC, nur OH unter Raspbian Wheezy.
Allerdings bekomme ich das RWE binding nicht mehr zum laufen. Ursache ist wohl, dass bei der Neuinstallation Java 1.8 installiert wurde.
Leider funktioniert der Workaround mit -Djdk.tls.client.protocols=TLSv1 in die start.sh von OH einfügen bei mir nicht.
2015-05-30 22:00:28.496 [INFO ] [r.i.c.RweSmarthomeCommunicator] - Starting RWE Smarthome communicator
2015-05-30 22:001.376 [ERROR] [b.r.i.lib.api.SmartHomeSession] - SSLHandshakeException
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973) ~[na:1.8.0]
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1343) ~[na:1.8.0]
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:72 ~[na:1.8.0]
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123) ~[na:1.8.0]
at org.apache.http.impl.io.AbstractSessionOutputBuffer.flushBuffer(AbstractSessionOutputBuffer.java:131) ~[na:na]
at org.apache.http.impl.io.AbstractSessionOutputBuffer.flush(AbstractSessionOutputBuffer.java:13 ~[na:na]
at org.apache.http.impl.io.ContentLengthOutputStream.flush(ContentLengthOutputStream.java:102) ~[na:na]
at org.apache.http.entity.StringEntity.writeTo(StringEntity.java:122) ~[org.apache.httpcomponents.httpcore_4.1.4.v201203221030.jar:na]
at org.apache.http.entity.HttpEntityWrapper.writeTo(HttpEntityWrapper.java:96) ~[org.apache.httpcomponents.httpcore_4.1.4.v201203221030.jar:na]
at org.apache.http.impl.client.EntityEnclosingRequestWrapper$EntityWrapper.writeTo(EntityEnclosingRequestWrapper.java:10 ~[org.apache.httpcomponents.httpclient_4.1.3.v201209201135.jar:4.1.3]
at org.apache.http.impl.entity.EntitySerializer.serialize(EntitySerializer.java:120) ~[na:na]
at org.apache.http.impl.AbstractHttpClientConnection.sendRequestEntity(AbstractHttpClientConnection.java:264) ~[na:na]
at org.apache.http.impl.conn.AbstractClientConnAdapter.sendRequestEntity(AbstractClientConnAdapter.java:224) ~[na:na]
at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:255) ~[org.apache.httpcomponents.httpcore_4.1.4.v201203221030.jar:na]
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123) ~[org.apache.httpcomponents.httpcore_4.1.4.v201203221030.jar:na]
at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:647) ~[org.apache.httpcomponents.httpclient_4.1.3.v201209201135.jar:4.1.3]
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:464) ~[org.apache.httpcomponents.httpclient_4.1.3.v201209201135.jar:4.1.3]
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820) ~[org.apache.httpcomponents.httpclient_4.1.3.v201209201135.jar:4.1.3]
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754) ~[org.apache.httpcomponents.httpclient_4.1.3.v201209201135.jar:4.1.3]
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:732) ~[org.apache.httpcomponents.httpclient_4.1.3.v201209201135.jar:4.1.3]
at org.openhab.binding.rwesmarthome.internal.lib.api.SmartHomeSession.executeRequest(SmartHomeSession.java:871) [bundlefile:na]
at org.openhab.binding.rwesmarthome.internal.lib.api.SmartHomeSession.initialize(SmartHomeSession.java:243) [bundlefile:na]
at org.openhab.binding.rwesmarthome.internal.lib.api.SmartHomeSession.logon(SmartHomeSession.java:219) [bundlefile:na]
at org.openhab.binding.rwesmarthome.internal.communicator.RweSmarthomeCommunicator.start(RweSmarthomeCommunicator.java:73) [bundlefile:na]
at org.openhab.binding.rwesmarthome.internal.RweSmarthomeBinding.updated(RweSmarthomeBinding.java80) [bundlefile:na]
at org.eclipse.equinox.internal.cm.ManagedServiceTracker$1.run(ManagedServiceTracker.java:183) [org.eclipse.equinox.cm_1.0.400.v20120522-1841.jar:na]
at org.eclipse.equinox.internal.cm.SerializedTaskQueue$1.run(SerializedTaskQueue.java6) [org.eclipse.equinox.cm_1.0.400.v20120522-1841.jar:na]
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at sun.security.ssl.InputRecord.read(InputRecord.java:505) ~[na:1.8.0]
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:954) ~[na:1.8.0]
... 26 common frames omitted
[Fatal Error] :1:1: Vorzeitiges Dateiende.
2015-05-30 22:001.574 [ERROR] [r.i.c.RweSmarthomeCommunicator] - Could not start RWE Smarthome communicator: SAXException:Vorzeitiges Dateiende.
org.openhab.binding.rwesmarthome.internal.lib.api.exceptions.SHTechnicalException: SAXException:Vorzeitiges Dateiende.
at org.openhab.binding.rwesmarthome.internal.lib.api.SmartHomeSession.initialize(SmartHomeSession.java:257) ~[bundlefile:na]
at org.openhab.binding.rwesmarthome.internal.lib.api.SmartHomeSession.logon(SmartHomeSession.java:219) ~[bundlefile:na]
at org.openhab.binding.rwesmarthome.internal.communicator.RweSmarthomeCommunicator.start(RweSmarthomeCommunicator.java:73) ~[bundlefile:na]
at org.openhab.binding.rwesmarthome.internal.RweSmarthomeBinding.updated(RweSmarthomeBinding.java80) [bundlefile:na]
at org.eclipse.equinox.internal.cm.ManagedServiceTracker$1.run(ManagedServiceTracker.java:183) [org.eclipse.equinox.cm_1.0.400.v20120522-1841.jar:na]
at org.eclipse.equinox.internal.cm.SerializedTaskQueue$1.run(SerializedTaskQueue.java6) [org.eclipse.equinox.cm_1.0.400.v20120522-1841.jar:na]
Caused by: org.xml.sax.SAXParseException: Vorzeitiges Dateiende.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257) ~[na:1.8.0]
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java4 ~[na:1.8.0]
at org.openhab.binding.rwesmarthome.internal.lib.util.string.XMLUtil.loadXMLFromString(XMLUtil.java:42) ~[bundlefile:na]
at org.openhab.binding.rwesmarthome.internal.lib.util.string.XMLUtil.XPathValueFromString(XMLUtil.java:24) ~[bundlefile:na]
at org.openhab.binding.rwesmarthome.internal.lib.api.SmartHomeSession.initialize(SmartHomeSession.java:244) ~[bundlefile:na]
Jemand ne Idee?
wie werde ich Java 1.8 wieder los bzw, wie kann ich die Installation von 1.7 erzwingen?
Muss ich -Djdk.tls.client.protocols=TLSv1 an einer bestimmten Stelle in die start.sh einfügen?
ich verzweifle hier gerade.
Bisher hab ich OH 1.6x mit dem SH binding v8 gefahren. OH lief dazu zusammen mit raspbmc auf einen PI.
Hab mich entschlossen das ganze komplett neu zu installieren, ohne RASPBMC, nur OH unter Raspbian Wheezy.
Allerdings bekomme ich das RWE binding nicht mehr zum laufen. Ursache ist wohl, dass bei der Neuinstallation Java 1.8 installiert wurde.
Leider funktioniert der Workaround mit -Djdk.tls.client.protocols=TLSv1 in die start.sh von OH einfügen bei mir nicht.
2015-05-30 22:00:28.496 [INFO ] [r.i.c.RweSmarthomeCommunicator] - Starting RWE Smarthome communicator
2015-05-30 22:001.376 [ERROR] [b.r.i.lib.api.SmartHomeSession] - SSLHandshakeException
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973) ~[na:1.8.0]
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1343) ~[na:1.8.0]
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:72 ~[na:1.8.0]
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123) ~[na:1.8.0]
at org.apache.http.impl.io.AbstractSessionOutputBuffer.flushBuffer(AbstractSessionOutputBuffer.java:131) ~[na:na]
at org.apache.http.impl.io.AbstractSessionOutputBuffer.flush(AbstractSessionOutputBuffer.java:13 ~[na:na]
at org.apache.http.impl.io.ContentLengthOutputStream.flush(ContentLengthOutputStream.java:102) ~[na:na]
at org.apache.http.entity.StringEntity.writeTo(StringEntity.java:122) ~[org.apache.httpcomponents.httpcore_4.1.4.v201203221030.jar:na]
at org.apache.http.entity.HttpEntityWrapper.writeTo(HttpEntityWrapper.java:96) ~[org.apache.httpcomponents.httpcore_4.1.4.v201203221030.jar:na]
at org.apache.http.impl.client.EntityEnclosingRequestWrapper$EntityWrapper.writeTo(EntityEnclosingRequestWrapper.java:10 ~[org.apache.httpcomponents.httpclient_4.1.3.v201209201135.jar:4.1.3]
at org.apache.http.impl.entity.EntitySerializer.serialize(EntitySerializer.java:120) ~[na:na]
at org.apache.http.impl.AbstractHttpClientConnection.sendRequestEntity(AbstractHttpClientConnection.java:264) ~[na:na]
at org.apache.http.impl.conn.AbstractClientConnAdapter.sendRequestEntity(AbstractClientConnAdapter.java:224) ~[na:na]
at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:255) ~[org.apache.httpcomponents.httpcore_4.1.4.v201203221030.jar:na]
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123) ~[org.apache.httpcomponents.httpcore_4.1.4.v201203221030.jar:na]
at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:647) ~[org.apache.httpcomponents.httpclient_4.1.3.v201209201135.jar:4.1.3]
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:464) ~[org.apache.httpcomponents.httpclient_4.1.3.v201209201135.jar:4.1.3]
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820) ~[org.apache.httpcomponents.httpclient_4.1.3.v201209201135.jar:4.1.3]
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754) ~[org.apache.httpcomponents.httpclient_4.1.3.v201209201135.jar:4.1.3]
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:732) ~[org.apache.httpcomponents.httpclient_4.1.3.v201209201135.jar:4.1.3]
at org.openhab.binding.rwesmarthome.internal.lib.api.SmartHomeSession.executeRequest(SmartHomeSession.java:871) [bundlefile:na]
at org.openhab.binding.rwesmarthome.internal.lib.api.SmartHomeSession.initialize(SmartHomeSession.java:243) [bundlefile:na]
at org.openhab.binding.rwesmarthome.internal.lib.api.SmartHomeSession.logon(SmartHomeSession.java:219) [bundlefile:na]
at org.openhab.binding.rwesmarthome.internal.communicator.RweSmarthomeCommunicator.start(RweSmarthomeCommunicator.java:73) [bundlefile:na]
at org.openhab.binding.rwesmarthome.internal.RweSmarthomeBinding.updated(RweSmarthomeBinding.java80) [bundlefile:na]
at org.eclipse.equinox.internal.cm.ManagedServiceTracker$1.run(ManagedServiceTracker.java:183) [org.eclipse.equinox.cm_1.0.400.v20120522-1841.jar:na]
at org.eclipse.equinox.internal.cm.SerializedTaskQueue$1.run(SerializedTaskQueue.java6) [org.eclipse.equinox.cm_1.0.400.v20120522-1841.jar:na]
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at sun.security.ssl.InputRecord.read(InputRecord.java:505) ~[na:1.8.0]
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:954) ~[na:1.8.0]
... 26 common frames omitted
[Fatal Error] :1:1: Vorzeitiges Dateiende.
2015-05-30 22:001.574 [ERROR] [r.i.c.RweSmarthomeCommunicator] - Could not start RWE Smarthome communicator: SAXException:Vorzeitiges Dateiende.
org.openhab.binding.rwesmarthome.internal.lib.api.exceptions.SHTechnicalException: SAXException:Vorzeitiges Dateiende.
at org.openhab.binding.rwesmarthome.internal.lib.api.SmartHomeSession.initialize(SmartHomeSession.java:257) ~[bundlefile:na]
at org.openhab.binding.rwesmarthome.internal.lib.api.SmartHomeSession.logon(SmartHomeSession.java:219) ~[bundlefile:na]
at org.openhab.binding.rwesmarthome.internal.communicator.RweSmarthomeCommunicator.start(RweSmarthomeCommunicator.java:73) ~[bundlefile:na]
at org.openhab.binding.rwesmarthome.internal.RweSmarthomeBinding.updated(RweSmarthomeBinding.java80) [bundlefile:na]
at org.eclipse.equinox.internal.cm.ManagedServiceTracker$1.run(ManagedServiceTracker.java:183) [org.eclipse.equinox.cm_1.0.400.v20120522-1841.jar:na]
at org.eclipse.equinox.internal.cm.SerializedTaskQueue$1.run(SerializedTaskQueue.java6) [org.eclipse.equinox.cm_1.0.400.v20120522-1841.jar:na]
Caused by: org.xml.sax.SAXParseException: Vorzeitiges Dateiende.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257) ~[na:1.8.0]
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java4 ~[na:1.8.0]
at org.openhab.binding.rwesmarthome.internal.lib.util.string.XMLUtil.loadXMLFromString(XMLUtil.java:42) ~[bundlefile:na]
at org.openhab.binding.rwesmarthome.internal.lib.util.string.XMLUtil.XPathValueFromString(XMLUtil.java:24) ~[bundlefile:na]
at org.openhab.binding.rwesmarthome.internal.lib.api.SmartHomeSession.initialize(SmartHomeSession.java:244) ~[bundlefile:na]
Jemand ne Idee?
wie werde ich Java 1.8 wieder los bzw, wie kann ich die Installation von 1.7 erzwingen?
Muss ich -Djdk.tls.client.protocols=TLSv1 an einer bestimmten Stelle in die start.sh einfügen?
innogy SH, Samsung Cam, Philips HUE, OSRAM Lightify, immer mehr Homematic, openhab2