Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: agent无法拉取规则报错 20111 load policy failed #1907

Open
3 tasks done
qqgirllianxin opened this issue Nov 14, 2023 · 1 comment
Open
3 tasks done

[Bug]: agent无法拉取规则报错 20111 load policy failed #1907

qqgirllianxin opened this issue Nov 14, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@qqgirllianxin
Copy link

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for an issue that matches the one I want to file, without success.
  • I am not looking for support or already pursued the available support channels without success.

Version

v1.11.0

Installation Type

Official Docker Compose

Service Name

DongTai-agent-java

Describe the details of the bug and the steps to reproduce it

环境如下:
OS: centos 7
Agent-java
agent安装成功,但始终抓不到任何包,从agent的日志中看到如下报错,
http client request http://ServerIP/openapi/api/v1/profilesv2 response status code invalid: 504
[io.dongtai.iast.agent][error][20111] load policy failed,Exception:
io.dongtai.iast.core.handler.hookpoint.models.policy.PolicyException:policy config from server is invalid
.......

服务器端的报错如下:

Error: [tasks.search_vul_from_method_pool:237] 漏洞检测出错,方法池 *********。错误原因:‘NoneType’ object has no attribute 'agent_id'

接下来需要如何处理呢

Additional Information

环境如下:
OS: centos 7
Agent-java
agent安装成功,但始终抓不到任何包,从agent的日志中看到如下报错,
http client request http://ServerIP/openapi/api/v1/profilesv2 response status code invalid: 504
[io.dongtai.iast.agent][error][20111] load policy failed,Exception:
io.dongtai.iast.core.handler.hookpoint.models.policy.PolicyException:policy config from server is invalid
.......

服务器端的报错如下:

Error: [tasks.search_vul_from_method_pool:237] 漏洞检测出错,方法池 *********。错误原因:‘NoneType’ object has no attribute 'agent_id'

接下来需要如何处理呢

Logs

环境如下:
OS: centos 7
Agent-java
agent安装成功,但始终抓不到任何包,从agent的日志中看到如下报错,
http client request http://ServerIP/openapi/api/v1/profilesv2 response status code invalid: 504
[io.dongtai.iast.agent][error][20111] load policy failed,Exception:
io.dongtai.iast.core.handler.hookpoint.models.policy.PolicyException:policy config from server is invalid
.......

服务器端的报错如下:

Error: [tasks.search_vul_from_method_pool:237] 漏洞检测出错,方法池  *********。错误原因:‘NoneType’ object has no attribute 'agent_id'

接下来需要如何处理呢
@qqgirllianxin qqgirllianxin added the bug Something isn't working label Nov 14, 2023
@allen07sec
Copy link
Member

Please check if the server status is normal and if it can be accessed through the web page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants