宝塔面板操作日志提示未知错误: Traceback (most recent call last) 的解决方法

南国老符 南国老符 最后更新于:2022-03-10 浏览:3924

我在本地用windows系统装宝塔,提示未知错误: Traceback (most recent call last) ,类似:

未知错误: Traceback (most recent call last): File "class/flask_sockets.py", line 30, in __call__ handler, values = adapter.match() File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match raise NotFound() werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "class/ssh_terminal.py", line 110, in connect pkey = paramiko.RSAKey.from_private_key(p_file) File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/pkey.py", line 256, in from_private_key key = cls(file_obj=file_obj, password=password) File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/rsakey.py", line 52, in __init__ self._from_private_key(file_obj, password) File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/rsakey.py", line 180, in _from_private_key self._decode_key(data) File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/rsakey.py", line 202, in _decode_key ).private_key(default_backend()) File "/www/server/panel/pyenv/lib/python3.7/site-packages/cryptography/hazmat/primitives/asymmetric/rsa.py", line 311, in private_key return backend.load_rsa_private_numbers(self) File "/www/server/panel/pyenv/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 630, in load_rsa_private_numbers return _RSAPrivateKey(self, rsa_cdata, evp_pkey) File "/www/server/panel/pyenv/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 320, in __init__ raise ValueError("Invalid private key", errors) ValueError: ('Invalid private key', [_OpenSSLErrorWithText(code=67764350, lib=4, func=160, reason=126, reason_text=b'error:040A007E:rsa routines:RSA_check_key_ex:iqmp not inverse of q')])


其实只要卸载 paramiko插件重新安装就可以了

cd /www/server/panel/pyenv/bin
./pip uninstall paramiko
./pip install paramiko


如果是windows宝塔面板,先找到命令行shell




重新安装后,宝塔未知错误: Traceback (most recent call last) 消失,修复完成!

此文来自网络,作者不详


点赞 (0)

收藏 (0)
转载请务必注明: 来源:《建站管家》https://www.df81.com/news/257.html

本站部分信息来源网络,如有侵权,请联系QQ:1062129401删除。

上一篇: thinkphp在nginx下的伪静态和重定向示例

下一篇: thinkphp6打印输出sql语句的3种方法

请先登录后,再发表评论 ~ ~
发表评论
评论 (0)

发表帖子
广告位招租( ¥5 / 天 )
点击咨询
最新帖子

南国老符
2025-05-26 16:54
南国老符
2024-09-29 10:29
南国老符
2023-12-15 21:41
广告位招租( ¥5 / 天 )
点击咨询
最近评论

U
user1379
回复:版本号多少?
U
user1379
回复:新版本修复了,下载新版本即可
U
user1379
U
user1304
回复:默认没有这个功能,你可以自行二次开发后期可能会考虑在站群版本上加入此功能及商城功能
Y
yuanis90
回复:后台->语言->全局管理->模型管理->编辑->启用关键词内链即可
Y
yuanis90
回复:后台已经启用了,但是前台产品说明的关分键词还是没有自动链接到,
购买VIP
购买授权
余额充值
发表帖子
客服微信