ARL icon indicating copy to clipboard operation
ARL copied to clipboard

添加启动任务时报 系统异常 (系统异常 error:must be str, not float)错误,导致无法运行

Open Hsj98 opened this issue 2 years ago • 1 comments

采集的日志, web_1 | [2022-04-10 19:49:25] [ERROR] [MainThread] [task.py:106] must be str, not float web_1 | Traceback (most recent call last): web_1 | File "/code/app/routes/task.py", line 104, in post web_1 | task_data_list = submit_task_task(target=target, name=name, options=args) web_1 | File "/code/app/helpers/task.py", line 151, in submit_task_task web_1 | ip_list, domain_list = get_ip_domain_list(target) web_1 | File "/code/app/helpers/task.py", line 33, in get_ip_domain_list web_1 | elif utils.domain.is_forbidden_domain(item): web_1 | File "/code/app/utils/domain.py", line 45, in is_forbidden_domain web_1 | if domain.endswith("." + f_domain): web_1 | TypeError: must be str, not float

请问如何解决

Hsj98 avatar Apr 10 '22 11:04 Hsj98

改了配置文件里的禁止域名配置项吧。

1c3z avatar Apr 12 '22 03:04 1c3z