[Homematic] RPCFunctions.jsonRpcPost: Exception: <urlopen error [Errno 111] Connection refused>

Hi,

I have just updated my Home Assistant to 2021.12.4 and Home Assistant OS 7.0 as well as Raspberrymatic to 3.61.7.20211218.

Since then, I can not control any Homematic device via Home Assistant. I get the following log entries:

Logger: pyhomematic._hm
Source: /usr/local/lib/python3.9/site-packages/pyhomematic/_hm.py:393
First occurred: 21:55:48 (1 occurrences)
Last logged: 21:55:48

RPCFunctions.jsonRpcPost: Exception: <urlopen error [Errno 111] Connection refused>

As well as:

Logger: pyhomematic._hm
Source: /usr/local/lib/python3.9/site-packages/pyhomematic/_hm.py:766
First occurred: 21:55:48 (3 occurrences)
Last logged: 21:56:48

ServerThread.jsonRpcLogin: Unable to open session.

Is this a known bug?

After several restarts the error was gone. However, I haven’t changed something and I can’t tell what the problem was.