MoonBox
MoonBox copied to clipboard
docker 部署后远程连接java应用运行报错
运行报错提示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应用主机执行吗?
这导致agent 状态一直不能成功,处于离线
需要怎么解决
- 部署需要修改moonbox.server.url这个参数,远程应用会通过这个地址下载agent
- 看报错信息像是远程java应用下载agent失败了,导致解压失败,可以确认远程应用是否下载agetn成功 agent下发逻辑 com.vivo.internet.moonbox.service.console.AgentDistributionService#startAgent