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

SSL 证书 #68

Closed
lsrweb opened this issue Mar 6, 2024 · 15 comments
Closed

SSL 证书 #68

lsrweb opened this issue Mar 6, 2024 · 15 comments
Labels
help wanted Extra attention is needed stale

Comments

@lsrweb
Copy link

lsrweb commented Mar 6, 2024

RequestError: write EPROTO 865216:error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER:....\third_party\boringssl\src\ssl\tls_record.cc:231:

@lsrweb
Copy link
Author

lsrweb commented Mar 6, 2024

image

@lsrweb
Copy link
Author

lsrweb commented Mar 6, 2024

image
意外发现,不只是ui出现了问题, 我的 yarn 也出现了问题

@1111mp
Copy link
Owner

1111mp commented Mar 6, 2024

请问你是开了什么vpn吗 还是之前都正常只是安装nvm-desktop之后就这样了

一般如果你使用了V2Ray这种http代理的话就容易出现这个问题

这个错误是网络问题 你现在使用的下载镜像地址是什么 默认是https://nodejs.org/dist 你可以试试在浏览器中能否正常访问

如果不能的话试试更换镜像地址试试

nvm-desktop不会使用代理 所以这个错误你看看是否跟自己计算机的网络设置有关呢

@lsrweb
Copy link
Author

lsrweb commented Mar 6, 2024

https://nodejs.org/dist/ 这个网址访问没问题

@lsrweb
Copy link
Author

lsrweb commented Mar 6, 2024

代理也关闭了,也不大行,好奇怪

@1111mp
Copy link
Owner

1111mp commented Mar 6, 2024

代理关闭之后重启一下电脑呢 有时候虽然关闭代理了但是网络的设置里面还是默认走的代理的设置(我就经常遇到这种问题 需要手动关闭http https socket这些代理的配置)

试试终端里面运行ping nodejs.org也都正常吗

@lsrweb
Copy link
Author

lsrweb commented Mar 6, 2024

ping 正常,

重启后依旧这样

@1111mp
Copy link
Owner

1111mp commented Mar 6, 2024

想确认一下 是因为安装nvm-desktop之后就出现这个问题了 还是一开始nvm-desktop用起来是正常的

你试试将https换成http

我觉这个问题还是系统代理设置的问题 或者你直接安装node试试呢

或者你换一个镜像地址:https://mirrors.tuna.tsinghua.edu.cn/nodejs-release/

@lsrweb
Copy link
Author

lsrweb commented Mar 6, 2024

在之前都没问题,然后今天我下载 vant 源码二开,使用 yarn 的时候才发现的问题,在这之前 pnpm 一直没问题

@1111mp
Copy link
Owner

1111mp commented Mar 7, 2024

目前提供的信息不太好定位到具体的问题 但是这个应该和网络设置有关 根据你的错误提示 也有可能是tls的版本不一致导致https握手失败 而如果是代理(https代理到http服务)也会造成这个问题

(如果不是使用管理员权限打开的nvm-desktop,也可以试试使用管理员权限重新打开试试)

@1111mp 1111mp added the help wanted Extra attention is needed label Mar 7, 2024
@lsrweb
Copy link
Author

lsrweb commented Mar 9, 2024

问题是高版本>18的node不支持低版本的ssl,把node版本降下来就好了。

@1111mp
Copy link
Owner

1111mp commented Mar 10, 2024

你切换到高版本的node之后就会出现这个问题吗(macOS不会出现这个问题) 那应该是和这里有关了:got #231314版本之后它开始不支持低版本(18版本)的LTS

我目前身边没有Windows设备 没办法确定 抱歉

等我有设备之后会第一时间验证并修复这个问题的

@1111mp
Copy link
Owner

1111mp commented Mar 13, 2024

这个问题感觉是不是和电脑的openssl版本有关 应该可以通过升级电脑的openssl版本来解决这个问题?

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Apr 13, 2024
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed stale
Projects
None yet
Development

No branches or pull requests

2 participants