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

【待反馈】ssl续签报错

发表在 Linux面板2020-8-8 09:51 [复制链接] 2 825

解决方法我用了,但是好像还是没什么用
echo 'curl' /www/server/panel/data/http_type.pl
报错:
Traceback (most recent call last): File "/www/server/panel/class/http_requests.py", line 444, in get return p.get(url,timeout,get_headers(headers),verify,get_stype(s_type)) File "/www/server/panel/class/http_requests.py", line 30, in get result = self._get_py2(url,timeout,headers,verify) File "/www/server/panel/class/http_requests.py", line 155, in _get_py2 r_response = urllib2.urlopen(req,timeout = timeout,context = context) File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen return opener.open(url, data, timeout) File "/usr/lib64/python2.7/urllib2.py", line 431, in open response = self._open(req, data) File "/usr/lib64/python2.7/urllib2.py", line 449, in _open '_open', req) File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain result = func(*args) File "/usr/lib64/python2.7/urllib2.py", line 1258, in https_open context=self._context, check_hostname=self._check_hostname) File "/usr/lib64/python2.7/urllib2.py", line 1211, in do_open h.request(req.get_method(), req.get_selector(), req.data, headers) File "/usr/lib64/python2.7/httplib.py", line 1056, in request self._send_request(method, url, body, headers) File "/usr/lib64/python2.7/httplib.py", line 1090, in _send_request self.endheaders(body) File "/usr/lib64/python2.7/httplib.py", line 1052, in endheaders self._send_output(message_body) File "/usr/lib64/python2.7/httplib.py", line 890, in _send_output self.send(msg) File "/usr/lib64/python2.7/httplib.py", line 852, in send self.connect() File "/usr/lib64/python2.7/httplib.py", line 1275, in connect server_hostname=sni_hostname) File "/usr/lib64/python2.7/ssl.py", line 348, in wrap_socket _context=self) TypeError: __init__() got an unexpected keyword argument 'server_hostname'


使用道具 举报 只看该作者 回复
发表于 2020-8-8 11:15:32 | 显示全部楼层
  1. curl https://download.bt.cn/install/update_panel.sh|bash
复制代码
您好,先做个快照或者全备,然后执行下上面的命令升级下,重新申请ssl
使用道具 举报 回复 支持 反对
发表于 2020-8-8 12:26:53 | 显示全部楼层
大炮运维V587 发表于 2020-8-8 11:15
您好,先做个快照或者全备,然后执行下上面的命令升级下,重新申请ssl

已经解决了,感谢
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

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

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

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

点击联系技术免费分析

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

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