TT Bigdata TT Bigdata
首页
  • 部署专题

    • 常规安装
    • 一键部署
  • 组件专题

    • 安装指导
    • 开启 Kerberos
    • 魔改分享
  • 版本专题

    • 更新说明
    • BUG临时处理
  • 实验室

    • VIEW插件
    • JIRA速查
  • Ambari-Env

    • 环境准备
    • 开始使用
  • 组件编译

    • 专区—Ambari
    • 专区—Bigtop-官方组件
    • 专区—Bigtop-扩展组件
  • 报错解决

    • 专区—Ambari
    • 专区—Bigtop
  • 其他技巧

    • APT仓库增量更新
    • Maven镜像加速
    • Gradle镜像加速
    • Bower镜像加速
    • 虚拟环境思路
    • R环境安装+一键安装脚本
    • Ivy配置私有镜像仓库
    • Node.js 多版本共存方案
    • Ambari Web本地启动
    • Npm镜像加速
    • PostgreSQL快速安装
    • Temurin JDK 23快速安装
  • 成神之路

    • 专区—Ambari
    • 专区—Ambari-Metrics
    • 专区—Bigtop
  • 集成案例

    • Redis集成教学
    • Dolphin集成教学
    • Doris集成教学
    • 持续整理...
  • 核心代码

    • 各组件代码
    • 通用代码模板
  • 国产化&其他系统

    • Kylin V10系列
    • Rocky系列
    • Ubuntu系列
  • Grafana监控方案

    • Ambari-Metrics插件
    • Infinity插件
  • 支持&共建

    • 蓝图愿景
    • 合作共建
登陆
GitHub (opens new window)

JaneTTR

数据酿造智慧,每一滴都是沉淀!
首页
  • 部署专题

    • 常规安装
    • 一键部署
  • 组件专题

    • 安装指导
    • 开启 Kerberos
    • 魔改分享
  • 版本专题

    • 更新说明
    • BUG临时处理
  • 实验室

    • VIEW插件
    • JIRA速查
  • Ambari-Env

    • 环境准备
    • 开始使用
  • 组件编译

    • 专区—Ambari
    • 专区—Bigtop-官方组件
    • 专区—Bigtop-扩展组件
  • 报错解决

    • 专区—Ambari
    • 专区—Bigtop
  • 其他技巧

    • APT仓库增量更新
    • Maven镜像加速
    • Gradle镜像加速
    • Bower镜像加速
    • 虚拟环境思路
    • R环境安装+一键安装脚本
    • Ivy配置私有镜像仓库
    • Node.js 多版本共存方案
    • Ambari Web本地启动
    • Npm镜像加速
    • PostgreSQL快速安装
    • Temurin JDK 23快速安装
  • 成神之路

    • 专区—Ambari
    • 专区—Ambari-Metrics
    • 专区—Bigtop
  • 集成案例

    • Redis集成教学
    • Dolphin集成教学
    • Doris集成教学
    • 持续整理...
  • 核心代码

    • 各组件代码
    • 通用代码模板
  • 国产化&其他系统

    • Kylin V10系列
    • Rocky系列
    • Ubuntu系列
  • Grafana监控方案

    • Ambari-Metrics插件
    • Infinity插件
  • 支持&共建

    • 蓝图愿景
    • 合作共建
登陆
GitHub (opens new window)
  • Ambari Views

  • Ambari

    • phantomjs下载失败问题
    • 编译问题:GCC 安装与配置
    • bower CERT_HAS_EXPIRED 错误问题
    • Ambari-admin包出现bower install错误
    • Cannot run program "rpmbuild"
    • Python: No such file or directory
    • Yarn解压报错EOFException排查与解决
    • Rpm-maven-plugin与shebang兼容性报错
    • Rpm-maven-plugin 最佳实践
    • Bower install拉取失败解决
    • 缺少 python3 报错解决
    • Python(>=2.6) but is not installed
    • SSL_ERROR_SYSCALL 的修复方法
      • 一、问题现场
      • 二、诊断过程
      • 三、修复方案(稳定可复用)
      • 四、加固建议与断点续跑
  • Ambari-infra

  • Ambari-metrics

  • 报错解决-Ambari
  • Ambari
