Homematic Binding Error after openhab 3.0.1 Update

Hello,

I make the openhab update to 3.0.1 this morning. After the Update I got Errors on Homematic Binding. I restarted openhab, cleared cache, remove Homematic bridge and APP things and rescaned it and finaly reinstalled Homematic Binding. No Solution.
The Firewall Settings on my CCU3 are as described in the Binding dokumentation

eQ3-HmIP-CCU3-App - 192.168.xxx.xxx -> Status offline
COMMUNICATION_ERROR
org.xml.sax.SAXNotRecognizedException: Feature ‘https://xml.org/sax/features/external-general-entities’ is not recognized.

Homematic Bridge
COMMUNICATION_ERROR
org.xml.sax.SAXNotRecognizedException: Feature ‘https://xml.org/sax/features/external-general-entities’ is not recognized.

All other Homematic Thins on Error:Bridge

Messages in openhab.log
> 2021-01-27 07:00:37.640 [TRACE] [nal.communicator.client.XmlRpcClient] - Client XmlRpcRequest (port 2001):
> <?xml version="1.0" encoding="ISO-8859-1"?>
> getDeviceDescription
> BidCoS-RF
> 2021-01-27 07:00:37.650 [TRACE] [nal.communicator.client.XmlRpcClient] - Client XmlRpcResponse (port 2001):
> <?xml version="1.0" encoding="iso-8859-1"?>
>
> ADDRESSBidCoS-RFCHILDRENBidCoS-RF:0BidCoS-RF:1BidCoS-RF:2BidCoS-RF:3BidCoS-RF:4BidCoS-RF:5BidCoS-RF:6BidCoS-RF:7BidCoS-RF:8BidCoS-RF:9BidCoS-RF:10BidCoS-RF:11BidCoS-RF:12BidCoS-RF:13BidCoS-RF:14BidCoS-RF:15BidCoS-RF:16BidCoS-RF:17BidCoS-RF:18BidCoS-RF:19BidCoS-RF:20BidCoS-RF:21BidCoS-RF:22BidCoS-RF:23BidCoS-RF:24BidCoS-RF:25BidCoS-RF:26BidCoS-RF:27BidCoS-RF:28BidCoS-RF:29BidCoS-RF:30BidCoS-RF:31BidCoS-RF:32BidCoS-RF:33BidCoS-RF:34BidCoS-RF:35BidCoS-RF:36BidCoS-RF:37BidCoS-RF:38BidCoS-RF:39BidCoS-RF:40BidCoS-RF:41BidCoS-RF:42BidCoS-RF:43BidCoS-RF:44BidCoS-RF:45BidCoS-RF:46BidCoS-RF:47BidCoS-RF:48BidCoS-RF:49BidCoS-RF:50FIRMWARE3.55.10FLAGS9INTERFACEQEQ0144887PARAMSETSMASTERPARENTRF_ADDRESS4554857ROAMING0RX_MODE1TYPEHM-RCV-50UPDATABLE0VERSION6
>
>
> 2021-01-27 07:00:37.657 [TRACE] [nal.communicator.client.XmlRpcClient] - Client XmlRpcRequest (port 2001):
> <?xml version="1.0" encoding="ISO-8859-1"?>
> listBidcosInterfaces
>
> 2021-01-27 07:00:37.666 [TRACE] [nal.communicator.client.XmlRpcClient] - Client XmlRpcResponse (port 2001):
> <?xml version="1.0" encoding="iso-8859-1"?>
>
> ADDRESSQEQ0144887CONNECTED1DEFAULT1DESCRIPTIONDUTY_CYCLE5FIRMWARE_VERSION4.2.6TYPECCU2
>
>
> 2021-01-27 07:00:37.673 [TRACE] [nal.communicator.client.XmlRpcClient] - Client XmlRpcRequest (port 2010):
> <?xml version="1.0" encoding="ISO-8859-1"?>
> listBidcosInterfaces
>
> 2021-01-27 07:00:37.689 [TRACE] [nal.communicator.client.XmlRpcClient] - Client XmlRpcResponse (port 2010):
> <?xml version="1.0" encoding="ISO-8859-1"?>ADDRESS3014F711A0001F9A498B9DF7DESCRIPTIONHMIP_CCU2 3014F711A0001F9A498B9DF7CONNECTED1DEFAULT1TYPEHMIP_CCU2FIRMWARE_VERSION4.2.6DUTY_CYCLE5
> 2021-01-27 07:00:37.696 [DEBUG] [ernal.handler.HomematicBridgeHandler] - Homematic bridge was set to OFFLINE-COMMUNICATION_ERROR due to the following exception: org.xml.sax.SAXNotRecognizedException: Feature ‘https://xml.org/sax/features/external-general-entities’ is not recognized.
> java.io.IOException: org.xml.sax.SAXNotRecognizedException: Feature ‘https://xml.org/sax/features/external-general-entities’ is not recognized.
> at org.openhab.binding.homematic.internal.communicator.client.XmlRpcClient.sendMessage(XmlRpcClient.java:91) ~[bundleFile:?]
> at org.openhab.binding.homematic.internal.communicator.client.RpcClient.listBidcosInterfaces(RpcClient.java:119) ~[bundleFile:?]
> at org.openhab.binding.homematic.internal.communicator.client.RpcClient.getGatewayInfo(RpcClient.java:245) ~[bundleFile:?]
> at org.openhab.binding.homematic.internal.communicator.HomematicGatewayFactory.loadGatewayInfo(HomematicGatewayFactory.java:50) ~[bundleFile:?]
> at org.openhab.binding.homematic.internal.communicator.HomematicGatewayFactory.createGateway(HomematicGatewayFactory.java:34) ~[bundleFile:?]
> at org.openhab.binding.homematic.internal.handler.HomematicBridgeHandler.initializeInternal(HomematicBridgeHandler.java:109) [bundleFile:?]
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
> at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
> at java.lang.Thread.run(Thread.java:834) [?:?]
> Caused by: org.xml.sax.SAXNotRecognizedException: Feature ‘https://xml.org/sax/features/external-general-entities’ is not recognized.
> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.setFeature(AbstractSAXParser.java:1674) ~[?:?]
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.setFeature0(SAXParserImpl.java:656) ~[?:?]
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setFeatures(SAXParserImpl.java:244) ~[?:?]
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.(SAXParserImpl.java:178) ~[?:?]
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.(SAXParserImpl.java:122) ~[?:?]
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl.newSAXParserImpl(SAXParserFactoryImpl.java:95) ~[?:?]
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl.setFeature(SAXParserFactoryImpl.java:133) ~[?:?]
> at org.openhab.binding.homematic.internal.communicator.message.XmlRpcResponse.(XmlRpcResponse.java:50) ~[bundleFile:?]
> at org.openhab.binding.homematic.internal.communicator.client.XmlRpcClient.sendMessage(XmlRpcClient.java:85) ~[bundleFile:?]
> … 11 more
> 2021-01-27 07:00:37.703 [DEBUG] [ernal.handler.HomematicBridgeHandler] - Disposing bridge ‘3014F711A0001F9A498B9DF7’
> 2021-01-27 07:00:37.705 [DEBUG] [very.HomematicDeviceDiscoveryService] - Stopping Homematic discovery scan
> 2021-01-27 07:00:37.707 [DEBUG] [very.HomematicDeviceDiscoveryService] - Waiting for finishing Homematic device discovery scan
> 2021-01-27 07:00:37.709 [DEBUG] [very.HomematicDeviceDiscoveryService] - Finished Homematic device discovery scan on gateway ‘UNKNOWN’
> 2021-01-27 07:15:00.685 [WARN ] [ternal.handler.HomematicThingHandler] - HomematicGateway not yet available!
> 2021-01-27 07:30:00.684 [WARN ] [ternal.handler.HomematicThingHandler] - HomematicGateway not yet available!

