Open karlvr opened 1 year ago
hey, thanks for this.
You are upgrading mqtt 2 to 4 which has breaking changes. Looks like are just upgrading the package version without implementing the required changes to handle new error management. (see https://github.com/mqttjs/MQTT.js#notes)
The TLS connection to Roomba is broken on Node 18 as Roomba doesn't appear to support Secure Renegotiation.
The TLS connection in
mqtt
fails with the error:When we enable legacy server connect, we are able to successfully connect. See https://www.openssl.org/docs/man1.1.1/man3/SSL_clear_options.html for more information(search for SSL_OP_LEGACY_SERVER_CONNECT).