为了能快速了解并处理您的问题,请提供以下基础信息:
相关截图(日志、错误): 出错了,面板运行时发生错误!ValueError: invalid literal for int() with base 10: 'NaN'REQUEST_DATE: 2023-07-29 15:28:43 PAN_VERSION: 8.0.1 OS_VERSION: Ubuntu 22.04.2 LTS x86_64(Py3.7.8) REMOTE_ADDR: 58.255.160.153 REQUEST_URI: POST /plugin?action=install_pluginREQUEST_FORM: {'sName': 'php-5.6', 'version': '5.6', 'min_version': '40', 'type': 'NaN'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.1901.183Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2015, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 1962, in run result = getattr(toObject, get.action)(get) File "class/panelPlugin.py", line 796, in install_plugin if int(get.type) > 4: get.type = '0'ValueError: invalid literal for int() with base 10: 'NaN'自动修复后未解决,以下是错误日志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_valueurllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='www.bt.cn', port=443): Read timed out. (read timeout=60)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 115, 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 59, in request return session.request(method=method, url=url, **kwargs) File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/adapters.py", line 578, in send raise ReadTimeout(e, request=request)requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='www.bt.cn', port=443): Read timed out. (read timeout=60)[2023-07-29 14:59:48][DEBUG] - 更新成功.[2023-07-29 14:59:48][DEBUG] - 缓存更新失败: 软件列表格式不正确,已尝试修复,请重试![2023-07-29 14:59:48][DEBUG] - 开始更新消息json...[2023-07-29 14:59:49][DEBUG] - 更新消息json成功[2023-07-29 14:59:53][DEBUG] - Traceback (most recent call last): File "class/public.py", line 6279, in rsa_decrypt decrypted_data = cipher_private.decrypt(res, None) File "/www/server/panel/pyenv/lib/python3.7/site-packages/Crypto/Cipher/PKCS1_v1_5.py", line 174, in decrypt raise ValueError("Ciphertext with incorrect length (not %d bytes)" % k)ValueError: Ciphertext with incorrect length (not 128 bytes)[2023-07-29 15:01:00][DEBUG] - 更新成功.[2023-07-29 15:02:31][DEBUG] - Traceback (most recent call last): File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connection.py", line 175, 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 358, in connect conn = self._new_conn() File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connection.py", line 182, in _new_conn % (self.host, self.timeout),urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x7fa9ad0deb90>, 'Connection to www.bt.cn timed out. (connect timeout=6)')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 499, 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 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause))urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.bt.cn', port=443): Max retries exceeded with url: /api/panel/get_plugin_remarks (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7fa9ad0deb90>, 'Connection to www.bt.cn timed out. (connect 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 115, 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 59, in request return session.request(method=method, url=url, **kwargs) File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/adapters.py", line 553, in send raise ConnectTimeout(e, request=request)requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='www.bt.cn', port=443): Max retries exceeded with url: /api/panel/get_plugin_remarks (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7fa9ad0deb90>, 'Connection to www.bt.cn timed out. (connect timeout=6)'))[2023-07-29 15:03:09][DEBUG] - 更新成功.
|
|