本帖最后由 huelse 于 2023-9-14 10:35 编辑
最新内测版在开启https访问时选择Let's Encrypt出现以下错误
AttributeError: 'NoneType' object has no attribute 'get'
REQUEST_DATE: 2023-09-14 10:31:59
PAN_VERSION: 8.0.26
OS_VERSION: Debian GNU/Linux 9 (stretch) x86_64(Py3.7.8)
REMOTE_ADDR: x.x.x.x
REQUEST_URI: POST /config?action=SetPanelSSL
REQUEST_FORM: {'cert_type': '2', 'email': 'abc@proton.me'}
USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.76
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2097, in publicObject
res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 2044, in run
result = getattr(toObject, get.action)(get)
File "class/config.py", line 967, in SetPanelSSL
sps = sp.set_lets(get)
File "/www/server/panel/class/setPanelLets.py", line 218, in set_lets
if domain_cert.get("issuer") not in ["R3", "Let's Encrypt"]:
AttributeError: 'NoneType' object has no attribute 'get' |