SMA Binding - SMA Energy Meter - Error: config -- java.net.SocketTimeoutException: Receive timed out

  • Platform information:
    • Hardware: Raspberry Pi4 / 8GB
    • OS: Ubuntu 20.04-6 LTS
    • Java Runtime Environment: OpenJDK 11.0.24
    • openHAB version: 3.4.2

Hello!
I was able (without any effort) to install the SMA binding on an Intel based Ubuntu 20.04 Openhab. (This is my normal PC for development). On my Raspberry Pi4 (specs see above) I get during the initialization a
java.net.SocketTimeoutException: Receive timed out
error.
Multicasting on the Raspi is enabled.
I have no clue what can be the reason for this.
Network connection is perfectly fine (over LAN Cat7) and other devices in the network are recognized by OpenHab.
Do you have any hints what to look for?
Thank you in advance.
Wolfgang

Hello,

I was able to resolve the issue myself.
On the Raspberry Pi in contrast to the Intel based development PC I’m running the local firewall ufw with only selected ports open.
In the case of a multicast connection the given UDP port must be opened because, after becoming a member in a given multicast group, the server will send message to the enrolled members and because of this the port must be opened.
After I did this also on the Raspberry Pi, the connection was running well.
I will close this ticket now.
Kind regards
Wolfgang