开发者社区> 阿福Chris> 正文

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 <function _verify_callback at 0x10f613a28>:
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'
ERROR: HTTPSConnectionPool(host='conan.bintray.com', port=443): Max retries exceeded with url: /v1/conans/orca/v2.56.0/gpdb/stable/download_urls (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))

Unable to connect to conan-center=https://conan.bintray.com
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

版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。

相关文章
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
33 0
九十七、fatal: unable to access ‘https://github.com/flasky.git/‘: OpenSSL SSL_read: Conne 解决
九十七、fatal: unable to access ‘https://github.com/flasky.git/‘: OpenSSL SSL_read: Conne 解决
265 0
Win系统 - 如何解决 ERR_PROXY_CONNECTION_FAILED 错误?
Win系统 - 如何解决 ERR_PROXY_CONNECTION_FAILED 错误?
666 0
Appium问题解决方案(8)- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not sign with default certificate.
Appium问题解决方案(8)- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not sign with default certificate.
551 0
github 报sign_and_send_pubkey: signing failed: agent refused operation错误解决
t@localhost .ssh$ ssh -vT git@github.com OpenSSH_7.2p2, OpenSSL 1.0.2h-fips  3 May 2016 ...
1460 0
使用CURL出现certificate verify failed错误的解决方法
今天使用CURL访问微信平台接口时遇到一个错误,返回错误代码如下: ? 1 2 SSL certificate problem, verify that the CA cert is OK.
1026 0
Unable to find the wrapper "https"错误的解决办法
PHP.ini默认配置下,用file_get_contents读取https的链接,就会如下错误:Warning: fopen() [function.fopen]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP?这个错误分3种解决方案:1.windows下的PHP,只需要到php.ini中把extension=php_openssl.dll前面的;删掉,重启服务就可以了。
1357 0
SSH 文件上传错误:encountered 1 errors during the transfer终极解决方法:
以下方法简单排序,从简单到复杂: 法一:在SSH Secure File Transfer(上传文件那个),打开“Operation”菜单,打开“File Transfer Mode”子菜单,再选择“Binary”,OK! 法二:把服务器上同名文件删掉再传 法三:如果文件在桌面上,将要上传的文件复制到其它分区,再上传! 法四:到 http://winscp.
1004 0
+关注
阿福Chris
Greenplum,Deepgreen
文章
问答
文章排行榜
最热
最新
相关电子书
更多
低代码开发师(初级)实战教程
立即下载
阿里巴巴DevOps 最佳实践手册
立即下载
冬季实战营第三期:MySQL数据库进阶实战
立即下载