Any Ideas for solutions ?
Ingo

I have no solution but also a Problem with the homematic binding since the 3.0.1 Update.

My Bridge is offline with the Error: (COMMUNICATION_ERROR): java.util.concurrent.ExecutionException: java.net.ConnectException: Verbindungsaufbau abgelehnt

Homematic Bridge is a homegear install on the same system. I can reach it from my computer but not from the Openhab3 system.

On German OH Facebook Group I have read that there is a Problem with the Binding with this Update.

I hope it can fix.

Hi Philipp,

thx for answer. I also have no solution. If there is no fix till tomorow I’ll try to rollback the upgrade

Ingo

Version 3.0.1 has got some general problems: openHAB 3.0 Release discussion - #128 by Kai

Please try again after a new version was published.

If you are updating OH on a Raspberry I would recommend to restart OH after the first start is completed. Due to the slowness of the device OH sometimes does not work correctly when it is started for the first time after an update.

Sorry for the issues, it should be solved now.

2 Likes

Hi, now it works fine. Thank you.

1 Like

Might be helpful for someone else:
Especially if using docker, you might need to clean the cache (= wipe openhab/userdata/tmp) in order to get the latest, bugfree binding version!

1 Like

Hi,
I’ve the same problem. I use openhab with the latest docker image. Wipe the cache didn’t solve the problem, what can I do to get the bugfree binding?

Thanks

Wipe both:

  • /openhab/userdata/cache
  • /openhab/userdata/tmp