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

【已解决】终端 未知错误: Traceback (most recent call last)

发表在 Linux面板2020-9-26 21:36 [复制链接] 4 4619

本来好的突然出错,当时在切换 NGINX- tengine2.2 版本和安装谷歌云网盘
未知错误: 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')])
使用道具 举报 只看该作者 回复
发表于 2020-9-26 21:42:16 | 显示全部楼层
面板首页点修复面板 然后再看看正不正常
使用道具 举报 回复 支持 反对
发表于 2020-9-26 22:01:04 | 显示全部楼层
我试过了,还是不行,停止ssh重开,重启服务器也不行,
使用道具 举报 回复 支持 反对
发表于 2020-9-26 22:35:23 | 显示全部楼层
搞定了,卸载 paramiko 插件重新安装就可以了
cd /www/server/panel/pyenv/bin
./pip uninstall paramiko
./pip install paramiko
使用道具 举报 回复 支持 反对
发表于 2021-7-6 14:48:32 | 显示全部楼层
没有paramiko呀
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

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

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

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

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

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表