open-falcon 安装Dashboard时候报错"SSLError: The read operation timed out"

在部署open-falcon环境过程中,安装Dashboard时候报错"SSLError: The read operation timed out"。如下:

[[email protected] dashboard]# ./env/bin/pip install -r pip_requirements.txt
Downloading/unpacking Flask==0.10.1 (from -r pip_requirements.txt (line 1))
  Downloading Flask-0.10.1.tar.gz (544kB): 544kB downloaded
  Running setup.py egg_info for package Flask
    warning: no files found matching ‘*‘ under directory ‘tests‘
    warning: no previously-included files matching ‘*.pyc‘ found under directory ‘docs‘
    warning: no previously-included files matching ‘*.pyo‘ found under directory ‘docs‘
    warning: no previously-included files matching ‘*.pyc‘ found under directory ‘tests‘
    warning: no previously-included files matching ‘*.pyo‘ found under directory ‘tests‘
    warning: no previously-included files matching ‘*.pyc‘ found under directory ‘examples‘
    warning: no previously-included files matching ‘*.pyo‘ found under directory ‘examples‘
    no previously-included directories found matching ‘docs/_build‘
    no previously-included directories found matching ‘docs/_themes/.git‘
Downloading/unpacking Jinja2==2.7.2 (from -r pip_requirements.txt (line 2))
  Downloading Jinja2-2.7.2.tar.gz (378kB): 184kB downloaded
Cleaning up...
Exception:
Traceback (most recent call last):
  File "/data/work/open-falcon/dashboard/env/lib/python2.6/site-packages/pip/basecommand.py", line 134, in main
    status = self.run(options, args)
  File "/data/work/open-falcon/dashboard/env/lib/python2.6/site-packages/pip/commands/install.py", line 236, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/data/work/open-falcon/dashboard/env/lib/python2.6/site-packages/pip/req.py", line 1092, in prepare_files
    self.unpack_url(url, location, self.is_download)
  File "/data/work/open-falcon/dashboard/env/lib/python2.6/site-packages/pip/req.py", line 1238, in unpack_url
    retval = unpack_http_url(link, location, self.download_cache, self.download_dir)
  File "/data/work/open-falcon/dashboard/env/lib/python2.6/site-packages/pip/download.py", line 622, in unpack_http_url
    download_hash = _download_url(resp, link, temp_location)
  File "/data/work/open-falcon/dashboard/env/lib/python2.6/site-packages/pip/download.py", line 495, in _download_url
    chunk = resp.read(4096)
  File "/usr/lib64/python2.6/socket.py", line 383, in read
    data = self._sock.recv(left)
  File "/usr/lib64/python2.6/httplib.py", line 587, in read
    s = self.fp.read(amt)
  File "/usr/lib64/python2.6/socket.py", line 383, in read
    data = self._sock.recv(left)
  File "/usr/lib64/python2.6/ssl.py", line 215, in recv
    return self.read(buflen)
  File "/usr/lib64/python2.6/ssl.py", line 136, in read
    return self._sslobj.read(len)
SSLError: The read operation timed out

解决办法:在命令后面追加"-i http://pypi.doubanio.com/simple"

[[email protected] dashboard]# ./env/bin/pip install -r pip_requirements.txt -i http://pypi.doubanio.com/simple
Downloading/unpacking Flask==0.10.1 (from -r pip_requirements.txt (line 1))
  Downloading Flask-0.10.1.tar.gz (544kB): 544kB downloaded
  Running setup.py egg_info for package Flask
    warning: no files found matching ‘*‘ under directory ‘tests‘
    warning: no previously-included files matching ‘*.pyc‘ found under directory ‘docs‘
    warning: no previously-included files matching ‘*.pyo‘ found under directory ‘docs‘
    warning: no previously-included files matching ‘*.pyc‘ found under directory ‘tests‘
    warning: no previously-included files matching ‘*.pyo‘ found under directory ‘tests‘
    warning: no previously-included files matching ‘*.pyc‘ found under directory ‘examples‘
    warning: no previously-included files matching ‘*.pyo‘ found under directory ‘examples‘
    no previously-included directories found matching ‘docs/_build‘
    no previously-included directories found matching ‘docs/_themes/.git‘
