HXSecurity / DongTai

Dongtai IAST is an open-source Interactive Application Security Testing (IAST) tool that enables real-time detection of common vulnerabilities in Java applications and third-party components through passive instrumentation. It is particularly suitable for use in the testing phase of the development pipeline.
https://dongtai.io
Apache License 2.0
1.24k stars 145 forks source link

[Bug]: 【网咯连接问题】dtctl 在 1.16.0的 版本下安装,docker 并不能pull ,提示网络超时 #1938

Open aaqiqi1 opened 5 months ago

aaqiqi1 commented 5 months ago

Preflight Checklist

Version

1.16.0

Installation Type

Official Docker Compose

Service Name

Doc(DongTai-Doc), Docker(DongTai-Base-Image)

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

问题: 我 运行./dtctl install -v1.16.0 并不能安装,安装1.8.0也是一样的,截图如下: image

如果不指定版本就直接回退出 image

配置: 我的ip是可以连接外网的 image

docker也是可以正常访问的 image

Additional Information

No response

Logs

No response

totoro52 commented 4 months ago

我也遇到了类似的问题,目前docker hub国内已经废了,我给docker配置了代理源,他依旧走registry.hub.docker.com curl: (28) Failed to connect to registry.hub.docker.com port 443 after 133623 ms: Connection timed out 看了下脚本,是代码写死了 https://github.com/HXSecurity/DongTai/blob/7e20dc51412cc253f6cf0aa46fd5fb1cf4917f97/deploy/docker-compose/dtctl#L180

Code-Agitator commented 2 months ago

https://github.com/HXSecurity/DongTai/blob/7e20dc51412cc253f6cf0aa46fd5fb1cf4917f97/deploy/docker-compose/dtctl#L14 0 是registry.hub.docker.com 1是 registry.cn-beijing.aliyuncs.com/huoxian_pub

byXewl commented 2 months ago

解决了吗哥,免费版token怎么申请哦?

aaqiqi1 commented 2 months ago

解决了吗哥,免费版token怎么申请哦?

哪个地方的token呢,我记得方式没有用token

byXewl commented 2 months ago

解决了吗哥,免费版token怎么申请哦?

哪个地方的token呢,我记得方式没有用token

那这个网络问题怎么解决的呢?

aaqiqi1 commented 2 months ago

解决了吗哥,免费版token怎么申请哦?

哪个地方的token呢,我记得方式没有用token

那这个网络问题怎么解决的呢?

楼上大佬的这个方法可以解决 14 REGISRTY=1

byXewl commented 2 months ago

解决了吗哥,免费版token怎么申请哦?

哪个地方的token呢,我记得方式没有用token

就是第一次登录后台后,顶部会提示:未配置ScaToken: 点我配置,这个sca-token。