• Support
  • Broken WAF after the latest update

Hi, I have updated the panel to the latest version and error appeared in WAF at the websites tab.

REQUEST_DATE: 2025-03-30 21:15:09
 PAN_VERSION: 7.0.17
  OS_VERSION: Ubuntu 24.04.1 LTS x86_64(Py3.12.3)
 REMOTE_ADDR: 147.161.27.113
 REQUEST_URI: POST /v2/btwaf/get_site_config3.json%3F
REQUEST_FORM: {'p': '1', 'limit': '100', 'search': ''}
  USER_AGENT: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Traceback (most recent call last):
  File "/www/server/panel/BTPanel/__init__.py", line 5392, in panel_other_v2
    raise public.PanelError(data['msg'])
public.exceptions.PanelError: An error occurred while the panel was running: Traceback (most recent call last):
  File "/www/server/panel/plugin/btwaf/btwaf_main.py", line 5855, in get_site_config3
  File "/www/server/panel/plugin/btwaf/btwaf_main.py", line 5221, in __check_site
  File "/www/server/panel/plugin/btwaf/btwaf_main.py", line 5386, in __remove_log_file
  File "/www/server/panel/pyenv/lib/python3.12/json/__init__.py", line 339, 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

No idea how to fix this, I did not intervene with the code of WAF or something and I update everytime there is an update, therefore the previous version of my panel was the version before the current version (7.0.17
)

Any ideas?

Thanks for any help.

    Hi, can you give us your aapanel information? The server makes a snapshot backup first, if possible, please send it to kern@aapanel.com.
    It is recommended to fill in the following
    Post link:
    SSH IP address, account password and port:
    aapanel login link address and account password:
    Detailed problem description:

    No post link will not be able to know which user's information is, and the problem will not be processed

    aaP_sufursky

    Unfortunately, I would have not been able to send you the login info, there is way too much sensitive information. Fortunately, I tried to trigger the "Fix" button a few more times and somehow it fixed the error after 3 or more attempts. It's all good now. Thanks

    same here and i had delite my panel several times, and also now you dond aloud me unbount my code and at it again,, and you ask for money all time,,, i dont have any services online

      aaPanel_Kern after yesterday update aapanel websites cout work , i had delete my aapanel and install it again,, but now i cant login bicose i cant unbind my link, say many unbuinds,,, and i stack,, pls unbuind my aapanel link,,, you know who i am from my email,, you can find my account,,,

        Connect with us: 📨 Telegram 💬 Discord Email: support@aapanel.com