Downloading/unpacking Jinja2==2.7.2 (from -r pip_requirements.txt (line 2))
  Downloading Jinja2-2.7.2.tar.gz (378kB): 378kB downloaded
  Running setup.py egg_info for package Jinja2
    warning: no files found matching ‘*‘ under directory ‘custom_fixers‘
    warning: no previously-included files matching ‘*‘ found under directory ‘docs/_build‘
    warning: no previously-included files matching ‘*.pyc‘ found under directory ‘jinja2‘
    warning: no previously-included files matching ‘*.pyc‘ found under directory ‘docs‘
    warning: no previously-included files matching ‘*.pyo‘ found under directory ‘jinja2‘
    warning: no previously-included files matching ‘*.pyo‘ found under directory ‘docs‘
Downloading/unpacking Werkzeug==0.9.4 (from -r pip_requirements.txt (line 3))
  Downloading Werkzeug-0.9.4.tar.gz (1.1MB): 1.1MB downloaded
  Running setup.py egg_info for package Werkzeug
    warning: no files found matching ‘*‘ under directory ‘werkzeug/debug/templates‘
    warning: no files found matching ‘*‘ under directory ‘tests‘
    warning: no previously-included files matching ‘*.pyc‘ found under directory ‘docs‘
    warning: no previously-included files matching ‘*.pyo‘ found under directory ‘docs‘
    warning: no previously-included files matching ‘*.pyc‘ found under directory ‘tests‘
    warning: no previously-included files matching ‘*.pyo‘ found under directory ‘tests‘
    warning: no previously-included files matching ‘*.pyc‘ found under directory ‘examples‘
    warning: no previously-included files matching ‘*.pyo‘ found under directory ‘examples‘
    no previously-included directories found matching ‘docs/_build‘
Downloading/unpacking gunicorn==18.0 (from -r pip_requirements.txt (line 4))
  Downloading gunicorn-18.0.tar.gz (366kB): 366kB downloaded
  Running setup.py egg_info for package gunicorn
    warning: no previously-included files matching ‘*.pyc‘ found under directory ‘docs‘
    warning: no previously-included files matching ‘*.pyo‘ found under directory ‘docs‘
    warning: no previously-included files matching ‘*.pyc‘ found under directory ‘tests‘
    warning: no previously-included files matching ‘*.pyo‘ found under directory ‘tests‘
    warning: no previously-included files matching ‘*.pyc‘ found under directory ‘examples‘
    warning: no previously-included files matching ‘*.pyo‘ found under directory ‘examples‘
Downloading/unpacking python-dateutil==2.2 (from -r pip_requirements.txt (line 5))
  Downloading python-dateutil-2.2.tar.gz (259kB): 259kB downloaded
  Running setup.py egg_info for package python-dateutil
Downloading/unpacking requests==2.3.0 (from -r pip_requirements.txt (line 6))
  Downloading requests-2.3.0.tar.gz (429kB): 429kB downloaded
  Running setup.py egg_info for package requests
Downloading/unpacking mysql-python (from -r pip_requirements.txt (line 7))
  Downloading MySQL-python-1.2.5.zip (108kB): 108kB downloaded
  Running setup.py egg_info for package mysql-python
Downloading/unpacking itsdangerous>=0.21 (from Flask==0.10.1->-r pip_requirements.txt (line 1))
  Downloading itsdangerous-0.24.tar.gz (46kB): 46kB downloaded
  Running setup.py egg_info for package itsdangerous
    warning: no previously-included files matching ‘*‘ found under directory ‘docs/_build‘
Downloading/unpacking markupsafe (from Jinja2==2.7.2->-r pip_requirements.txt (line 2))
  Downloading MarkupSafe-1.0.tar.gz
  Running setup.py egg_info for package markupsafe
Downloading/unpacking six (from python-dateutil==2.2->-r pip_requirements.txt (line 5))
  Downloading six-1.10.0.tar.gz
  Running setup.py egg_info for package six
    no previously-included directories found matching ‘documentation/_build‘
