MoonBox icon indicating copy to clipboard operation
MoonBox copied to clipboard

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

Open zhourongfu opened this issue 10 months ago • 3 comments

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 avatar Apr 26 '24 02:04 zhourongfu

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

zhourongfu avatar Apr 26 '24 02:04 zhourongfu

需要怎么解决

zhourongfu avatar Apr 26 '24 02:04 zhourongfu

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

DrYaoHongBin avatar May 27 '24 03:05 DrYaoHongBin