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

打印 上一主题 下一主题

主题 884|帖子 884|积分 2652

个人博客地点:Hue Docker镜像构建非常:gnutls_handshake() failed | 一张假钞的真实世界
错误信息如下:
  1. Cloning https://github.com/gethue/PyHive to /tmp/pip-req-build-86w_hwe4
  2.   Running command git clone -q https://github.com/gethue/PyHive /tmp/pip-req-build-86w_hwe4
  3.   fatal: unable to access 'https://github.com/gethue/PyHive/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
  4. 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.
  5. 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.
  6. 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中以下位置:
  1. git+https://github.com/gethue/django-babel.git
  2. git+https://github.com/gethue/django-mako.git
复制代码
改为:
  1. git+https://mirror.ghproxy.com/https://github.com/gethue/django-babel.git
  2. git+https://mirror.ghproxy.com/https://github.com/gethue/django-mako.git
复制代码
tools/docker/hue/Dockerfile中以下位置:
  1. git+https://github.com/gethue/PyHive \
  2. # pyhive \
  3. #ksql \
  4. git+https://github.com/bryanyang0528/ksql-python \
复制代码
改为:
  1. git+https://mirror.ghproxy.com/https://github.com/gethue/PyHive \
  2. # pyhive \
  3. #ksql \
  4. git+https://mirror.ghproxy.com/https://github.com/bryanyang0528/ksql-python \
复制代码


免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
回复

使用道具 举报

0 个回复

倒序浏览

快速回复

您需要登录后才可以回帖 登录 or 立即注册

本版积分规则

知者何南

金牌会员
这个人很懒什么都没写!
快速回复 返回顶部 返回列表