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

目前的这个版本,是不是有个bug?会时不时掉线。 #19

Open
Nannccyy opened this issue May 14, 2023 · 1 comment
Open

Comments

@Nannccyy
Copy link

具体详细是:
我在patr,rander和codesandbox都部署过
我在rander部署的是这个版本,在patr部署的是之前的旧版本,codesandbox部署的是Argo-Xray-JS-PaaS
在rander和patr部署的貌似会几个小时后就掉线,都没有使用哪吒,但是用Argo-Xray-JS-PaaS部署的就没有问题
是不是因为Argo-Xray-JS-PaaS里面的server.js里面的代码有:
//Argo保活
function keep_argo_alive() {
exec("pgrep -laf cloudflared", function (err, stdout, stderr) {
// 1.查后台系统进程,保持唤醒
if (stdout.includes("./cloudflared tunnel --url http://localhost:8080 --no-autoupdate")) {
console.log("Argo 正在运行");
}
else {
//Argo 未运行,命令行调起
exec(
"bash argo.sh 2>&1 &", function (err, stdout, stderr) {
if (err) {
console.log("保活-调起Argo-命令行执行错误:" + err);
}
else {
console.log("保活-调起Argo-命令行执行成功!");
}
}
);
}
});
}
setInterval(keep_argo_alive, 30 * 1000);
这是log截图,下午1点进了一下网站:
image
是不是因为Argo-X-Container-PaaS没有Argo保活?

@Nannccyy
Copy link
Author

并且就目前这个最新版本,在其他平台都能部署,唯独patr部署不了,提示:
An internal server error has occured. Please try again later
之前的版本能部署,但还是像上面说的,会几个小时后炸掉。

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

1 participant