You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Double Take cannot connect to MQTT broker with TLS encryption on.
Error on mosquitto log side: "Client connection from 172.20.0.128 failed: error:1402542E:SSL routines:ACCEPT_SR_CLNT_HELLO:tlsv1 alert protocol version." which seems to suggest that Double Take should use mqtts://host:port (notice the s after mqtt) instead of mqtt://host:port.
Version of Double Take 1.13.1 (latest image jakowenko/double-take on docker hub)
Expected behavior
When TLS settings are provided, replace mqtt with mqtts in the connection string to enable encrypted network communication.
Additional context
Between Frigate and MQTT, the mqtts is only enabled when the config option tls_ca_certs is set. I tried the equivalent in Double Take (ca in tls sub section of mqtt) but it doesn't work.
In double-take, lines 90 to 100 of mqtt.util.js seem to have "mqtt://" hardcoded no matter if TLS settings are provided
Describe the bug
Double Take cannot connect to MQTT broker with TLS encryption on.
Error on mosquitto log side: "Client connection from 172.20.0.128 failed: error:1402542E:SSL routines:ACCEPT_SR_CLNT_HELLO:tlsv1 alert protocol version." which seems to suggest that Double Take should use mqtts://host:port (notice the s after mqtt) instead of mqtt://host:port.
Version of Double Take
1.13.1
(latest image jakowenko/double-take on docker hub)Expected behavior
When TLS settings are provided, replace mqtt with mqtts in the connection string to enable encrypted network communication.
Screenshots/logs
2024-01-14T15:26:30.476773322Z error: MQTT: Cannot parse protocolId
2024-01-14T15:26:30.485661016Z error: MQTT: read ECONNRESET
Hardware
Additional context
Between Frigate and MQTT, the mqtts is only enabled when the config option
tls_ca_certs
is set. I tried the equivalent in Double Take (ca
intls
sub section of mqtt) but it doesn't work.In double-take, lines 90 to 100 of
mqtt.util.js
seem to have "mqtt://" hardcoded no matter if TLS settings are providedThe text was updated successfully, but these errors were encountered: