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]: IDEA插件1.1.0版本和服务端1.3.0版本无法对接 #13

Open
3 tasks done
gemmi opened this issue Mar 26, 2022 · 2 comments
Open
3 tasks done

[Bug]: IDEA插件1.1.0版本和服务端1.3.0版本无法对接 #13

gemmi opened this issue Mar 26, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@gemmi
Copy link

gemmi commented Mar 26, 2022

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

1.3.0

Installation Type

Official Docker Compose

Service Name

DongTai-WebAPI

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

1.打开maven工程,点击Run with IAST,提示配置云端,填入:
openapi: http://mydomain.com/openapi

web: http://mydomain.com/openapi/api/v1/agent/download?url=http://mydomain.com/openapi&language=java
http://mydomain.com/openapi/api/v1/agent/download
http://mydomain.com
都不行

Token: 从agent部署页面拷贝token粘贴,带/不带"Token"字符串都不行

2.报错:
请求未发送成功,请检查 DongTai IAST 配置云端 中的配置是否正确

3,控制台显示:
Error occurred during initialization of VM
agent library failed to init: instrument
Error opening zip file or JAR manifest missing : C:\xxx\xxx\Library\iastagent\agent.jar

Additional Information

参考官网插件页面,只提到一句"agentUrl, url: 若使用洞态 IAST Server 端 SaaS 版,此栏位将预设自动输入。自动部署, 需要 自行填入。" 不知道怎么填入,而且字段名也跟插件对不上,安装的插件三个字段是openapi、web、token,教程页面里是agenturl、url、token字段,不知如何对应的?

Logs

No response

@gemmi gemmi added the bug Something isn't working label Mar 26, 2022
@CieloHX
Copy link

CieloHX commented Mar 28, 2022

@gemmi

文档上的信息较久,已安排更新。

openapi = https://yourdomain.com/openapi
web = https://yourdomain.com
token = 如下图绿框内的,不带字符串

image

师傅请您检查一下配置,如果配置错误会下载不到 agent.jar 导致控制台显示无法找到或解压档案的错误信息。

@gemmi
Copy link
Author

gemmi commented Mar 29, 2022

@gemmi

文档上的信息较久,已安排更新。

openapi = https://yourdomain.com/openapi web = https://yourdomain.com token = 如下图绿框内的,不带字符串

image

师傅请您检查一下配置,如果配置错误会下载不到 agent.jar 导致控制台显示无法找到或解压档案的错误信息。

多谢,经过排查,是IDEA设置了proxy,将mydomain.com设置为例外解决问题。

@Bidaya0 Bidaya0 transferred this issue from HXSecurity/DongTai Sep 27, 2022
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