Rtl4332mqtt can't connect to MQTT integration but CLI works

I can publish to MQTT topics from the CLI:

mosquitto_pub -h 127.0.0.1 -t homeassistant/sensor/freezers -m "temperature_F: 44" -u xxxxx -P xxxxxxx 
~ mosquitto_sub -h 127.0.0.1 -v -t "homeassistant/#" 
homeassistant/sensor/freezers temperature_F: 44

But using the same user in the rtl4332mqtt integration fails with “Error: connection refused”. It seems to be connecting, but with issues.

1591544797: New connection from 172.30.32.1 on port 1883.
1591544797: Socket error on client <unknown>, disconnecting.

I am also unable to publish to MQTT using hassio.local as the broker address.

What else can i test?

MQTT: v5.1
rtl4332mqtt: v0.2

Don’t use 127.0.0.1 as the broker address. Use the IP of your host (the one you use to connect to HA, xxx.xxx.xxx.xxx:8123)

I have tried both the local IP (192.168.1.xxx) and homeassistant.local (which is what i use to connect, with the same result: connection refused. Those don’t work with the CLI command either, whereas 127.0.0.1 does.

Show your mqtt configuration.

here is mine


and