[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node18 tls fix #168

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Node18 tls fix #168

wants to merge 3 commits into from

Conversation

karlvr
Copy link
@karlvr karlvr commented Nov 19, 2022

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:

Error: write EPROTO 002511FF01000000:error:0A000152:SSL routines:final_renegotiate:unsafe legacy renegotiation disabled:../deps/openssl/openssl/ssl/statem/extensions.c:922:

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).

Node 18 appears to reject connections to the Roomba as it doesn’t support Secure Renegotiation. See https://www.openssl.org/docs/man1.1.1/man3/SSL_clear_options.html (search for SSL_OP_LEGACY_SERVER_CONNECT)
@koalazak
Copy link
Owner
koalazak commented Jul 7, 2023

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)

@jwdempsey jwdempsey mentioned this pull request May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants