hello i just purchased a lifetime aapanel pro then i want install nginx waf, so this just happened:
"An error occurred while the panel was running!
An error occurred while the panel was running: {"success":false,"res":"Sorry. That plugin install package not found.","nonce":1717225612}"
Traceback (most recent call last):
File "/www/server/panel/class/panelPlugin.py", line 2768, in __download_plugin
headers_total_size = int(download_res.headers['File-size'])
File "/www/server/panel/pyenv/lib/python3.12/site-packages/requests/structures.py", line 52, in __getitem__
return self._store[key.lower()][1]
~~~~~~~~~~~^^^^^^^^^^^^^
KeyError: 'file-size'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/class/panelPlugin.py", line 2771, in __download_plugin
return json.loads(download_res.text).json()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'dict' object has no attribute 'json'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2527, in publicObject
return run_exec().run(toObject, defs, get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/BTPanel/__init__.py", line 2474, in run
result = getattr(toObject, get.action)(get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class/panelPlugin.py", line 250, in install_plugin
result = self.install_sync(pluginInfo,get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class/panelPlugin.py", line 299, in install_sync
return self.__install_plugin(pluginInfo['name'], get.version)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class/panelPlugin.py", line 2465, in __install_plugin
filename = self.__download_plugin(upgrade_plugin_name, upgrade_version)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class/panelPlugin.py", line 2776, in __download_plugin
raise public.PanelError(download_res.text)
public.PanelError: An error occurred while the panel was running: {"success":false,"res":"Sorry. That plugin install package not found.","nonce":1717225612}