Greenplum源码编译安装ORCA握手失败解决 - Caused by SSLError(SSLError("bad handshake: ...)

简介:

场景:

Greenplum在Mac上源码编译安装的时候,首先需要安装ORCA,安装ORCA的过程中,报错了。

报错内容:

ChrisdeMacBook-Pro:depends chris$ make
CONAN_USER_HOME=/Users/chris/git/gpdb/depends conan install --build=missing conanfile_orca.txt
orca/v2.56.0@gpdb/stable: Not found in local cache, looking in remotes...
orca/v2.56.0@gpdb/stable: Trying with 'conan-center'...
From cffi callback :
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/OpenSSL/SSL.py", line 313, in wrapper
    _lib.X509_up_ref(x509)
AttributeError: 'module' object has no attribute 'X509_up_ref'

Unable to connect to conan-center= https://
make: *** [orca] Error 1

报错原因:

复查前面的步骤,发现有一步python库冲突:

pyopenssl 17.5.0 has requirement cryptography>=2.1.4, but you'll have cryptography 1.9 which is incompatible.

解决方法:

卸载冲突库后重新make编译即可。

ChrisdeMacBook-Pro:depends chris$ pip2 uninstall cryptography
Uninstalling cryptography-1.9:
  Would remove:
    /usr/local/lib/python2.7/site-packages/cryptography-1.9.dist-info/*
    /usr/local/lib/python2.7/site-packages/cryptography/*
Proceed (y/n)? y

  Successfully uninstalled cryptography-1.9

目录
相关文章
|
API 网络安全
SSLException Unrecognized SSL…问题排查
SSLException Unrecognized SSL…问题排查
2172 0
|
11天前
|
安全 网络安全 开发工具
解决Ascend上vllm运行时出现urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED]
在使用vllm模型时,运行示例代码下载模型文件时遇到了SSL安全校验问题。临时解决方案是修改`requests/sessions.py`文件中`request`函数的`verify`参数默认值为`False`。
|
6月前
|
网络协议 网络安全 数据库
|
Java 网络安全 数据安全/隐私保护
【Java异常】Unrecognized SSL message, plaintext connection?https请求遇到异常分析
【Java异常】Unrecognized SSL message, plaintext connection?https请求遇到异常分析
1968 0
|
Web App开发 网络协议 数据安全/隐私保护
Win系统 - 如何解决 ERR_PROXY_CONNECTION_FAILED 错误?
Win系统 - 如何解决 ERR_PROXY_CONNECTION_FAILED 错误?
2625 0
Win系统 - 如何解决 ERR_PROXY_CONNECTION_FAILED 错误?
|
Ubuntu Shell 网络安全
在函数部署完成后,是这样的 ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, 部署中一直出现这个异常怎么处理?
在函数部署完成后,是这样的 ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, 部署中一直出现这个异常怎么处理?
1596 1
|
Shell 网络安全 开发工具
fatal: unable to access github.com schannel failed to receive handshake, SSL/TLS connection failed
fatal: unable to access github.com schannel failed to receive handshake, SSL/TLS connection failed
314 0
fatal: unable to access 'https://github.com/XXXX.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
fatal: unable to access 'https://github.com/XXXX.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
437 0
|
关系型数据库 MySQL Java