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

Connection problem: ERR_SSL_UNSAFE_LEGACY_RENEGOTIATION_DISABLED #191

Open
FrankSausF opened this issue Apr 11, 2024 · 1 comment
Open

Comments

@FrankSausF
Copy link

Hi guys,
I keep on running into a problem connecting to my Roomba 960 via Raspberry Pi4.
Output of getpassword starts with robot ID, blid, etc. but ends with:
`node:events:495
throw er; // Unhandled 'error' event
^

Error: 407400B47F000000:error:0A000152:SSL routines:final_renegotiate:unsafe legacy renegotiation disabled:../ssl/statem/extensions.c:893:

Emitted 'error' event on TLSSocket instance at:
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
library: 'SSL routines',
reason: 'unsafe legacy renegotiation disabled',
code: 'ERR_SSL_UNSAFE_LEGACY_RENEGOTIATION_DISABLED'
}
`
Possibly, it's not really an issue for this project because it might result of my Debian environment rather than the specific coding.

Nevertheless, I might not be the only user that might run into it in conjunction with using this project.

Cheers!

Frank

@msigmund
Copy link

Hi Frank, I am running into the same issue. It seems like it has to do with an update of openssl used in node.
As a workaround, you can run the getpassword command in a docker container with an old node version. It worked for me with node:16.

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

No branches or pull requests

2 participants