Installing collected packages: Flask, Jinja2, Werkzeug, gunicorn, python-dateutil, requests, mysql-python, itsdangerous, markupsafe, six
  Running setup.py install for Flask
    warning: no files found matching ‘*‘ under directory ‘tests‘
    warning: no previously-included files matching ‘*.pyc‘ found under directory ‘docs‘
    warning: no previously-included files matching ‘*.pyo‘ found under directory ‘docs‘
    warning: no previously-included files matching ‘*.pyc‘ found under directory ‘tests‘
    warning: no previously-included files matching ‘*.pyo‘ found under directory ‘tests‘
    warning: no previously-included files matching ‘*.pyc‘ found under directory ‘examples‘
    warning: no previously-included files matching ‘*.pyo‘ found under directory ‘examples‘
    no previously-included directories found matching ‘docs/_build‘
    no previously-included directories found matching ‘docs/_themes/.git‘
  Running setup.py install for Jinja2
    warning: no files found matching ‘*‘ under directory ‘custom_fixers‘
    warning: no previously-included files matching ‘*‘ found under directory ‘docs/_build‘
    warning: no previously-included files matching ‘*.pyc‘ found under directory ‘jinja2‘
    warning: no previously-included files matching ‘*.pyc‘ found under directory ‘docs‘
    warning: no previously-included files matching ‘*.pyo‘ found under directory ‘jinja2‘
    warning: no previously-included files matching ‘*.pyo‘ found under directory ‘docs‘
  Running setup.py install for Werkzeug
    warning: no files found matching ‘*‘ under directory ‘werkzeug/debug/templates‘
    warning: no files found matching ‘*‘ under directory ‘tests‘
    warning: no previously-included files matching ‘*.pyc‘ found under directory ‘docs‘
    warning: no previously-included files matching ‘*.pyo‘ found under directory ‘docs‘
    warning: no previously-included files matching ‘*.pyc‘ found under directory ‘tests‘
    warning: no previously-included files matching ‘*.pyo‘ found under directory ‘tests‘
    warning: no previously-included files matching ‘*.pyc‘ found under directory ‘examples‘
    warning: no previously-included files matching ‘*.pyo‘ found under directory ‘examples‘
    no previously-included directories found matching ‘docs/_build‘
  Running setup.py install for gunicorn
    warning: no previously-included files matching ‘*.pyc‘ found under directory ‘docs‘
    warning: no previously-included files matching ‘*.pyo‘ found under directory ‘docs‘
    warning: no previously-included files matching ‘*.pyc‘ found under directory ‘tests‘
    warning: no previously-included files matching ‘*.pyo‘ found under directory ‘tests‘
    warning: no previously-included files matching ‘*.pyc‘ found under directory ‘examples‘
    warning: no previously-included files matching ‘*.pyo‘ found under directory ‘examples‘
    Installing gunicorn_paster script to /data/work/open-falcon/dashboard/env/bin
    Installing gunicorn script to /data/work/open-falcon/dashboard/env/bin
    Installing gunicorn_django script to /data/work/open-falcon/dashboard/env/bin
  Running setup.py install for python-dateutil
  Running setup.py install for requests
  Running setup.py install for mysql-python
    building ‘_mysql‘ extension
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Dversion_info=(1,2,5,‘final‘,1) -D__version__=1.2.5 -I/usr/include/mysql -I/usr/include/python2.6 -c _mysql.c -o build/temp.linux-x86_64-2.6/_mysql.o -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -fPIC -DUNIV_LINUX -DUNIV_LINUX
    In file included from /usr/include/mysql/my_config.h:14,
                     from _mysql.c:44:
    /usr/include/mysql/my_config_x86_64.h:1082:1: warning: "HAVE_WCSCOLL" redefined
    In file included from /usr/include/python2.6/pyconfig.h:6,
                     from /usr/include/python2.6/Python.h:8,
                     from _mysql.c:29:
    /usr/include/python2.6/pyconfig-64.h:808:1: warning: this is the location of the previous definition
    gcc -pthread -shared build/temp.linux-x86_64-2.6/_mysql.o -L/usr/lib64/mysql -L/usr/lib64 -lmysqlclient_r -lz -lpthread -lcrypt -lnsl -lm -lpthread -lssl -lcrypto -lpython2.6 -o build/lib.linux-x86_64-2.6/_mysql.so
  Running setup.py install for itsdangerous
    warning: no previously-included files matching ‘*‘ found under directory ‘docs/_build‘
  Running setup.py install for markupsafe
    building ‘markupsafe._speedups‘ extension
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.6 -c markupsafe/_speedups.c -o build/temp.linux-x86_64-2.6/markupsafe/_speedups.o
    gcc -pthread -shared build/temp.linux-x86_64-2.6/markupsafe/_speedups.o -L/usr/lib64 -lpython2.6 -o build/lib.linux-x86_64-2.6/markupsafe/_speedups.so
  Running setup.py install for six
    no previously-included directories found matching ‘documentation/_build‘
Successfully installed Flask Jinja2 Werkzeug gunicorn python-dateutil requests mysql-python itsdangerous markupsafe six
Cleaning up...
时间: 2024-10-19 20:59:32

open-falcon 安装Dashboard时候报错"SSLError: The read operation timed out"的相关文章

