V2EX 09月29日 10:41
小火箭更新后curl命令报错的Mac用户求助
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

一位Mac用户在更新小火箭(Shadowrocket)至2.2.71(2829)版本后,发现使用curl命令时出现HTTP2 framing layer错误,具体表现为curl: (16) Error in the HTTP2 framing layer。该问题仅在小火箭开启时出现,关闭后则正常。用户使用的是Macmini M4,系统版本为15.6.1。通过curl -v测试github.com,显示SSL握手成功,但后续数据传输时出现'error:1404C3FC:SSL routines:ST_OK:sslv3 alert bad record mac'的错误。用户已为此困扰两天,寻求社区的解决方案。

🐞 **问题现象**: 用户在Mac mini M4(macOS 15.6.1)上,更新小火箭至2.2.71(2829)版本后,在开启小火箭的情况下,使用curl命令连接互联网时出现HTTP2 framing layer错误(curl: (16) Error in the HTTP2 framing layer)。关闭小火箭后,curl命令恢复正常。

🔬 **详细错误信息**: 通过curl -v测试github.com,显示SSL握手过程正常,但接收HTTP2数据时出现LibreSSL错误:'LibreSSL SSL_read: LibreSSL/3.3.6: error:1404C3FC:SSL routines:ST_OK:sslv3 alert bad record mac, errno 0',最终导致curl: (56) Failure when receiving data from the peer。

❓ **用户困境与求助**: 该问题已困扰用户两天,影响了使用Homebrew等依赖curl进行安装和更新的工具。用户希望找到根本原因并获得有效的解决方案,以便在不关闭小火箭的情况下正常使用curl命令。

前两天更新完 mac 版小火箭后 开启小火箭使用 curl 命令会出问题(不开则没问题)

机器是 macmini m4系统是 15.6.1小火箭版本是 2.2.71(2829)

curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.shcurl: (16) Error in the HTTP2 framing layer
curl -v https://github.com                                                    * Host github.com:443 was resolved.* IPv6: ::ffff:0:c612:12* IPv4: 140.82.112.3*   Trying 140.82.112.3:443...* Connected to github.com (140.82.112.3) port 443* ALPN: curl offers h2,http/1.1* (304) (OUT), TLS handshake, Client hello (1):*  CAfile: /etc/ssl/cert.pem*  CApath: none* (304) (IN), TLS handshake, Server hello (2):* (304) (IN), TLS handshake, Unknown (8):* (304) (IN), TLS handshake, Certificate (11):* (304) (IN), TLS handshake, CERT verify (15):* (304) (IN), TLS handshake, Finished (20):* (304) (OUT), TLS handshake, Finished (20):* SSL connection using TLSv1.3 / AEAD-CHACHA20-POLY1305-SHA256 / [blank] / UNDEF* ALPN: server accepted h2* Server certificate:*  subject: CN=github.com*  start date: Feb  5 00:00:00 2025 GMT*  expire date: Feb  5 23:59:59 2026 GMT*  subjectAltName: host "github.com" matched cert's "github.com"*  issuer: C=GB; ST=Greater Manchester; L=Salford; O=Sectigo Limited; CN=Sectigo ECC Domain Validation Secure Server CA*  SSL certificate verify ok.* using HTTP/2* [HTTP/2] [1] OPENED stream for https://github.com/* [HTTP/2] [1] [:method: GET]* [HTTP/2] [1] [:scheme: https]* [HTTP/2] [1] [:authority: github.com]* [HTTP/2] [1] [:path: /]* [HTTP/2] [1] [user-agent: curl/8.7.1]* [HTTP/2] [1] [accept: */*]> GET / HTTP/2> Host: github.com> User-Agent: curl/8.7.1> Accept: */*> * Request completely sent off* LibreSSL SSL_read: LibreSSL/3.3.6: error:1404C3FC:SSL routines:ST_OK:sslv3 alert bad record mac, errno 0* Failed receiving HTTP2 data: 56(Failure when receiving data from the peer)* Connection #0 to host github.com left intactcurl: (56) LibreSSL SSL_read: LibreSSL/3.3.6: error:1404C3FC:SSL routines:ST_OK:sslv3 alert bad record mac, errno 0

搞了两天没搞明白是啥问题,有没有大佬知道怎么解决

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

小火箭 Shadowrocket curl macOS HTTP2 SSL错误 网络问题 Homebrew
相关文章