Homematic Things missing, Buffer Error

  • Platform information: Raspi 4

    • Hardware: 4 GB RAM

    • OS: _Openhabian

    • Java Runtime Environment:
      openjdk version “1.8.0_265”
      OpenJDK Runtime Environment (Zulu 8.48.3.246-CA-linux_aarch32hf) (build 1.8.0_265-b11)
      OpenJDK Client VM (Zulu 8.48.3.246-CA-linux_aarch32hf) (build 25.265-b11, mixed mode)

    • openHAB version: 2.5.10

  • Issue of the topic: Homematic Binding doesn’t work anymore. I installed some more actors and having now round about ~160. I wanted to add these actors to my OH configuration via the thing files. After adding these actors (RC8 und OC8) the connection to the bridge is not working anymore. I tried it also only with a bridge in the thing file and with adding the Bridge via Paper UI. The autodiscoverd bridge is connected and online. If I search for the other things, i getting a buffering error, see under this post. Getting the same error, if I try to connect the brigde with my OH3 test system.

  • If logs where generated please post these here using code fences:

11:37:32.008 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'homematic:bridge:3014F711A0001F58A9A71B9C' changed from UNINITIALIZED to INITIALIZING
11:37:32.081 [INFO ] [smarthome.event.ItemStateChangedEvent] - homematic_bridge_3014F711A0001F58A9A71B9C_DUTY_CYCLE_RATIO changed from NULL to 33.0
11:37:32.094 [INFO ] [thome.event.ItemChannelLinkAddedEvent] - Link 'homematic_bridge_3014F711A0001F58A9A71B9C_DUTY_CYCLE_RATIO-homematic:bridge:3014F711A0001F58A9A71B9C:DUTY_CYCLE_RATIO' has been added.
11:37:32.098 [INFO ] [nternal.communicator.client.RpcClient] - Interface 'WIRED' on gateway '3014F711A0001F58A9A71B9C' not available, disabling support
11:37:32.178 [INFO ] [communicator.AbstractHomematicGateway] - HmGatewayInfo[id=CCU,type=CCU2,firmware=3.57.4.20210320,address=PEQ1946524,rf=true,wired=false,hmip=true,cuxd=true,group=true]
11:37:32.513 [INFO ] [ing.homematic.internal.misc.MiscUtils] - Address 'HU-Extended co' contains invalid characters, new Address 'HU-Extended_co'
11:37:32.518 [INFO ] [ing.homematic.internal.misc.MiscUtils] - Address 'HU-3D Drucker' contains invalid characters, new Address 'HU-3D_Drucker'
11:37:43.193 [ERROR] [overy.HomematicDeviceDiscoveryService] - java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Buffering capacity 2097152 exceeded
java.io.IOException: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Buffering capacity 2097152 exceeded**
        at org.openhab.binding.homematic.internal.communicator.client.XmlRpcClient.send(XmlRpcClient.java:147) ~[?:?]
        at org.openhab.binding.homematic.internal.communicator.client.XmlRpcClient.sendMessage(XmlRpcClient.java:81) ~[?:?]
        at org.openhab.binding.homematic.internal.communicator.client.RpcClient.listDevices(RpcClient.java:169) ~[?:?]
        at org.openhab.binding.homematic.internal.communicator.AbstractHomematicGateway.getDeviceDescriptions(AbstractHomematicGateway.java:448) ~[?:?]
        at org.openhab.binding.homematic.internal.communicator.AbstractHomematicGateway.loadAllDeviceMetadata(AbstractHomematicGateway.java:372) ~[?:?]
        at org.openhab.binding.homematic.internal.discovery.HomematicDeviceDiscoveryService.lambda$0(HomematicDeviceDiscoveryService.java:209) ~[?:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_265]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_265]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_265]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.8.0_265]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_265]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_265]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_265]
Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Buffering capacity 2097152 exceeded
        at org.eclipse.jetty.client.util.FutureResponseListener.getResult(FutureResponseListener.java:118) ~[?:?]
        at org.eclipse.jetty.client.util.FutureResponseListener.get(FutureResponseListener.java:101) ~[?:?]
        at org.eclipse.jetty.client.HttpRequest.send(HttpRequest.java:685) ~[?:?]
        at org.openhab.binding.homematic.internal.communicator.client.XmlRpcClient.send(XmlRpcClient.java:115) ~[?:?]
        ... 12 more
Caused by: java.lang.IllegalArgumentException: Buffering capacity 2097152 exceeded
        at org.eclipse.jetty.client.util.BufferingResponseListener.onHeaders(BufferingResponseListener.java:83) ~[?:?]
        at org.eclipse.jetty.client.ResponseNotifier.notifyHeaders(ResponseNotifier.java:98) ~[?:?]
        at org.eclipse.jetty.client.ResponseNotifier.notifyHeaders(ResponseNotifier.java:90) ~[?:?]
        at org.eclipse.jetty.client.HttpReceiver.responseHeaders(HttpReceiver.java:269) ~[?:?]
        at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.headerComplete(HttpReceiverOverHTTP.java:256) ~[?:?]
        at org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java:1192) ~[?:?]
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:1475) ~[?:?]
        at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.parse(HttpReceiverOverHTTP.java:172) ~[?:?]
        at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.process(HttpReceiverOverHTTP.java:135) ~[?:?]
        at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.receive(HttpReceiverOverHTTP.java:73) ~[?:?]
        at org.eclipse.jetty.client.http.HttpChannelOverHTTP.receive(HttpChannelOverHTTP.java:133) ~[?:?]
        at org.eclipse.jetty.client.http.HttpConnectionOverHTTP.onFillable(HttpConnectionOverHTTP.java:154) ~[?:?]
        at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) ~[?:?]
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) ~[?:?]
        at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117) ~[?:?]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) ~[?:?]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) ~[?:?]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) ~[?:?]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) ~[?:?]
        at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:367) ~[?:?]
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:782) ~[?:?]
        at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:918) ~[?:?]

Has anybody a hint for me to reactivate the homematic connection with my things?

You could try the test version of the HM binding version 2.5.13 from here: GitHub - MHerbst/openhab-addons-test

I am not absolutely sure whether I solved the problem already in this version.

It is definitely solved in version 3 binding where you can configure a larger buffer.

Thanks for the Link,
i installed the 2.5.13, Buffer Error is still there.

On my test system with a 3.10 Snapshot i added your jar to my /usr/share/openhab/addons. I can find it in the console but not in the webui. How can i add things then?

See my comment here: Debugging Homematic IP: no updates on some HmIP devices after some time - #14 by MHerbst

If the binding is active it will automatically detect the CCU as bridge and after you have configured the bridge (see add-on documentation how to increase the buffer size) the other devices will be detected.

Thanks, its working with the Snapshot 3.1

1 Like