本帖最后由 宝塔用户_csjtje 于 2023-8-8 16:58 编辑
执行了您给的命令后,我又操作了16修复命令,然后重新登录宝塔还是不行,我再执行22命令后错误信息如下
正在执行(22)...
===============================================
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 421, in connect
tls_in_tls=tls_in_tls,
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/util/ssl_.py", line 429, in ssl_wrap_socket
sock, context, tls_in_tls, server_hostname=server_hostname
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/_ssl3.py", line 120, in wrap_socket
_session=session)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/_ssl3.py", line 312, in __init__
raise x
File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/_ssl3.py", line 308, in __init__
self.do_handshake()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/_ssl3.py", line 672, in do_handshake
self._wait(self._read_event, timeout_exc=_SSLErrorHandshakeTimeout)
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_switch
socket.timeout: The handshake operation timed out
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 531, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/packages/six.py", line 735, in reraise
raise value
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 385, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 337, in _raise_timeout
self, url, "Read timed out. (read timeout=%s)" % timeout_value
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='www.bt.cn', port=443): Read timed out. (read timeout=6)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "class/http_requests.py", line 104, in post
result = requests.post(url,data,timeout=timeout,headers=headers,verify=verify)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/api.py", line 119, 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 529, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='www.bt.cn', port=443): Read timed out. (read timeout=6)
[2023-08-07 16:37:14][DEBUG] - 更新成功.
[2023-08-07 16:37:14][DEBUG] - 缓存更新失败: 软件列表解析失败,已尝试修复,请重试!
[2023-08-07 16:37:14][DEBUG] - 开始更新消息json...
[2023-08-07 16:37:15][DEBUG] - 更新消息json成功
[2023-08-07 17:40:19][DEBUG] - 更新成功.
[2023-08-07 17:40:19][DEBUG] - 缓存更新失败: 软件列表解析失败,已尝试修复,请重试!
[2023-08-07 17:40:19][DEBUG] - 开始更新消息json...
[2023-08-07 17:40:20][DEBUG] - 更新消息json成功
[2023-08-07 17:40:30][DEBUG] - 更新成功.
[2023-08-07 17:40:30][DEBUG] - 缓存更新失败: 软件列表解析失败,已尝试修复,请重试!
[2023-08-07 17:40:30][DEBUG] - 开始更新消息json...
[2023-08-07 17:40:31][DEBUG] - 更新消息json成功
[2023-08-08 00:08:07][DEBUG] - 开始更新SSH登录日志...
[2023-08-08 00:08:07][DEBUG] - 更新ssh日志成功
<gevent._socket3.socket at 0x7f0d8b852050 object, fd=44, family=2, type=1, proto=0>: Invalid HTTP method: '\x16\x03\x01\x00î\x01\x00\x00ê\x03\x03òöbÆs\x9a\x1b\x18\x9f\x03ÚÜùÄ\x8dVð/¹[\x95G\x9aHóøu&¿¼í Îç\x1a¹\x0cI\x8a6YÖ\x93Á+p\x86¨\x9dú\x8cB\x1eu\x18\x87¸ëøDwþ\x17y\x00&̨̩À/À0À+À,À\x13À\tÀ\x14À\n'
<gevent._socket3.socket at 0x7f0d8b852050 object, fd=44, family=2, type=1, proto=0>: Invalid HTTP method: "\x16\x03\x01\x00î\x01\x00\x00ê\x03\x03YK\x01}µv\x96½Uø7¤u\x9bÜ19\x88\x98zX\x87fn\x15\x1ewv\x92ËÌÅ \x82ÃIû\x8dRÝ®E9s6\x18Ú.\x7fÖþéH®\x1f\x89[\x0cÇÃ\xad½;'3\x00&̨̩À/À0À+À,À\x13À\tÀ\x14À\n"
<gevent._socket3.socket at 0x7f0d8b852050 object, fd=44, family=2, type=1, proto=0>: Invalid http version: 'PRI * HTTP/2.0\r\n'
<gevent._socket3.socket at 0x7f0d8b852050 object, fd=44, family=2, type=1, proto=0>: Expected GET method: '\x03\x00\x00/*à\x00\x00\x00\x00\x00Cookie: mstshash=Administr\r\n'
<gevent._socket3.socket at 0x7f0d8b8529f0 object, fd=44, family=2, type=1, proto=0>: Invalid HTTP method: '\x16\x03\x01\x00{\x01\x00\x00w\x03\x03©¼\x0c\n'
<gevent._socket3.socket at 0x7f0d8b852d00 object, fd=44, family=2, type=1, proto=0>: Expected GET method: '\x03\x00\x00/*à\x00\x00\x00\x00\x00Cookie: mstshash=Administr\r\n'
<gevent._socket3.socket at 0x7f0d8b852280 object, fd=44, family=2, type=1, proto=0>: Expected GET method: '\x03\x00\x00/*à\x00\x00\x00\x00\x00Cookie: mstshash=Administr\r\n'
<gevent._socket3.socket at 0x7f0d8b852e50 object, fd=44, family=2, type=1, proto=0>: Expected GET method: '\x16\x03\x01\x00{\x01\x00\x00w\x03\x03OæÀe6þãt\\ã\x11KsO\x98\x0b\x08ßo\x88\n'
<gevent._socket3.socket at 0x7f0d8b8520c0 object, fd=44, family=2, type=1, proto=0>: Invalid HTTP method: '\x16\x03\x01\x00î\x01\x00\x00ê\x03\x03W{¦ÃÃ\x87\x18\xa0\x93\x15\x88±oi\x00V+\x13§j\xa0ã»\x1dä¾\'7½ß\x90K \x82=ð\x90Â,Hλ¿\x9b¢Ð\x95iEÈ\x85\x0e\x01,"\x88_ïU%à1\x10¼¹\x00&̨̩À/À0À+À,À\x13À\tÀ\x14À\n'
<gevent._socket3.socket at 0x7f0d8b8520c0 object, fd=44, family=2, type=1, proto=0>: Invalid HTTP method: '\x16\[2023-08-08 09:46:58][DEBUG] - 更新成功.
[2023-08-08 09:46:58][DEBUG] - 缓存更新失败: 软件列表解析失败,已尝试修复,请重试!
[2023-08-08 09:46:58][DEBUG] - 开始更新消息json...
[2023-08-08 09:46:59][DEBUG] - 更新消息json成功
[2023-08-08 09:47:02][DEBUG] - 更新成功.
[2023-08-08 09:47:02][DEBUG] - 缓存更新失败: 软件列表解析失败,已尝试修复,请重试!
[2023-08-08 09:47:02][DEBUG] - 开始更新消息json...
[2023-08-08 09:47:03][DEBUG] - 更新消息json成功
|