当前位置: 首页 > news >正文

Hue Docker镜像构建异常:gnutls_handshake() failed

个人博客地址:Hue Docker镜像构建异常:gnutls_handshake() failed | 一张假钞的真实世界

错误信息如下:

 Cloning https://github.com/gethue/PyHive to /tmp/pip-req-build-86w_hwe4
  Running command git clone -q https://github.com/gethue/PyHive /tmp/pip-req-build-86w_hwe4
  fatal: unable to access 'https://github.com/gethue/PyHive/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
WARNING: Discarding git+https://github.com/gethue/PyHive. Command errored out with exit status 128: git clone -q https://github.com/gethue/PyHive /tmp/pip-req-build-86w_hwe4 Check the logs for full command output.
ERROR: Command errored out with exit status 128: git clone -q https://github.com/gethue/PyHive /tmp/pip-req-build-86w_hwe4 Check the logs for full command output.
The command '/bin/sh -c ./build/env/bin/pip install --no-cache-dir   psycopg2-binary   django_redis==4.11.0   flower   git+https://github.com/gethue/PyHive   git+https://github.com/bryanyang0528/ksql-python   pydruid   pybigquery   elasticsearch-dbapi   pyasn1==0.4.1   python-snappy==0.5.4   threadloop   sqlalchemy-clickhouse   infi.clickhouse_orm==1.0.4' returned a non-zero code: 1

网上大都是说因为代理的问题,对我这个场景没用。通过搜索找到一个很好的代理:https://mirror.ghproxy.com

desktop/core/requirements.txt中以下位置:

git+https://github.com/gethue/django-babel.git
git+https://github.com/gethue/django-mako.git

改为:

git+https://mirror.ghproxy.com/https://github.com/gethue/django-babel.git
git+https://mirror.ghproxy.com/https://github.com/gethue/django-mako.git

tools/docker/hue/Dockerfile中以下位置:

git+https://github.com/gethue/PyHive \
# pyhive \
#ksql \
git+https://github.com/bryanyang0528/ksql-python \

改为:

git+https://mirror.ghproxy.com/https://github.com/gethue/PyHive \
# pyhive \
#ksql \
git+https://mirror.ghproxy.com/https://github.com/bryanyang0528/ksql-python \

相关文章:

  • 第15届 蓝桥杯 C++编程青少组中/高级选拔赛 202403 真题答案及解析
  • Win32 C++ 电源计划操作
  • 第三百七十二节 JavaFX教程 - JavaFX HTMLEditor
  • spring事件
  • 【推荐项目】023-游泳俱乐部管理系统
  • 优博讯,蓝禾,三七互娱,顺丰,oppo,游卡,汤臣倍健,康冠科技,作业帮,高途教育25届春招内推
  • 基于 Python 深度学习的电影评论情感分析可视化系统(2.0 全新升级)
  • 算法日常刷题笔记(3)
  • 【Java项目】基于SpringBoot的藏区特产销售平台
  • 目标检测算法——YOLOV11——算法详解
  • 【考试大纲】中级网络工程师考试大纲(最新版与旧版对比)
  • 斐波那契数列的可视化
  • Linux tar命令
  • DOM HTML:深入理解与高效运用
  • 基于Spring Boot + Vue的常规应急物资管理系统设计与实现
  • C++ 循环结构练习题目集
  • 计算机面试项目经历描述技巧
  • 从浏览器地址栏输入URL到页面加载发生了什么?
  • apload-lab打靶场
  • 视觉图像坐标转换
  • 关税互降后的外贸企业:之前暂停的订单加紧发货,后续订单考验沟通谈判能力
  • 国家统计局:2024年城镇单位就业人员工资平稳增长
  • 武大校长:人工智能不存在“过度使用”,武大不会缩减文科
  • 既是工具又是食物,可食用机器人开启舌尖上的新科技
  • 北京警方:海淀发生小客车刮碰行人事故4人受伤,肇事司机已被查获
  • 奥古斯都时代的历史学家李维