JaneTTR
2025-09-24
目录

SSLERRORSYSCALL 的修复方法kylin10

注意

本文所述报错出现在 Kylin v10 系统环境下。
其他操作系统是否同样适用,请读者自行验证与尝试。

# 一、问题现场

bower chai#1.8.0              validate 1.8.0 against https://github.com/chaijs/chai.git#1.8.0
bower commonjs#0.2.0            cached https://github.com/chrisabrams/commonjs.git#0.2.0
bower commonjs#0.2.0          validate 0.2.0 against https://github.com/chrisabrams/commonjs.git#0.2.0
bower angular-mocks#*           cached https://github.com/angular/bower-angular-mocks.git#1.8.3
bower angular-mocks#*         validate 1.8.3 against https://github.com/angular/bower-angular-mocks.git#*
bower angular-bootstrap#0.11.0  cached https://github.com/angular-ui/bootstrap-bower.git#0.11.0
bower angular-bootstrap#0.11.0         validate 0.11.0 against https://github.com/angular-ui/bootstrap-bower.git#0.11.0
bower mocha#1.14.0                       cached https://github.com/mochajs/mocha.git#1.14.0
bower mocha#1.14.0                     validate 1.14.0 against https://github.com/mochajs/mocha.git#1.14.0
bower angular-bootstrap-toggle-switch#0.5.1           cached https://github.com/JumpLink/angular-toggle-switch.git#0.5.1
bower angular-bootstrap-toggle-switch#0.5.1         validate 0.5.1 against https://github.com/JumpLink/angular-toggle-switch.git#0.5.1
bower underscore#1.7.0                                cached https://github.com/jashkenas/underscore.git#1.7.0
bower underscore#1.7.0                              validate 1.7.0 against https://github.com/jashkenas/underscore.git#1.7.0
bower sinon#1.10.3                                    cached https://github.com/cjohansen/Sinon.JS.git#1.10.3
bower sinon#1.10.3                                  validate 1.10.3 against https://github.com/cjohansen/Sinon.JS.git#1.10.3
bower angular-translate#*                             cached https://github.com/PascalPrecht/bower-angular-translate.git#2.19.1
bower angular-translate#*                           validate 2.19.1 against https://github.com/PascalPrecht/bower-angular-translate.git#*
bower lodash#>=1.3.0 <2.5.0                           cached https://github.com/lodash/lodash.git#2.4.2
bower lodash#>=1.3.0 <2.5.0                         validate 2.4.2 against https://github.com/lodash/lodash.git#>=1.3.0 <2.5.0
bower jquery#1.9.1 - 3                            not-cached https://github.com/jquery/jquery-dist.git#1.9.1 - 3
bower jquery#1.9.1 - 3                               resolve https://github.com/jquery/jquery-dist.git#1.9.1 - 3
bower jquery#1.9.1 - 3                               ECMDERR Failed to execute "git ls-remote --tags --heads https://github.com/jquery/jquery-dist.git", exit code of #128 fatal: unable to access
 'https://github.com/jquery/jquery-dist.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

