REQUEST_DATE: 2024-02-13 13:08:05
PAN_VERSION: 6.8.33
OS_VERSION: Ubuntu 16.04.7 LTS x86_64(Py3.7.8)
REMOTE_ADDR: 88.251.231.32
REQUEST_URI: POST /warning?action=get_list
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 OPR/106.0.0.0 (Edition std-1)
Traceback (most recent call last):
File "class/public.py", line 3508, in get_attr
tmp_obj = __import__(key)
File "class/safe_warning/sw_site_ssl_expire.py", line 15, in
import os,sys,re,public,OpenSSL,time
File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/__init__.py", line 8, in
from OpenSSL import crypto, SSL
File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/crypto.py", line 1570, in
class X509StoreFlags(object):
File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/crypto.py", line 1589, in X509StoreFlags
NOTIFY_POLICY = _lib.X509_V_FLAG_NOTIFY_POLICY
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 1814, in publicObject
return run_exec().run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 1766, in run
result = getattr(toObject,get.action)(get)
File "class/panelWarning.py", line 36, in get_list
if p[m_name]._level == 0: continue
File "class/public.py", line 3517, in __getitem__
return self.get_attr(key)
File "class/public.py", line 3513, in get_attr
raise Exception(get_error_info())
Exception: Traceback (most recent call last):
File "class/public.py", line 3508, in get_attr
tmp_obj = __import__(key)
File "class/safe_warning/sw_site_ssl_expire.py", line 15, in
import os,sys,re,public,OpenSSL,time
File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/__init__.py", line 8, in
from OpenSSL import crypto, SSL
File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/crypto.py", line 1570, in
class X509StoreFlags(object):
File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/crypto.py", line 1589, in X509StoreFlags
NOTIFY_POLICY = _lib.X509_V_FLAG_NOTIFY_POLICY
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY'
I have used 16 to fix the panel but I was unsuccessful. What can I do?