For a couple weeks now I’ve had an issue where HomeAssistant’s MQTT Broker integration will no longer connect to my external mqtt broker. I initially set up the broker to receive Owntracks data from my wife’s and my cell phones. This side of the setup has continued to work without interruption. I’ve also verified that the login information created for my HA server still works using the unencrypted localhost port on the server.
I initially set up HomeAssistant Supervisor to use the MQTT integration around January 3rd, and it had been running fine since until the problem seemed to start when I updated my HomeAssistant Supervisor to 2022.2.1 on Feb 3rd. I’m currently running 2022.2.5.
In my configuration.yaml file I’ve the following information:
mqtt:
certificate: auto
broker: "mqtt.REDACTED.com"
port: 8883
username: "REDACTED"
password: "REDACTED"
My MQTT server logs this upon HA’s attempt to subscribe to the Owntracks/# topic:
1644438148: New connection from REDACTED on port 8883.
1644438148: OpenSSL Error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number
Judging by the OpenSSL Error, I’m guessing that the MQTT integration is trying to use the wrong ssl version. Is there a way to change this in the configuration.yaml?
I’ve pulled the github formatted System Health information and posted it below:
## System Health
version | core-2022.2.5
-- | --
installation_type | Home Assistant Supervised
dev | false
hassio | true
docker | true
user | root
virtualenv | false
python_version | 3.9.7
os_name | Linux
os_version | 5.10.0-10-amd64
arch | x86_64
timezone | America/New_York
<details><summary>Home Assistant Cloud</summary>
logged_in | false
-- | --
can_reach_cert_server | ok
can_reach_cloud_auth | ok
can_reach_cloud | ok
</details>
<details><summary>Home Assistant Supervisor</summary>
host_os | Debian GNU/Linux 11 (bullseye)
-- | --
update_channel | stable
supervisor_version | supervisor-2022.01.1
docker_version | 20.10.12
disk_total | 455.5 GB
disk_used | 7.4 GB
healthy | true
supported | true
supervisor_api | ok
version_api | ok
installed_addons | Check Home Assistant configuration (3.9.0)
</details>
<details><summary>Lovelace</summary>
dashboards | 2
-- | --
resources | 0
views | 1
mode | storage
</details>