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

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

Open
zhourongfu opened this issue Apr 26, 2024 · 3 comments
Open

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

zhourongfu opened this issue Apr 26, 2024 · 3 comments

Comments

@zhourongfu
Copy link

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
Copy link
Author

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

@zhourongfu
Copy link
Author

需要怎么解决

@DrYaoHongBin
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants