03-10-2015, 14:48:40
(Dieser Beitrag wurde zuletzt bearbeitet: 03-10-2015, 14:50:39 von Björn87.)
Hallo,
ich habe mein Raspbian neu ausgesetzt und bekomme seitdem keine Verbindung mehr hin. Die init.d habe ich so angepasst, dass TLS 1.0 benutzt werden sollte. Aber anscheinend funktioniert der Handshake nicht:
Jemand eine Ahnung, was da nicht funktioniert? Nimmt der doch TLS 1.2?
Danke
Björn
ich habe mein Raspbian neu ausgesetzt und bekomme seitdem keine Verbindung mehr hin. Die init.d habe ich so angepasst, dass TLS 1.0 benutzt werden sollte. Aber anscheinend funktioniert der Handshake nicht:
Zitat:2015-10-03 14:15:25.344 [INFO ] [r.internal.RweSmarthomeBinding] - RweSmarthomeConfig[host=192.168.2.104,username=bjoern87,password=*****,aliveInterval=300]
2015-10-03 14:15:25.346 [INFO ] [r.i.c.RweSmarthomeCommunicator] - Starting RWE Smarthome communicator
2015-10-03 14:15:26.260 [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:728) ~[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:138) ~[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:108) ~[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.java:380) [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.java:36) [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
2015-10-03 14:15:26.336 [ERROR] [r.i.c.RweSmarthomeCommunicator] - Could not start RWE Smarthome communicator: SAXException:Premature end of file.
org.openhab.binding.rwesmarthome.internal.lib.api.exceptions.SHTechnicalException: SAXException:Premature end of file.
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.java:380) [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.java:36) [org.eclipse.equinox.cm_1.0.400.v20120522-1841.jar:na]
Caused by: org.xml.sax.SAXParseException: Premature end of file.
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.java:348) ~[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]
... 5 common frames omitted
2015-10-03 14:15:26.337 [INFO ] [r.i.c.RweSmarthomeCommunicator] - Shutting down RWE Smarthome communicator
2015-10-03 14:15:26.340 [INFO ] [.service.AbstractActiveService] - RweSmarthome Refresh Service has been started
Jemand eine Ahnung, was da nicht funktioniert? Nimmt der doch TLS 1.2?
Danke
Björn
1 Zentrale
2 Rolladenschalter
4 Rauchmelder
9 Heizkörperthermostate
2 Rolladenschalter
4 Rauchmelder
9 Heizkörperthermostate