Replies: 1 comment
-
在add agent 页面copy的curl下载链接 加上 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
把每个服务容器化单独部署的,启动后,add agent显示下载的agent只有1k大小,正常应该3000。
openapi服务日志:
INFO 2022-03-11 07:06:25,317 [report_handler_factory.wrapper:40] Registration report type 81 handler ErrorLogHandler INFO 2022-03-11 07:06:25,330 [report_handler_factory.wrapper:40] Registration report type 1 handler HeartBeatHandler INFO 2022-03-11 07:06:25,333 [report_handler_factory.wrapper:40] Registration report type 33 handler NormalVulnHandler INFO 2022-03-11 07:06:25,345 [report_handler_factory.wrapper:40] Registration report type 36 handler SaasMethodPoolHandler INFO 2022-03-11 07:06:25,359 [report_handler_factory.wrapper:40] Registration report type 17 handler ScaHandler INFO 2022-03-11 07:06:25,359 [report_handler_factory.wrapper:40] Registration report type 18 handler ScaBulkHandler INFO 2022-03-11 07:06:25,361 [report_handler_factory.wrapper:40] Registration report type 97 handler ApiRouteHandler INFO 2022-03-11 07:06:25,363 [report_handler_factory.wrapper:40] Registration report type 37 handler HardEncodeVulHandler ERROR 2022-03-11 07:06:25,683 [utils.download_file_to_path:55] oss download failure, reason: {'status': 403, 'x-oss-request-id': '622AF4F15423BA33315791C2', 'details': {'Code': 'AccessDenied', 'Message': 'You have no right to access this object because of bucket acl.', 'RequestId': '622AF4F15423BA33315791C2', 'HostId': 'dongtai.oss-cn-beijing.aliyuncs.com'}} [pid: 10|app: 0|req: 1/1] 172.17.0.7 () {34 vars in 628 bytes} [Fri Mar 11 07:06:24 2022] GET /api/v1/agent/download?url=http://10.65.102.98/openapi&language=java&projectName=Demo%20Project => generated 94 bytes in 1103 msecs (HTTP/1.1 200) 6 headers in 184 bytes (1 switches on core 0) adding: iast.properties(in = 471) (out= 272)(deflated 42%) [pid: 10|app: 0|req: 2/2] 172.17.0.7 () {34 vars in 628 bytes} [Fri Mar 11 07:10:44 2022] GET /api/v1/agent/download?url=http://10.65.102.98/openapi&language=java&projectName=Demo%20Project => generated 424 bytes in 130 msecs via sendfile() (HTTP/1.1 200) 8 headers in 294 bytes (0 switches on core 1) adding: iast.properties(in = 471) (out= 272)(deflated 42%) [pid: 10|app: 0|req: 3/3] 172.17.0.7 () {34 vars in 628 bytes} [Fri Mar 11 07:16:38 2022] GET /api/v1/agent/download?url=http://10.65.102.98/openapi&language=java&projectName=Demo%20Project => generated 424 bytes in 142 msecs via sendfile() (HTTP/1.1 200) 8 headers in 294 bytes (0 switches on core 2)
webapi服务日志:
The right value for XFF_TRUSTED_PROXY_DEPTH for this request is 1 and 20 is configured. [pid: 9|app: 0|req: 27/71] 172.17.0.8 () {44 vars in 1067 bytes} [Fri Mar 11 15:10:44 2022] GET /api/v1/agent/download?url=http://10.65.102.98/openapi&language=java => generated 393 bytes in 149 msecs (HTTP/1.0 200) 12 headers in 515 bytes (2 switches on core 6) Not running behind as many reverse proxies as expected.
有遇到类似的问题么
Beta Was this translation helpful? Give feedback.
All reactions