help icon indicating copy to clipboard operation
help copied to clipboard

SSL decryption failed or bad record MAC

Open alicja-r opened this issue 3 years ago • 2 comments

Details

Hi, I'm getting this error installing anything using internet from my phone hotspot (Xiaomi 8). Problem is disappearing using WiFi. Once I was able to install with hotspot but then I made some changes in my computer and I reinstall my OS windows 8.1. I tried npm cache clear -f, setting SSL to false and checked settings of firewall Any ideas what can I do? Thank you for answering!

Node.js version

16

Example code

No response

Operating system

Windows 8.1

Scope

Installation

Module and version

Not applicable.

alicja-r avatar Aug 10 '22 17:08 alicja-r

I am doing an educated guess here.

It is possible that your windows PC sees your phone hotspot as a public network and uses more security settings when you connect to the phone hotspot. At some point in the past, probably the first time you connected to your phone wifi, windows should have asked you if it is a public or a private network. I guess you have chosen public.

One possible fix (I guess) could be to rename your wifi's SSID and try to connect and choose it as a trusted network, when the Windows 'Choose your network type' popup appears. Also, allowing node.js to run through Windows Defender Firewall

I am suspecting this to be the reason because there is a similar issue recorded in the past -- https://github.com/nodejs/help/issues/3815

vivganes avatar Aug 11 '22 19:08 vivganes

I am doing an educated guess here.

It is possible that your windows PC sees your phone hotspot as a public network and uses more security settings when you connect to the phone hotspot. At some point in the past, probably the first time you connected to your phone wifi, windows should have asked you if it is a public or a private network. I guess you have chosen public.

One possible fix (I guess) could be to rename your wifi's SSID and try to connect and choose it as a trusted network, when the Windows 'Choose your network type' popup appears. Also, allowing node.js to run through Windows Defender Firewall

I am suspecting this to be the reason because there is a similar issue recorded in the past -- #3815

Thank you. it worked for me.

Bajarangj avatar Oct 13 '22 11:10 Bajarangj

@alicja-r is the above suggestion solved your problem

preveen-stack avatar Jun 28 '23 16:06 preveen-stack

It seems there has been no activity on this issue for a while, and it is being closed in 30 days. If you believe this issue should remain open, please leave a comment. If you need further assistance or have questions, you can also search for similar issues on Stack Overflow. Make sure to look at the README file for the most updated links.

github-actions[bot] avatar May 08 '24 01:05 github-actions[bot]

It seems there has been no activity on this issue for a while, and it is being closed. If you believe this issue should remain open, please leave a comment. If you need further assistance or have questions, you can also search for similar issues on Stack Overflow. Make sure to look at the README file for the most updated links.

github-actions[bot] avatar Jun 07 '24 01:06 github-actions[bot]