HueDocker镜像构建异常:gnutls_handshake()failed
- 人工智能
- 2025-09-16 03:27:01

个人博客地址:Hue Docker镜像构建异常:gnutls_handshake() failed | 一张假钞的真实世界
错误信息如下:
Cloning github /gethue/PyHive to /tmp/pip-req-build-86w_hwe4 Running command git clone -q github /gethue/PyHive /tmp/pip-req-build-86w_hwe4 fatal: unable to access ' github /gethue/PyHive/': gnutls_handshake() failed: The TLS connection was non-properly terminated. WARNING: Discarding git+ github /gethue/PyHive. Command errored out with exit status 128: git clone -q github /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 github /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+ github /gethue/PyHive git+ github /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网上大都是说因为代理的问题,对我这个场景没用。通过搜索找到一个很好的代理: mirror.ghproxy
desktop/core/requirements.txt中以下位置:
git+ github /gethue/django-babel.git git+ github /gethue/django-mako.git改为:
git+ mirror.ghproxy / github /gethue/django-babel.git git+ mirror.ghproxy / github /gethue/django-mako.gittools/docker/hue/Dockerfile中以下位置:
git+ github /gethue/PyHive \ # pyhive \ #ksql \ git+ github /bryanyang0528/ksql-python \改为:
git+ mirror.ghproxy / github /gethue/PyHive \ # pyhive \ #ksql \ git+ mirror.ghproxy / github /bryanyang0528/ksql-python \HueDocker镜像构建异常:gnutls_handshake()failed由讯客互联人工智能栏目发布,感谢您对讯客互联的认可,以及对我们原创作品以及文章的青睐,非常欢迎各位朋友分享到个人网站或者朋友圈,但转载请说明文章出处“HueDocker镜像构建异常:gnutls_handshake()failed”