Traceback (most recent call last):
File "class/flask_sockets.py", line 30, in __call__
handler, values = adapter.match()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match
raise NotFound()
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "class/panelPlugin.py", line 1965, in a
return eval(execStr)
File "", line 1, in
File "plugin/fail2ban/fail2ban_main.py", line 521, in set_anti
return self.set_cc_anti(values)
File "plugin/fail2ban/fail2ban_main.py", line 455, in set_cc_anti
self._check_conf_exist(conf, values["mode"])
File "plugin/fail2ban/fail2ban_main.py", line 184, in _check_conf_exist
if '[{}]'.format(mode) in jail_conf:
TypeError: argument of type 'NoneType' is not iterable
Aliyun Linux release6 15.01 x86_64(Py3.7.8) 怎么办? |