Err_ssl_decryption_failed

Hi all,

I can't install new nodes via the palette or via the terminal. I'm getting that error : ERR_SSL_DECRYPTION_FAILED_OR_BAD_RECORD_MAC

26 Sep 09:18:49 - [info] Node-RED version: v3.0.2
26 Sep 09:18:49 - [info] Node.js  version: v16.17.0
26 Sep 09:18:49 - [info] Linux 5.10.103-v7l+ arm LE
26 Sep 09:18:50 - [info] Loading palette nodes
26 Sep 09:18:52 - [warn] ------------------------------------------------------
26 Sep 09:18:52 - [warn] [node-red-node-serialport/serialport] Error: Cannot find module '/home/pi/.node-red/node_modules/ms/index'. Please verify that the package.json has a valid "main" entry
26 Sep 09:18:52 - [warn] ------------------------------------------------------
26 Sep 09:18:52 - [info] Settings file  : /home/pi/.node-red/settings.js
26 Sep 09:18:52 - [info] Context store  : 'default' [module=memory]
26 Sep 09:18:52 - [info] User directory : /home/pi/.node-red
26 Sep 09:18:52 - [warn] Projects disabled : editorTheme.projects.enabled=false
26 Sep 09:18:52 - [info] Flows file     : /home/pi/.node-red/flows.json
26 Sep 09:18:52 - [error] Uncaught Exception:
26 Sep 09:18:52 - [error] Error: listen EADDRINUSE: address already in use 0.0.0.0:1880
    at Server.setupListenHandle [as _listen2] (node:net:1432:16)
    at listenInCluster (node:net:1480:12)
    at doListen (node:net:1629:7)
    at processTicksAndRejections (node:internal/process/task_queues:84:21)

Here is the error log:

0 verbose cli /usr/bin/node /usr/bin/npm
1 info using npm@8.15.0
2 info using node@v16.17.0
3 timing npm:load:whichnode Completed in 1ms
4 timing config:load:defaults Completed in 11ms
5 timing config:load:file:/usr/lib/node_modules/npm/npmrc Completed in 1ms
6 timing config:load:builtin Completed in 3ms
7 warn config production Use `--omit=dev` instead.
8 timing config:load:cli Completed in 8ms
9 timing config:load:env Completed in 1ms
10 timing config:load:file:/home/pi/.node-red/.npmrc Completed in 0ms
11 timing config:load:project Completed in 7ms
12 timing config:load:file:/home/pi/.npmrc Completed in 3ms
13 timing config:load:user Completed in 3ms
14 timing config:load:file:/usr/etc/npmrc Completed in 0ms
15 timing config:load:global Completed in 0ms
16 timing config:load:validate Completed in 4ms
17 timing config:load:credentials Completed in 3ms
18 timing config:load:setEnvs Completed in 3ms
19 timing config:load Completed in 45ms
20 timing npm:load:configload Completed in 45ms
21 timing npm:load:mkdirpcache Completed in 2ms
22 timing npm:load:mkdirplogs Completed in 2ms
23 verbose title npm install node-red-dashboard@3.2.0
24 verbose argv "install" "--no-audit" "--no-update-notifier" "--no-fund" "--save" "--save-prefix" "~" "--production" "--engine-strict" "node-red-dashboard@3.2.0"
25 timing npm:load:setTitle Completed in 4ms
26 timing config:load:flatten Completed in 10ms
27 timing npm:load:display Completed in 15ms
28 verbose logfile logs-max:10 dir:/home/pi/.npm/_logs
29 verbose logfile /home/pi/.npm/_logs/2022-09-26T07_02_13_599Z-debug-0.log
30 timing npm:load:logFile Completed in 15ms
31 timing npm:load:timers Completed in 1ms
32 timing npm:load:configScope Completed in 0ms
33 timing npm:load Completed in 87ms
34 timing arborist:ctor Completed in 2ms
35 silly logfile start cleaning logs, removing 1 files
36 silly logfile done cleaning log files
37 timing idealTree:init Completed in 147ms
38 timing idealTree:userRequests Completed in 11ms
39 silly idealTree buildDeps
40 silly fetch manifest node-red-dashboard@3.2.0
41 timing arborist:ctor Completed in 0ms
42 silly placeDep ROOT node-red-dashboard@ OK for: node-red-project@0.0.1 want: 3.2.0
43 timing idealTree:#root Completed in 1423ms
44 timing idealTree:node_modules/node-red-dashboard Completed in 0ms
45 timing idealTree:buildDeps Completed in 1430ms
46 timing idealTree:fixDepFlags Completed in 7ms
47 timing idealTree Completed in 1604ms
48 timing command:install Completed in 1654ms
49 verbose type system
50 verbose stack FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/node-red-dashboard: 3069991424:error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac:../deps/openssl/openssl/ssl/record/ssl3_record.c:677:
50 verbose stack
50 verbose stack     at /usr/lib/node_modules/npm/node_modules/minipass-fetch/lib/body.js:168:15
50 verbose stack     at processTicksAndRejections (node:internal/process/task_queues:96:5)
50 verbose stack     at async RegistryFetcher.packument (/usr/lib/node_modules/npm/node_modules/pacote/lib/registry.js:99:25)
50 verbose stack     at async RegistryFetcher.manifest (/usr/lib/node_modules/npm/node_modules/pacote/lib/registry.js:124:23)
50 verbose stack     at async Arborist.[nodeFromEdge] (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1108:19)
50 verbose stack     at async Arborist.[buildDepStep] (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:976:11)
50 verbose stack     at async Arborist.buildIdealTree (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:218:7)
50 verbose stack     at async Promise.all (index 1)
50 verbose stack     at async Arborist.reify (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:154:5)
50 verbose stack     at async Install.exec (/usr/lib/node_modules/npm/lib/commands/install.js:145:5)
51 verbose cwd /home/pi/.node-red
52 verbose Linux 5.10.103-v7l+
53 verbose node v16.17.0
54 verbose npm  v8.15.0
55 error code ERR_SSL_DECRYPTION_FAILED_OR_BAD_RECORD_MAC
56 error errno ERR_SSL_DECRYPTION_FAILED_OR_BAD_RECORD_MAC
57 error Invalid response body while trying to fetch https://registry.npmjs.org/node-red-dashboard: 3069991424:error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac:../deps/openssl/openssl/ssl/record/ssl3_record.c:677:
57 error
58 verbose exit 1
59 timing npm Completed in 1998ms
60 verbose unfinished npm timer reify 1664175733884
61 verbose unfinished npm timer reify:loadTrees 1664175733924
62 verbose code 1
63 error A complete log of this run can be found in:
63 error     /home/pi/.npm/_logs/2022-09-26T07_02_13_599Z-debug-0.log

I've looked over the web but found no solution.

I did try:

npm version is 8.15.0

Thank you for helping me !

I fixed it by changing of SSID. Who knows.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.