ich betreibe seit ein paar Wochen als Ersatz für die CCU2 als Raspberrymatic 2.29.23.20171118 einen Raspberry Pi3, der mit einer IP-Symcon 4.3 (ebenfalls auf Raspberry Pi) zusammen meine Haussteuerung bildet. Nun stelle ich fest, dass die beiden Einheiten untereinander häufig ihre Verbindung verlieren und danach meistens der erneute Verbindungsaufbau abgelehnt wird. Dieser Socket Fehler tritt völlig unvermittelt auf, meistens nachts, und sorgt für eine „kalte Bude“. Nach einem Neustart der Raspberrymatic ist der Spuk dann meistens erstmal wieder für eine Weile vorbei. Mit der "normalen" CCU2 besteht dieses Problem nicht. Ich habe mir als Workarround ein kleines Script erstellt, welches die Verbindung IP-Symcon -> RaspCCU nach Verlust wieder herstellen soll. Leider blockt die RaspCCU in den meisten Fällen den neuen Verbindungsversuch.
Die Logs (verkürzt) zeigen nach dem Auftreten des Verbindungsabruchs folgendes:
Code: Alles auswählen
Dec 8 03:05:53 homematic-raspi local0.err ReGaHss: Error: Postback: max buffer data size reached or data without content-length: -1 postbackSize: 1047041 [httpServer.cpp:1384]
Dec 8 03:05:53 homematic-raspi local0.err ReGaHss: Error: Content-Length or Postback Param size incorrect! contLen=-1 postLen=588 PostParam=&<?xml version="1.0"?>^M <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><m:AddPortMapping xmlns:m=""><NewRemoteHost></NewRemoteHost><NewExternalPort>8889</NewExternalPort><NewProtocol>TCP</NewProtocol><NewInternalPort>8889</NewInternalPort><NewInternalClient>192.168.51.5</NewInternalClient><NewEnabled>1</NewEnabled><NewPortMappingDescription>IP-Camera</NewPortMappingDescription><NewLeaseDuration>0</NewLeaseDuration></m:AddPortMapping></SOAP-ENV:Body></SOAP-ENV:Envelope>^M [httpServer.cpp:1402]
Dec 8 03:26:36 homematic-raspi local0.err ReGaHss: Error: Postback: max buffer data size reached or data without content-length: -1 postbackSize: 1047041 [httpServer.cpp:1384]
Dec 8 03:26:36 homematic-raspi local0.err ReGaHss: Error: Content-Length or Postback Param size incorrect! contLen=-1 postLen=588 PostParam=&<?xml version="1.0"?>^M <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><m:AddPortMapping xmlns:m=""><NewRemoteHost></NewRemoteHost><NewExternalPort>8889</NewExternalPort><NewProtocol>TCP</NewProtocol><NewInternalPort>8889</NewInternalPort><NewInternalClient>192.168.51.5</NewInternalClient><NewEnabled>1</NewEnabled><NewPortMappingDescription>IP-Camera</NewPortMappingDescription><NewLeaseDuration>0</NewLeaseDuration></m:AddPortMapping></SOAP-ENV:Body></SOAP-ENV:Envelope>^M [httpServer.cpp:1402]
Dec 8 03:30:00 homematic-raspi cron.info crond[207]: USER root pid 1706 cmd /bin/SetInterfaceClock 127.0.0.1:2001
Dec 8 03:47:03 homematic-raspi local0.err ReGaHss: Error: Postback: max buffer data size reached or data without content-length: -1 postbackSize: 1047041 [httpServer.cpp:1384]
Dec 8 03:47:03 homematic-raspi local0.err ReGaHss: Error: Content-Length or Postback Param size incorrect! contLen=-1 postLen=588 PostParam=&<?xml version="1.0"?>^M <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><m:AddPortMapping xmlns:m=""><NewRemoteHost></NewRemoteHost><NewExternalPort>8889</NewExternalPort><NewProtocol>TCP</NewProtocol><NewInternalPort>8889</NewInternalPort><NewInternalClient>192.168.51.5</NewInternalClient><NewEnabled>1</NewEnabled><NewPortMappingDescription>IP-Camera</NewPortMappingDescription><NewLeaseDuration>0</NewLeaseDuration></m:AddPortMapping></SOAP-ENV:Body></SOAP-ENV:Envelope>^M [httpServer.cpp:1402]
Dec 8 04:00:00 homematic-raspi cron.info crond[207]: USER root pid 1719 cmd /bin/SetInterfaceClock 127.0.0.1:2001
Dec 8 04:00:00 homematic-raspi cron.info crond[207]: USER root pid 1720 cmd /bin/setHWClock.sh
Dec 8 04:00:00 homematic-raspi cron.info crond[207]: USER root pid 1721 cmd /usr/sbin/logrotate -f /etc/logrotate.conf || logger -p error -t "logrotate" "logrotate aborted with error $?"
Dec 8 04:30:00 homematic-raspi cron.info crond[207]: USER root pid 1749 cmd /bin/SetInterfaceClock 127.0.0.1:2001
Dec 8 04:38:02 homematic-raspi local0.err ReGaHss: Error: Postback: max buffer data size reached or data without content-length: -1 postbackSize: 1047041 [httpServer.cpp:1384]
Dec 8 04:38:02 homematic-raspi local0.err ReGaHss: Error: Content-Length or Postback Param size incorrect! contLen=-1 postLen=588 PostParam=&<?xml version="1.0"?>^M <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><m:AddPortMapping xmlns:m=""><NewRemoteHost></NewRemoteHost><NewExternalPort>8889</NewExternalPort><NewProtocol>TCP</NewProtocol><NewInternalPort>8889</NewInternalPort><NewInternalClient>192.168.51.5</NewInternalClient><NewEnabled>1</NewEnabled><NewPortMappingDescription>IP-Camera</NewPortMappingDescription><NewLeaseDuration>0</NewLeaseDuration></m:AddPortMapping></SOAP-ENV:Body></SOAP-ENV:Envelope>^M [httpServer.cpp:1402]
Dec 8 04:39:11 homematic-raspi local0.err ReGaHss: Error: Postback: max buffer data size reached or data without content-length: -1 postbackSize: 1047041 [httpServer.cpp:1384]
Dec 8 04:39:11 homematic-raspi local0.err ReGaHss: Error: Content-Length or Postback Param size incorrect! contLen=-1 postLen=589 PostParam=&<?xml version="1.0"?>^M <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><m:AddPortMapping xmlns:m=""><NewRemoteHost></NewRemoteHost><NewExternalPort>8903</NewExternalPort><NewProtocol>TCP</NewProtocol><NewInternalPort>8903</NewInternalPort><NewInternalClient>192.168.51.20</NewInternalClient><NewEnabled>1</NewEnabled><NewPortMappingDescription>IP-Camera</NewPortMappingDescription><NewLeaseDuration>0</NewLeaseDuration></m:AddPortMapping></SOAP-ENV:Body></SOAP-ENV:Envelope>^M [httpServer.cpp:1402]
Dec 8 05:00:00 homematic-raspi cron.info crond[207]: USER root pid 1767 cmd /bin/SetInterfaceClock 127.0.0.1:2001
Dec 8 05:00:00 homematic-raspi cron.info crond[207]: USER root pid 1768 cmd /bin/setHWClock.sh
Dec 8 05:30:00 homematic-raspi cron.info crond[207]: USER root pid 1793 cmd /bin/SetInterfaceClock 127.0.0.1:2001
Dec 8 05:39:13 homematic-raspi local0.err ReGaHss: Error: Postback: max buffer data size reached or data without content-length: -1 postbackSize: 1047041 [httpServer.cpp:1384]
Dec 8 05:39:13 homematic-raspi local0.err ReGaHss: Error: Content-Length or Postback Param size incorrect! contLen=-1 postLen=588 PostParam=&<?xml version="1.0"?>^M <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><m:AddPortMapping xmlns:m=""><NewRemoteHost></NewRemoteHost><NewExternalPort>8889</NewExternalPort><NewProtocol>TCP</NewProtocol><NewInternalPort>8889</NewInternalPort><NewInternalClient>192.168.51.5</NewInternalClient><NewEnabled>1</NewEnabled><NewPortMappingDescription>IP-Camera</NewPortMappingDescription><NewLeaseDuration>0</NewLeaseDuration></m:AddPortMapping></SOAP-ENV:Body></SOAP-ENV:Envelope>^M [httpServer.cpp:1402]
Dec 8 05:40:25 homematic-raspi local0.err ReGaHss: Error: Postback: max buffer data size reached or data without content-length: -1 postbackSize: 1047041 [httpServer.cpp:1384]
Dec 8 05:40:25 homematic-raspi local0.err ReGaHss: Error: Content-Length or Postback Param size incorrect! contLen=-1 postLen=589 PostParam=&<?xml version="1.0"?>^M <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><m:AddPortMapping xmlns:m=""><NewRemoteHost></NewRemoteHost><NewExternalPort>8903</NewExternalPort><NewProtocol>TCP</NewProtocol><NewInternalPort>8903</NewInternalPort><NewInternalClient>192.168.51.20</NewInternalClient><NewEnabled>1</NewEnabled><NewPortMappingDescription>IP-Camera</NewPortMappingDescription><NewLeaseDuration>0</NewLeaseDuration></m:AddPortMapping></SOAP-ENV:Body></SOAP-ENV:Envelope>^M [httpServer.cpp:1402]
Dec 8 05:42:11 homematic-raspi local0.err ReGaHss: Error: XmlRpc: Error in XmlRpcClient::writeRequest: write error (error 111). [iseXmlRpc.h:281]
Dec 8 05:42:11 homematic-raspi local0.err ReGaHss: Error: IseXmlRpc::CallXmlrpcMethod: execute failed; method =getDeviceDescription Params = {"JEQ0683126"} result= nil [iseXmlRpc.cpp:2599]
Dec 8 05:42:11 homematic-raspi local0.err ReGaHss: Error: IseXmlRpc::CallGetDeviceDescription: CallXmlrpcMethod failed [iseXmlRpc.cpp:2189]
Dec 8 05:42:11 homematic-raspi local0.err ReGaHss: Error: XmlRpc: Error in XmlRpcClient::writeRequest: write error (error 111). [iseXmlRpc.h:281]
Dec 8 05:42:11 homematic-raspi local0.err ReGaHss: Error: IseXmlRpc::CallXmlrpcMethod: execute failed; method =getDeviceDescription Params = {"KEQ0433627"} result= nil [iseXmlRpc.cpp:2599]
Dec 8 05:42:11 homematic-raspi local0.err ReGaHss: Error: IseXmlRpc::CallGetDeviceDescription: CallXmlrpcMethod failed [iseXmlRpc.cpp:2189]
Dec 8 05:42:11 homematic-raspi local0.err ReGaHss: Error: XmlRpc: Error in XmlRpcClient::writeRequest: write error (error 111). [iseXmlRpc.h:281]
Dec 8 05:42:11 homematic-raspi local0.err ReGaHss: Error: IseXmlRpc::CallXmlrpcMethod: execute failed; method =getDeviceDescription Params = {"EEQ0046215"} result= nil [iseXmlRpc.cpp:2599]
Dec 8 05:42:11 homematic-raspi local0.err ReGaHss: Error: IseXmlRpc::CallGetDeviceDescription: CallXmlrpcMethod failed [iseXmlRpc.cpp:2189]
Dec 8 05:42:11 homematic-raspi local0.err ReGaHss: Error: XmlRpc: Error in XmlRpcClient::writeRequest: write error (error 111). [iseXmlRpc.h:281]
Dec 8 05:42:11 homematic-raspi local0.err ReGaHss: Error: IseXmlRpc::CallXmlrpcMethod: execute failed; method =getDeviceDescription Params = {"NEQ1802540"} result= nil [iseXmlRpc.cpp:2599]
Dec 8 05:42:11 homematic-raspi local0.err ReGaHss: Error: IseXmlRpc::CallGetDeviceDescription: CallXmlrpcMethod failed [iseXmlRpc.cpp:2189]
Dec 8 05:42:11 homematic-raspi local0.err ReGaHss: Error: XmlRpc: Error in XmlRpcClient::writeRequest: write error (error 111). [iseXmlRpc.h:281]
Dec 8 05:42:11 homematic-raspi local0.err ReGaHss: Error: IseXmlRpc::CallXmlrpcMethod: execute failed; method =getDeviceDescription Params = {"JEQ0712010"} result= nil [iseXmlRpc.cpp:2599]
Dec 8 05:42:11 homematic-raspi local0.err ReGaHss: Error: IseXmlRpc::CallGetDeviceDescription: CallXmlrpcMethod failed [iseXmlRpc.cpp:2189]
Dec 8 05:42:11 homematic-raspi local0.err ReGaHss: Error: XmlRpc: Error in XmlRpcClient::writeRequest: write error (error 111). [iseXmlRpc.h:281]
Dec 8 05:42:11 homematic-raspi local0.err ReGaHss: Error: IseXmlRpc::CallXmlrpcMethod: execute failed; method =getDeviceDescription Params = {"JEQ0098982"} result= nil [iseXmlRpc.cpp:2599]
Dec 8 05:42:11 homematic-raspi local0.err ReGaHss: Error: IseXmlRpc::CallGetDeviceDescription: CallXmlrpcMethod failed [iseXmlRpc.cpp:2189]