vivo / MoonBox

月光宝盒:无侵入的流量录制与回放平台 A server-side traffic capture and replay platform with noninvasive
Apache License 2.0
1.17k stars 193 forks source link

docker 部署后远程连接java应用运行报错 #76

Open zhourongfu opened 4 months ago

zhourongfu commented 4 months ago

image 运行报错提示0 tar (child): sandboxDownLoad.tar: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now

为什么这个执行curl 一直是127.0.0.1:8080 这个执行命令不应该是在远程java应用主机执行吗? image

zhourongfu commented 4 months ago

这导致agent 状态一直不能成功,处于离线

zhourongfu commented 4 months ago

需要怎么解决

DrYaoHongBin commented 3 months ago
  1. 部署需要修改moonbox.server.url这个参数,远程应用会通过这个地址下载agent
  2. 看报错信息像是远程java应用下载agent失败了,导致解压失败,可以确认远程应用是否下载agetn成功 agent下发逻辑 com.vivo.internet.moonbox.service.console.AgentDistributionService#startAgent