当前位置:论坛首页 > Linux面板 > 求助

【已解决】商店安装项目管理器失败

发表在 Linux面板2023-5-14 18:12 [复制链接] 2 2630

本帖最后由 堡塔运维小林 于 2023-5-14 20:22 编辑

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:7.9.10

系统版本:CentOS  7.9.2009 x86_64(Py3.7.9)

问题描述:本地虚拟机安装python项目管理失败!看错误是连接云端服务器失败!但是本地网没问题!我可以在商店安装其他软件!就是这个安装就出错!自己试过修复面板!重启服务器,修改通讯节点!也改过桥连-nat模式都不行!怎么解决这个问题

相关截图(日志、错误):Traceback (most recent call last):
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connection.py", line 170, in _new_conn    (self._dns_host, self.port), self.timeout, **extra_kw  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/util/connection.py", line 96, in create_connection    raise err  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/util/connection.py", line 86, in create_connection    sock.connect(sa)  File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/_socketcommon.py", line 613, in connect    self._wait(self._write_event)  File "src/gevent/_hub_primitives.py", line 317, in gevent._gevent_c_hub_primitives.wait_on_socket  File "src/gevent/_hub_primitives.py", line 322, in gevent._gevent_c_hub_primitives.wait_on_socket  File "src/gevent/_hub_primitives.py", line 313, in gevent._gevent_c_hub_primitives._primitive_wait  File "src/gevent/_hub_primitives.py", line 314, in gevent._gevent_c_hub_primitives._primitive_wait  File "src/gevent/_hub_primitives.py", line 46, in gevent._gevent_c_hub_primitives.WaitOperationsGreenlet.wait  File "src/gevent/_hub_primitives.py", line 46, in gevent._gevent_c_hub_primitives.WaitOperationsGreenlet.wait  File "src/gevent/_hub_primitives.py", line 55, in gevent._gevent_c_hub_primitives.WaitOperationsGreenlet.wait  File "src/gevent/_waiter.py", line 154, in gevent._gevent_c_waiter.Waiter.get  File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch  File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch  File "src/gevent/_greenlet_primitives.py", line 65, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch  File "src/gevent/_gevent_c_greenlet_primitives.pxd", line 35, in gevent._gevent_c_greenlet_primitives._greenlet_switchsocket.timeout: timed outDuring handling of the above exception, another exception occurred:Traceback (most recent call last):  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 706, in urlopen    chunked=chunked,  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 382, in _make_request    self._validate_conn(conn)  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn    conn.connect()  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connection.py", line 353, in connect    conn = self._new_conn()  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connection.py", line 177, in _new_conn    % (self.host, self.timeout),urllib3.exceptions.ConnectTimeoutError: (, 'Connection to poi.yu.al timed out. (connect timeout=30)')During handling of the above exception, another exception occurred:Traceback (most recent call last):  File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/adapters.py", line 449, in send    timeout=timeout  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 756, in urlopen    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]  File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/util/retry.py", line 573, in increment    raise MaxRetryError(_pool, url, error or ResponseError(cause))urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='poi.yu.al', port=443): Max retries exceeded with url: /down/download_plugin (Caused by ConnectTimeoutError(, 'Connection to poi.yu.al timed out. (connect timeout=30)'))During handling of the above exception, another exception occurred:Traceback (most recent call last):  File "class/panelPlugin.py", line 564, in __download_plugin    stream=True)  File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/api.py", line 134, in post    return request('post', url, data=data, json=json, **kwargs)  File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/api.py", line 61, in request    return session.request(method=method, url=url, **kwargs)  File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 542, in request    resp = self.send(prep, **send_kwargs)  File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 655, in send    r = adapter.send(request, **kwargs)  File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/adapters.py", line 504, in send    raise ConnectTimeout(e, request=request)requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='poi.yu.al', port=443): Max retries exceeded with url: /down/download_plugin (Caused by ConnectTimeoutError(, 'Connection to poi.yu.al timed out. (connect timeout=30)'))During handling of the above exception, another exception occurred:Traceback (most recent call last):  File "/www/server/panel/BTPanel/__init__.py", line 2005, in publicObject    res = run_obj.run(toObject, defs, get)  File "/www/server/panel/BTPanel/__init__.py", line 1952, in run    result = getattr(toObject, get.action)(get)  File "class/panelPlugin.py", line 828, in install_plugin    result = self.install_sync(pluginInfo, get)  File "class/panelPlugin.py", line 878, in install_sync    return self.__install_plugin(pluginInfo['name'], get.version)  File "class/panelPlugin.py", line 95, in __install_plugin    filename = self.__download_plugin(upgrade_plugin_name, upgrade_version)  File "class/panelPlugin.py", line 566, in __download_plugin    raise public.PanelError(public.error_conn_cloud(str(ex)))public.PanelError: 面板运行时发生错误: 面板运行时发生错误: 抱歉,连接云端服务器失败! -
使用道具 举报 只看该作者 回复
发表于 2023-5-14 20:22:14 | 显示全部楼层
您好,您这个是连接不上我司的云端节点导致的,您复制下面的命令到终端中执行,该命令是修复用来修复节点的,执行完成后再安装,不过建议您使用面板左侧的网站模块里面的python项目,软件商店里面的python项目管理器后续已不再维护
  1. bash <(wget --no-check-certificate -qO- https://120.78.156.100/new/auto_node.sh)
复制代码
使用道具 举报 回复 支持 反对
发表于 2023-5-16 01:42:09 | 显示全部楼层
堡塔运维小林 发表于 2023-5-14 20:22
您好,您这个是连接不上我司的云端节点导致的,您复制下面的命令到终端中执行,该命令是修复用来修复节点的 ...

好的!我试试
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表