REQUEST_DATE: 2024-09-29 15:58:18
PAN_VERSION: 8.0.33
OS_VERSION: CentOS 7.9.2009 x86_64(Py3.7.9)
REMOTE_ADDR: 11.8.4.113
REQUEST_URI: POST /config?action=get_config
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2172, in publicObject
res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 2119, in run
result = getattr(toObject, get.action)(get)
File "class/config.py", line 1522, in get_config
p_token = self.get_token(None)
File "class/config.py", line 1564, in get_token
return panelApi.panelApi().get_token(get)
File "/www/server/panel/class/panelApi.py", line 16, in get_token
data = self.get_api_config()
File "/www/server/panel/class/panelApi.py", line 66, in get_api_config
data = json.loads(tmp)
File "/www/server/panel/pyenv/lib/python3.7/json/__init__.py", line 341, in loads
raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not bool
|
|