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

sandbox是否支持arm版本的?目前在测试的时候,发现arm环境部署的话,调用服务会挂掉 #1902

Closed
6 of 7 tasks
125793014 opened this issue Jul 1, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@125793014
Copy link

例行检查

  • 我已确认目前没有类似 issue
  • 我已完整查看过项目 README,以及项目文档
  • 我使用了自己的 key,并确认我的 key 是可正常使用的
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

你的版本

  • 公有云版本
  • 私有部署版本, 具体版本号: fastgpt:v4.8.5、fastgpt-sandbox:v4.8.3 arm机器

问题描述, 日志截图
error => socket hang up

复现步骤
debug调试模式

预期结果

相关截图

@125793014 125793014 added the bug Something isn't working label Jul 1, 2024
@125793014
Copy link
Author

image

@c121914yu
Copy link
Collaborator

github 的镜像支持

@125793014
Copy link
Author

github 的镜像支持

github的镜像也试过了 存在同样的问题。这个问题出现在:debug调试模式,执行工具写的函数代码的时候。

1 similar comment
@125793014
Copy link
Author

github 的镜像支持

github的镜像也试过了 存在同样的问题。这个问题出现在:debug调试模式,执行工具写的函数代码的时候。

@c121914yu
Copy link
Collaborator

可以参考 isolate vm 官方,修改 dockerfile,重新打个包试试
CMD ["node", "--no-node-snapshot", "projects/sandbox/dist/main.js"]

不确定是否有关。

@125793014
Copy link
Author

可以参考 isolate vm 官方,修改 dockerfile,重新打个包试试 CMD ["node", "--no-node-snapshot", "projects/sandbox/dist/main.js"]

不确定是否有关。

按照这个重新打包验证了,问题解决了。

@c121914yu
Copy link
Collaborator

可以参考 isolate vm 官方,修改 dockerfile,重新打个包试试 CMD ["node", "--no-node-snapshot", "projects/sandbox/dist/main.js"]
不确定是否有关。

按照这个重新打包验证了,问题解决了。

ok,我加到 dockerfile 里了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants