An error occurred while the panel was running!
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0.2k-fips 26 Jan 2017'. See: https://github.com/urllib3/urllib3/issues/2168
REQUEST_DATE: 2023-10-26 20:16:31
PAN_VERSION: 6.8.31
OS_VERSION: CentOS 7.6.1810 x86_64(Py3.7.9)
REMOTE_ADDR: 154.16.248.245
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/118.0.0.0 Safari/537.36
Traceback (most recent call last):
File "class/public.py", line 3508, in get_attr
tmp_obj = import(key)
File "class/safe_warning/sw_docker_api.py", line 18, in
import public, os,requests
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/init.py", line 43, in
import urllib3
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/init.py", line 42, in
"urllib3 v2.0 only supports OpenSSL 1.1.1+, currently "
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0.2k-fips 26 Jan 2017'. See: https://github.com/urllib3/urllib3/issues/2168
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/BTPanel/init.py", line 1812, in publicObject
return run_exec().run(toObject, defs, get)
File "/www/server/panel/BTPanel/init.py", line 1764, 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_docker_api.py", line 18, in
import public, os,requests
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/init.py", line 43, in
import urllib3
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/init.py", line 42, in
"urllib3 v2.0 only supports OpenSSL 1.1.1+, currently "
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0.2k-fips 26 Jan 2017'. See: https://github.com/urllib3/urllib3/issues/2168
Sorry, an unexpected error occurred while the panel was running. Please try to resolve this error in the following order:
- Click the Fix button in the upper right corner of [Home], and log out of the panel and log in again.
- Still unresolved, please take a screenshot of this window and post on the forum for help, address:https://www.aapanel.com/forum/
I have clicked Repair in the upper right corner but this problem still occurs and I have updated the Python version
[root@C20231011014291 ~]# python --version
Python 3.8.13
[root@C20231011014291 ~]# scl enable rh-python38 bash
[root@C20231011014291 ~]# python -m pip show urllib3
Name: urllib3
Version: 2.0.7
Summary: HTTP library with thread-safe connection pooling, file post, and more.
Home-page: None
Author: None
Author-email: Andrey Petrov andrey.petrov@shazow.net
License: None
Location: /opt/rh/rh-python38/root/usr/local/lib/python3.8/site-packages
Requires:
Required-by:
[root@C20231011014291 ~]#
Please help me solve it, Thanks