cnmp安装失败,报错npm ERR! enoent ENOENT: no such file or directory,

1.cnmp安装失败 2.提示如下: bogon:node_modules liangjingming$ sudo npm install cnpm -g --registry=https://registry.npm.taobao.org Password: /usr/local/lib └── (empty) npm ERR! Darwin 16.4.0 npm ERR! argv "/usr/local/Cellar/node/7.8.0/bin/node" "/usr

windows7安装Office 2013后,安装Visio 2013报错:安装程序找不到office.zh-cn

虽然windows 8.1(cn_windows_8.1_professional_vl_with_update_x64_dvd_4050293.iso)是款不错的系统,但是由于我的无线一直不能正常使用且经常出现不能正常更新,还有桌面卡住的几率比之前多太多了等先重回windows7 X64. 我安装的是cn_windows_7_ultimate_with_sp1_x64_dvd_u_677408.iso,使用正常,且之前也是使用的这款很稳定,安装Office 2013(cn_office_pro

Linux上安装CherryTree,报错无法找到 gtksourceview2

安装CherryTree,报错无法找到 gtksourceview2    CherryTree(富文本辑器)是一个全功能的层次大纲窗口和组织者支持富文本.图像.语法高亮显示.列表.基本表, 保存为 PDF, 导出到 HTML和文本.密码保护和更多.另外,CherryTree 是将整个笔记本保存为一个文件(sqlite格式或者xml格式),图片/表格这些都全部保存到里面. 官方下载地址:CherryTree(戳我) last version 0.38.1 (June 9th, 2017) 1.

Win7 64bit 安装VisualSVN出现报错:Servic 'VisualSVN Server' failed to start.解决办法

问题描述: Win7 64bit 安装VisualSVN时出现报错: Servic 'VisualSVN Server' failed to start.Please check VisualSVN Server log in Event Viewer for more details Service 'VisualSVN Server' failed to start. 解决办法: 控制面板——管理工具——服务——VisualSVN Server——鼠标右键——属性——登录——选择“本地系统账

linux下编译安装php各种报错大集合

PHP开源脚本语言 PHP(外文名: Hypertext Preprocessor,中文名:"超文本预处理器")是一种通用开源脚本语言.语法吸收了C语言.Java和Perl的特点,入门门槛较低,易于学习,使用广泛,主要适用于Web开发领域.PHP的文件后缀名为php. 本文为大家整理汇总了一些linux下编译安装php各种报错大集合 ,感兴趣的同学参考下. 报错1:make 后报错如下: Generating phar.php /home/oldboy/tools/php-5.3.27

windows8.1下安装msi文件报错

新安装了win8.1系统体验体验,可是安装msi文件的软件报internal error2502和2503错误,可以换一种安装方式. 不是直接点开安装,如图所示打开命令提示符: 使用msiexec /package 安装文件的全路径  进行安装比如:C:\Windows\system32>msiexec /package C:\Users\Administrator\Downloads\VisualSVN-Server-2.7.7.msi 即可解决报错问题 windows8.1下安装msi文件报

dl380G8安装windows 2008R2 报错解决办法。

dl380安装windows2008R2时报错,安装包是我一直在用的安装包.我用光盘.优盘还是ILO安装都是报同样的错误.详细错误如下: 1.在复制完系统后重启安装时报下面的错误.我点击确定后系统会重启. windows cannot read the <productkey>setting from the unattend answer file 2.重启后报下面的错误,然后是不停的重启. 原因:是因为HP Intelligent Provisioning版本1.6都存在这个问题. 解决办

facebook graph api 报错SSLError(1, u&#39;[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)&#39;)

使用facebook graph api,报错如下 一开始以为是https证书验证失败,查了一下午源码,没有看到问题,于是把Python27\lib\site-packages\requests\adapters.py文件的如下位置异常处理注释掉了,看看异常到底从哪来的 def send(self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None): """Sends Prep

zabbix源码安装流程及报错解决方法

zabbix源码安装流程及报错解决方法 一. zabbix的介绍 1) zabbix是什么 zabbix是一款基于web页面的.开源的.企业级的,支持分布式部署的监控软件. 2)2.zabbix的作用 监控windows和Linux主机上的软硬件状态. 监控各网络设备,如路由器.交换机.防火墙.f5.打印机等. 支持邮件短信微信等平台发送告警通知. 通过web页面及图形展示监控数据. 3)zabbix的特性 由zabbix server和agent程序协同工作,还支持分布式监控,这时需要安装za