Additional error details:
fatal: unable to access 'https://github.com/jquery/jquery-dist.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Ambari Main 3.0.0.0.0:
[INFO]
[INFO] Ambari Main ........................................ SUCCESS [  9.088 s]
[INFO] Apache Ambari Project POM .......................... SUCCESS [  0.118 s]
[INFO] Ambari Web ......................................... SUCCESS [01:43 min]
[INFO] Ambari Views ....................................... SUCCESS [  4.147 s]
[INFO] Ambari Admin View .................................. FAILURE [01:14 min]
[INFO] ambari-utility ..................................... SKIPPED
[INFO] Ambari Server SPI .................................. SKIPPED
[INFO] Ambari Service Advisor ............................. SKIPPED
[INFO] Ambari Server ...................................... SKIPPED
[INFO] Ambari Functional Tests ............................ SKIPPED
[INFO] Ambari Agent ....................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  03:12 min
[INFO] Finished at: 2025-09-24T13:13:41Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (Bower install) on project ambari-admin: Command execution failed.: Process exited with an error: 1 (Exit value: 1)
-> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :ambari-admin
[root@kylin10 modules]#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58

结论先行

本问题多见于 libcurl + HTTP/2 与某些代理/网关设备 ALPN 握手不兼容。将 Git 固定为 HTTP/1.1 后可稳定恢复。

# 二、诊断过程

  1. TLS 层正常(openssl)
   openssl s_client -connect github.com:443 -servername github.com -brief
   # 输出:TLSv1.3 / Verification: OK
1
2

[root@kylin10 modules]# openssl s_client -connect github.com:443 -servername github.com -brief
CONNECTION ESTABLISHED
Protocol version: TLSv1.3
Ciphersuite: TLS_AES_128_GCM_SHA256
Peer certificate: CN = github.com
Hash used: SHA256
Signature type: ECDSA
Verification: OK
Server Temp Key: X25519, 253 bits
1
2
3
4
5
6
7
8
9
10
  1. HTTP 栈异常(curl)
   curl -vI https://github.com
   # OpenSSL SSL_connect: SSL_ERROR_SYSCALL
1
2
[root@kylin10 modules]# curl -vI https://github.com
*   Trying 20.205.243.166:443...
* Connected to github.com (20.205.243.166) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):

* OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
* Closing connection 0
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

结论推断

  • 同机 openssl 成功而 curl 失败,说明 TLS 能通,但 HTTP/2 协商经由中间层(代理/防火墙/老旧网关)时出现兼容问题。
  • Git 内部依赖 libcurl,Bower 依赖 Git 拉取仓库,链路错误最终放大为构建失败。

# 三、修复方案(稳定可复用)

执行以下任一命令:

# 全局固定为 HTTP/1.1
git config --global http.version HTTP/1.1

# 仅对 GitHub 生效(推荐最小影响面)
git config --global http.https://github.com/.version HTTP/1.1
1
2
3
4
5

验证拉取:

GIT_CURL_VERBOSE=1 git ls-remote https://github.com/jquery/jquery-dist.git
1

修复成功效果:

# 四、加固建议与断点续跑

场景 现象 建议
代理/网关影响 curl 失败、openssl 正常 固定 HTTP/1.1;必要时对 github.com 直连或绕过代理
TLS 协商不兼容 个别设备不支持 TLS1.3 git config --global http.sslVersion tlsv1.2
证书链问题 verify failed 更新 CA(RHEL/CentOS:update-ca-trust extract;Debian/Ubuntu:apt reinstall ca-certificates)
构建只需重试失败模块 Maven 提示 -rf :ambari-admin mvn -DskipTests -rf :ambari-admin install

不建议

GIT_SSL_NO_VERIFY=true 会关闭证书校验,存在安全风险,不作为修复手段。

#Ambari#Ambari-Admin#Bower#Git#OpenSSL#HTTP/2#HTTP/1.1#构建失败
Python(>=2.6) but is not installed
org.apache.commons.io does not exist

← Python(>=2.6) but is not installed org.apache.commons.io does not exist→

最近更新
01
Ambari开启Kerberos认证加密类型错误 Kylin V10
11-05
02
KERBEROS SERVICE CHECK 报错
11-04
03
Test Kerberos Client报错:Failed to kinit
11-04
更多文章>
Theme by Vdoing | Copyright © 2017-2025 JaneTTR | MIT License
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式